|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectat.dms.kjc.sir.lowering.ConstantProp
public class ConstantProp
This class propagates constants and unrolls loops. Currently only works for init functions. (Bill Thies & Allyn Dimock: 2005-12-22 now works for all SIRStreams.)
Method Summary | |
---|---|
static void |
propagateAndUnroll(SIRStream str)
Propagates constants as far as possible in |
static void |
propagateAndUnroll(SIRStream str,
boolean removeDeadFields)
Propagates constants as far as possible in |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void propagateAndUnroll(SIRStream str)
str
- a SIRStream. Propagation occurs in this and all reachable.public static void propagateAndUnroll(SIRStream str, boolean removeDeadFields)
str
- a SIRStream. Propagation occurs in this and all reachable.removeDeadFields
- whether FieldProp should remove fully-propagated fields.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |