Class RewriteConstantFolding

  • public class RewriteConstantFolding
    extends HopRewriteRule
    Rule: Constant Folding. For all statement blocks, eliminate simple binary expressions of literals within dags by computing them and replacing them with a new Literal op once. For the moment, this only applies within a dag, later this should be extended across statements block (global, inter-procedure).
    • Constructor Detail

      • RewriteConstantFolding

        public RewriteConstantFolding()