public class CountedLoopInfo extends Object
Modifier and Type | Field and Description |
---|---|
private AbstractBeginNode |
body |
private ValueNode |
end |
private InductionVariable |
iv |
private LoopEx |
loop |
private boolean |
oneOff |
Constructor and Description |
---|
CountedLoopInfo(LoopEx loop,
InductionVariable iv,
ValueNode end,
boolean oneOff,
AbstractBeginNode body) |
Modifier and Type | Method and Description |
---|---|
long |
constantExactTripCount() |
long |
constantMaxTripCount() |
GuardingNode |
createOverFlowGuard() |
ValueNode |
exactTripCountNode() |
AbstractBeginNode |
getBody() |
InductionVariable |
getCounter() |
InductionVariable.Direction |
getDirection() |
ValueNode |
getLimit() |
GuardingNode |
getOverFlowGuard() |
IntegerStamp |
getStamp() |
ValueNode |
getStart() |
boolean |
isConstantExactTripCount() |
boolean |
isConstantMaxTripCount() |
boolean |
isExactTripCount() |
boolean |
isLimitIncluded() |
ValueNode |
maxTripCountNode() |
ValueNode |
maxTripCountNode(boolean assumePositive) |
String |
toString() |
private InductionVariable iv
private boolean oneOff
private AbstractBeginNode body
CountedLoopInfo(LoopEx loop, InductionVariable iv, ValueNode end, boolean oneOff, AbstractBeginNode body)
public ValueNode maxTripCountNode()
public ValueNode maxTripCountNode(boolean assumePositive)
public boolean isConstantMaxTripCount()
public long constantMaxTripCount()
public boolean isExactTripCount()
public ValueNode exactTripCountNode()
public boolean isConstantExactTripCount()
public long constantExactTripCount()
public boolean isLimitIncluded()
public AbstractBeginNode getBody()
public InductionVariable.Direction getDirection()
public InductionVariable getCounter()
public GuardingNode getOverFlowGuard()
public GuardingNode createOverFlowGuard()
public IntegerStamp getStamp()