Class ExprPropagation


  • public class ExprPropagation
    extends java.lang.Object
    Performs copy and constant propagation on the blocks in a control flow graph.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static boolean DEBUG  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void transform()
      Performs the propagation.
      • 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
    • Constructor Detail

      • ExprPropagation

        public ExprPropagation​(FlowGraph cfg)
        Constructor.
        Parameters:
        cfg - The control flow graph on which expression propagation is being performed.
    • Method Detail

      • transform

        public void transform()
        Performs the propagation.