Package EDU.purdue.cs.bloat.trans
Class ValueNumbering
- java.lang.Object
-
- EDU.purdue.cs.bloat.trans.ValueNumbering
-
public class ValueNumbering extends java.lang.ObjectPerforms value numbering analysis on the nodes in a control flow graph. Nodes with identical value numbers are folded into one another so that common (redundent) expressions are eliminated. Note that ValueNumbering works on the SSAGraph for the CFG and not the CFG itself.- See Also:
SSAGraph
-
-
Field Summary
Fields Modifier and Type Field Description static booleanDEBUGjava.io.FiledebugDirjava.lang.StringdebugDirNamebooleanDUMP
-
Constructor Summary
Constructors Constructor Description ValueNumbering()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidtransform(FlowGraph cfg)Performs value numbering on a control flow graph.
-
-
-
Method Detail
-
transform
public void transform(FlowGraph cfg)
Performs value numbering on a control flow graph.- See Also:
ComponentVisitor,SSAGraph,ValueFolder
-
-