Class ValueFolding


  • public class ValueFolding
    extends java.lang.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 Summary

      Fields 
      Modifier and Type Field Description
      static boolean DEBUG  
      static boolean DUMP  
      static boolean SAVEDUMP  
    • Constructor Summary

      Constructors 
      Constructor Description
      ValueFolding()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void transform​(FlowGraph cfg)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • DEBUG

        public static boolean DEBUG
      • DUMP

        public static boolean DUMP
      • SAVEDUMP

        public static boolean SAVEDUMP
    • Constructor Detail

      • ValueFolding

        public ValueFolding()
    • Method Detail

      • transform

        public void transform​(FlowGraph cfg)