| java.lang.Object EDU.purdue.cs.bloat.trans.ExprPropagation
ExprPropagation | public class ExprPropagation (Code) | | Performs copy and constant propagation on the blocks in a control flow graph.
|
DEBUG | public static boolean DEBUG(Code) | | |
ExprPropagation | public ExprPropagation(FlowGraph cfg)(Code) | | Constructor.
Parameters: cfg - The control flow graph on which expression propagation isbeing performed. |
propExpr | boolean propExpr(Block block, LocalExpr lhs, Expr rhs)(Code) | | Propagates the expression in rhs to all uses of the lhs. Returns true, if
all of the uses of the lhs were replaced.
|
transform | public void transform()(Code) | | Performs the propagation.
|
|
|