|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jikesrvm.compilers.opt.controlflow.DominatorInfo
public class DominatorInfo
DominatorInfo.java This structure holds dominator-related information for a basic block.
| Field Summary | |
|---|---|
(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 Summary | |
|---|---|
DominatorInfo(BitVector dominators)
Make a structure with a given bit set holding the dominators of the basic block. |
|
| Method Summary | |
|---|---|
static BasicBlock |
idom(BasicBlock bb)
Return the immediate dominator of a basic block. |
boolean |
isDominatedBy(BasicBlock bb)
Is the basic block represented by this structure dominated by another basic block? |
(package private) static boolean |
isDominatedBy(BasicBlock slave,
BasicBlock master)
Is one basic block (the slave) dominated by another (the master)? |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
final BitVector dominators
BasicBlock idom
| Constructor Detail |
|---|
DominatorInfo(BitVector dominators)
dominators - the bit set| Method Detail |
|---|
public static BasicBlock idom(BasicBlock bb)
Note: the dominator info must be calculated before calling this routine
bb - the basic block in question
public boolean isDominatedBy(BasicBlock bb)
bb - the basic block in question
static boolean isDominatedBy(BasicBlock slave,
BasicBlock master)
slave - the potential dominateemaster - the potential dominator
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||