|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use BasicBlock | |
---|---|
cfg | |
opt |
Uses of BasicBlock in cfg |
---|
Fields in cfg declared as BasicBlock | |
---|---|
protected BasicBlock |
IfInst.falseTarg
Target block when condition is false (fall through target) |
protected BasicBlock |
IfInst.trueTarg
Target block when condition is true (jump target) |
Methods in cfg that return BasicBlock | |
---|---|
static BasicBlock |
BasicBlock.getBlock(int id)
Returns basic block by ID. |
BasicBlock |
IfInst.getFalseTarg()
Get the false target block |
BasicBlock |
BasicBlock.getImmediateDominator()
Returns the immediate dominator of the block. |
BasicBlock |
BasicBlock.getNthInEdge(int n)
Get nth incoming edge (basic block) |
BasicBlock |
BasicBlock.getNthOutEdge(int n)
Get nth outgoing edge (basic block) |
BasicBlock |
IfInst.getTrueTarg()
Get the true target block |
Methods in cfg that return types with arguments of type BasicBlock | |
---|---|
java.util.Set<BasicBlock> |
BasicBlock.getDominanceFrontier()
Returns the set of BasicBlocks in the dominance frontier. |
Methods in cfg with parameters of type BasicBlock | |
---|---|
void |
BasicBlock.addInEdge(BasicBlock b)
Add an incoming edge from another control flow block Also adds outgoing edge from parameter to this block |
void |
BasicBlock.addOutEdge(BasicBlock b)
Add an outgoing edge to another control flow block Also adds incoming edge from this block to parameter |
boolean |
BasicBlock.containsInEdge(BasicBlock bb)
Does this block contain another block as an in edge? |
boolean |
BasicBlock.containsOutEdge(BasicBlock bb)
Does this block contain another block as an out edge? |
void |
BasicBlock.removeInEdge(BasicBlock b)
Remove an incoming edge to another control flow block Also removes outgoing edge from parameter to this block |
void |
BasicBlock.removeOutEdge(BasicBlock b)
Remove an outgoing edge to another control flow block Also removes incoming edge from parameter to this block |
void |
BasicBlock.replaceInEdge(BasicBlock remove,
BasicBlock add)
Replaces the incoming edge with an edge to the new control flock block. |
void |
BasicBlock.replaceOutEdge(BasicBlock remove,
BasicBlock add)
Replaces the outgoing edge with an edge to the new control flock block. |
void |
IfInst.setFalseTarg(BasicBlock falseTarg)
Get the false target block |
void |
BasicBlock.setImmediateDominator(BasicBlock idom)
Sets the immediate dominator of the block. |
void |
IfInst.setTrueTarg(BasicBlock trueTarg)
Set the true target block |
Method parameters in cfg with type arguments of type BasicBlock | |
---|---|
void |
BasicBlock.setDominanceFrontier(java.util.Set<BasicBlock> df)
Sets the set of BasicBlocks in the dominance frontier. |
Constructors in cfg with parameters of type BasicBlock | |
---|---|
IfInst(int type,
java.lang.String leftSource,
java.lang.String rightSource,
BasicBlock trueTarg,
BasicBlock falseTarg)
IfInst constructor |
Uses of BasicBlock in opt |
---|
Methods in opt that return BasicBlock | |
---|---|
BasicBlock |
Optimization.transform()
Perform actual optimization on CFG. |
Methods in opt with parameters of type BasicBlock | |
---|---|
static java.util.Set<java.lang.String> |
Optimizer.getFieldsUsedInCFG(BasicBlock entryBB)
Returns all field vars written to or read from in the CFG starting at entryBB. |
void |
Optimization.setEntryBlock(BasicBlock block)
Sets the current root of a CFG. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |