Class RewriteCommonSubexpressionElimination

java.lang.Object
org.apache.sysds.hops.rewrite.HopRewriteRule
org.apache.sysds.hops.rewrite.RewriteCommonSubexpressionElimination

public class RewriteCommonSubexpressionElimination extends HopRewriteRule
Rule: CommonSubexpressionElimination. For all statement blocks, eliminate common subexpressions within dags by merging equivalent operators (same input, equal parameters) bottom-up. For the moment, this only applies within a dag, later this should be extended across statements block (global, inter-procedure).
  • Constructor Details

    • RewriteCommonSubexpressionElimination

      public RewriteCommonSubexpressionElimination()
    • RewriteCommonSubexpressionElimination

      public RewriteCommonSubexpressionElimination(boolean mergeLeafs)
  • Method Details