Class ValueFolding

java.lang.Object
EDU.purdue.cs.bloat.trans.ValueFolding

public class ValueFolding extends Object
ValueFolding uses a ValueFolder to determine which nodes in an expression tree can be removed or replaced by common expression elimination and constant propagation.
See Also:
  • ValueFolder
  • Field Details

    • DEBUG

      public static boolean DEBUG
    • DUMP

      public static boolean DUMP
    • SAVEDUMP

      public static boolean SAVEDUMP
  • Constructor Details

    • ValueFolding

      public ValueFolding()
  • Method Details

    • transform

      public void transform(FlowGraph cfg)