|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectforge.transform.UnrollTransformer
public final class UnrollTransformer
Transformer that unrolls loops of the procedure and all called procedures.
| Field Summary |
|---|
| Fields inherited from interface forge.transform.Transformer |
|---|
IDENTITY |
| Constructor Summary | |
|---|---|
UnrollTransformer(int numUnrolls)
Constructs a loop unroller that unrolls for the given number of times. |
|
| Method Summary | |
|---|---|
CFGStmt |
sourceStmt(CFGStmt targetStmt)
Returns the source update from which the given target was transformed. |
ForgeCFG |
transform(ForgeCFG source)
Performs the transformation and returns the transformed procedure. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UnrollTransformer(int numUnrolls)
java.lang.IllegalArgumentException - - numUnrolls < 1| Method Detail |
|---|
public ForgeCFG transform(ForgeCFG source)
Transformer
transform in interface Transformerpublic CFGStmt sourceStmt(CFGStmt targetStmt)
Transformer
sourceStmt in interface Transformer
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||