Package org.renjin.compiler.ir.ssa

Examples of org.renjin.compiler.ir.ssa.SsaTransformer


   
   
    DominanceTree dtree = new DominanceTree(cfg);
    System.out.println(dtree);
   
    SsaTransformer transformer = new SsaTransformer(cfg, dtree);
    transformer.transform();
   
    // See Figure 6 in
    // http://www.cs.utexas.edu/~pingali/CS380C/2010/papers/ssaCytron.pdf
   
   
View Full Code Here


    System.out.println(cfg.getGraph());
   
    System.out.println("Dominance Tree:")
    System.out.println(dtree);
   
    SsaTransformer transformer = new SsaTransformer(cfg, dtree);
    transformer.transform();
    
    System.out.println(cfg);
  }
View Full Code Here

  }

  private void doIntraScopeOptimization(IRBody main) {
    ControlFlowGraph cfg = new ControlFlowGraph(main);
    DominanceTree dtree = new DominanceTree(cfg);
    SsaTransformer ssaTransformer = new SsaTransformer(cfg, dtree);
    ssaTransformer.transform();
   
    System.out.println(cfg);
   
  }
View Full Code Here

TOP

Related Classes of org.renjin.compiler.ir.ssa.SsaTransformer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.