|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectharpoon.Analysis.LowQuad.Loop.LoopAnalysis.ForLoopInfo
public class LoopAnalysis.ForLoopInfo
ForLoopInfo
encapsulated information on a for loop.
Field Summary | |
---|---|
static int |
GT
> case |
static int |
GTE
>= case |
static int |
LT
< case |
static int |
LTE
<= case |
static int |
NEQ
! |
Method Summary | |
---|---|
Temp |
increment()
increment gives the temp with the loop invariant
value to increment the induction variable by. |
Temp |
indFinal()
indFinal gives the final value of the induction
variable. |
Temp |
indInitial()
indInitial gives the initial value of the induction
variable. |
Temp |
induction()
induction gives the temp with the induction variable
of the for loop. |
CJMP |
loopExit()
loopExit gives the CJMP that is the
first exit of the loop. |
OPER |
testOPER()
testOPER gives the OPER containing the
for loop test condition. |
int |
testtype()
testtype tells the type of test used. |
String |
toString()
toString returns a string representation of the
for loop. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int NEQ
public static final int LT
public static final int LTE
public static final int GT
public static final int GTE
Method Detail |
---|
public int testtype()
testtype
tells the type of test used. This is the
condition to continue in the loop.
public Temp increment()
increment
gives the temp with the loop invariant
value to increment the induction variable by.
public Temp induction()
induction
gives the temp with the induction variable
of the for loop.
public Temp indInitial()
indInitial
gives the initial value of the induction
variable.
public Temp indFinal()
indFinal
gives the final value of the induction
variable.
public OPER testOPER()
testOPER
gives the OPER
containing the
for loop test condition.
public CJMP loopExit()
loopExit
gives the CJMP
that is the
first exit of the loop.
public String toString()
toString
returns a string representation of the
for loop.
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |