Examples of ControlFlowGraph


Examples of org.renjin.compiler.cfg.ControlFlowGraph

  private void writeDoEvalBody(MethodVisitor mv) {
    ByteCodeVisitor visitor = new ByteCodeVisitor(generationContext, mv);
   
   
    ControlFlowGraph cfg = new ControlFlowGraph(closure.getBody());
    for(BasicBlock bb : cfg.getBasicBlocks()) {
     
      System.out.println(bb.statementsToString());
     
      visitor.startBasicBlock(bb);
     
View Full Code Here

Examples of org.renjin.compiler.cfg.ControlFlowGraph

      doIntraScopeOptimization(function.getBody());
    }
  }

  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
Copyright © 2018 www.massapi.com. 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.