|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use LoopIterInfo | |
---|---|
at.dms.kjc.sir.lowering | Provides compiler passes that analyze or optimize the SIR, primarily within the code of each filter. |
Uses of LoopIterInfo in at.dms.kjc.sir.lowering |
---|
Methods in at.dms.kjc.sir.lowering that return LoopIterInfo | |
---|---|
static LoopIterInfo |
LoopIterInfo.getLoopInfo(JStatement init,
JExpression cond,
JStatement incr,
JStatement body,
Map<JLocalVariable,JExpression> values,
Map<JLocalVariable,JLiteral> constants)
Get unroll info for this loop. |
Methods in at.dms.kjc.sir.lowering with parameters of type LoopIterInfo | |
---|---|
static int |
LoopIterInfo.getNumIterations(LoopIterInfo info)
Returns how many times a for loop with unroll info info will
execute. |
static int |
LoopIterInfo.incrementCounter(int counter,
LoopIterInfo info)
Given the UnrollInfo info and that counter was the old
value of the count, returns the new value of the count for one loop iteration. |
static boolean |
LoopIterInfo.inRange(int counter,
LoopIterInfo info)
Determines if integer value counter is within the loop bounds
given by info . |
static JStatement |
LoopIterInfo.makeIncrAssignment(LoopIterInfo info,
int num)
Return an assignment statement (ExpressionStatement(AssignmentExpression)) to increment (+,-,*,/) the induction variable by num . |
static JExpression |
LoopIterInfo.makeIncreased(LoopIterInfo info,
int num)
Return a JExpression that corresponds performing the loop increment operation num times on the loop induction variable. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |