Modifier and Type | Field and Description |
---|---|
private ControlFlowGraph |
cfg |
private Map<LoopBeginNode,LoopEx> |
loopBeginToEx |
private Map<Loop<Block>,LoopEx> |
loopToEx |
Constructor and Description |
---|
LoopsData(StructuredGraph graph) |
Modifier and Type | Method and Description |
---|---|
Collection<LoopEx> |
countedLoops() |
void |
deleteUnusedNodes()
Deletes any nodes created within the scope of this object that have no usages.
|
void |
detectedCountedLoops() |
ControlFlowGraph |
getCFG() |
InductionVariable |
getInductionVariable(ValueNode value) |
List<LoopEx> |
innerFirst() |
LoopEx |
loop(Loop<?> loop) |
LoopEx |
loop(LoopBeginNode loopBegin) |
Collection<LoopEx> |
loops() |
List<LoopEx> |
outerFirst() |
private Map<LoopBeginNode,LoopEx> loopBeginToEx
private ControlFlowGraph cfg
public LoopsData(StructuredGraph graph)
public LoopEx loop(LoopBeginNode loopBegin)
public Collection<LoopEx> loops()
public List<LoopEx> outerFirst()
public List<LoopEx> innerFirst()
public Collection<LoopEx> countedLoops()
public void detectedCountedLoops()
public ControlFlowGraph getCFG()
public InductionVariable getInductionVariable(ValueNode value)
public void deleteUnusedNodes()