Class CommonSubexpressionEliminationPass

  • All Implemented Interfaces:
    Function<IRDAG,​IRDAG>

    public final class CommonSubexpressionEliminationPass
    extends ReshapingPass
    Pass for Common Subexpression Elimination optimization. It eliminates vertices that are repetitively run without much meaning, and runs it a single time, instead of multiple times. We consider such vertices as 'common' when they include the same transform, and has incoming edges from an identical set of vertices. Refer to CommonSubexpressionEliminationPassTest for such cases.
    • Constructor Detail

      • CommonSubexpressionEliminationPass

        public CommonSubexpressionEliminationPass()
        Default constructor.
    • Method Detail