Package EDU.purdue.cs.bloat.trans
Class ExprPropagation
- java.lang.Object
-
- EDU.purdue.cs.bloat.trans.ExprPropagation
-
public class ExprPropagation extends java.lang.ObjectPerforms copy and constant propagation on the blocks in a control flow graph.
-
-
Field Summary
Fields Modifier and Type Field Description static booleanDEBUG
-
Constructor Summary
Constructors Constructor Description ExprPropagation(FlowGraph cfg)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidtransform()Performs the propagation.
-
-
-
Constructor Detail
-
ExprPropagation
public ExprPropagation(FlowGraph cfg)
Constructor.- Parameters:
cfg- The control flow graph on which expression propagation is being performed.
-
-