class DominatorCell extends DF_AbstractCell
Modifier and Type | Field and Description |
---|---|
(package private) BasicBlock |
block
The basic block corresponding to this lattice cell.
|
private static int |
CAPACITY
A guess of the upper bound on the number of out edges for most basic
blocks.
|
(package private) BitVector |
dominators
Bit set representation of the dominators for this basic block.
|
(package private) IR |
ir
Pointer to the governing IR.
|
Constructor and Description |
---|
DominatorCell(BasicBlock bb,
IR ir)
Make a bit set for a basic block
|
Modifier and Type | Method and Description |
---|---|
void |
addSingleBlock(BasicBlock bb)
Include a single basic block in this set.
|
void |
setTOP(IR ir)
Include all basic blocks in this set.
|
String |
toString()
Return a String representation of this cell.
|
final BasicBlock block
BitVector dominators
private static final int CAPACITY
DominatorCell(BasicBlock bb, IR ir)
bb
- the basic blockir
- the governing IRpublic String toString()
toString
in interface DF_LatticeCell
toString
in class Object
public void addSingleBlock(BasicBlock bb)
bb
- the basic block