Class CommonSubexpressionEliminationPass
- java.lang.Object
-
- org.apache.nemo.common.pass.Pass
-
- org.apache.nemo.compiler.optimizer.pass.compiletime.CompileTimePass
-
- org.apache.nemo.compiler.optimizer.pass.compiletime.reshaping.ReshapingPass
-
- org.apache.nemo.compiler.optimizer.pass.compiletime.reshaping.CommonSubexpressionEliminationPass
-
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 Summary
Constructors Constructor Description CommonSubexpressionEliminationPass()
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IRDAG
apply(IRDAG inputDAG)
-
Methods inherited from class org.apache.nemo.compiler.optimizer.pass.compiletime.reshaping.ReshapingPass
getPrerequisiteExecutionProperties
-
Methods inherited from class org.apache.nemo.common.pass.Pass
addCondition, getCondition
-
-