public class DominatorInfo extends Object
Modifier and Type | Field and Description |
---|---|
(package private) BitVector |
dominators
A BitVector which represents the dominators of the basic block
|
(package private) BasicBlock |
idom
The basic block's immediate dominator.
|
Constructor and Description |
---|
DominatorInfo(BitVector dominators)
Make a structure with a given bit set holding the dominators
of the basic block.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isDominatedBy(BasicBlock bb)
Is the basic block represented by this structure dominated by another
basic block?
|
final BitVector dominators
BasicBlock idom
DominatorInfo(BitVector dominators)
dominators
- the bit setpublic boolean isDominatedBy(BasicBlock bb)
bb
- the basic block in question