public abstract class InductionVariable extends Object
Modifier and Type | Class and Description |
---|---|
static class |
InductionVariable.Direction |
Constructor and Description |
---|
InductionVariable(LoopEx loop) |
Modifier and Type | Method and Description |
---|---|
abstract long |
constantExtremum() |
abstract long |
constantInit() |
abstract long |
constantStride() |
abstract void |
deleteUnusedNodes()
Deletes any nodes created within the scope of this object that have no usages.
|
abstract InductionVariable.Direction |
direction() |
abstract ValueNode |
exitValueNode()
Returns the exit value of the induction variable.
|
ValueNode |
extremumNode()
Returns the extremum value of the induction variable.
|
abstract ValueNode |
extremumNode(boolean assumePositiveTripCount,
Stamp stamp) |
LoopEx |
getLoop() |
abstract StructuredGraph |
graph() |
abstract ValueNode |
initNode()
Returns the node that gives the initial value of this induction variable.
|
abstract boolean |
isConstantExtremum() |
abstract boolean |
isConstantInit() |
abstract boolean |
isConstantStride() |
abstract ValueNode |
strideNode()
Returns the stride of the induction variable.
|
abstract ValueNode |
valueNode()
Returns the value node that is described by this induction variable.
|
public InductionVariable(LoopEx loop)
public abstract StructuredGraph graph()
public abstract InductionVariable.Direction direction()
public abstract ValueNode valueNode()
public abstract ValueNode initNode()
public abstract ValueNode strideNode()
public abstract boolean isConstantInit()
public abstract boolean isConstantStride()
public abstract long constantInit()
public abstract long constantStride()
public ValueNode extremumNode()
CountedLoopInfo.isExactTripCount()
returns false for the containing loop.public abstract ValueNode extremumNode(boolean assumePositiveTripCount, Stamp stamp)
public abstract boolean isConstantExtremum()
public abstract long constantExtremum()
public abstract ValueNode exitValueNode()
public abstract void deleteUnusedNodes()