Search in sources :

Example 1 with IRPrinter

use of org.jikesrvm.compilers.opt.driver.IRPrinter in project JikesRVM by JikesRVM.

the class MIROptimizationPlanner method MIR2MC.

/**
 * This method defines the optimization plan elements that
 * are to be performed to convert PowerPC MIR into
 * ready-to-execute machinecode (and associated mapping tables).
 *
 * @param p the plan under construction
 */
private static void MIR2MC(ArrayList<OptimizationPlanElement> p) {
    // MANDATORY: Final assembly
    addComponent(p, new IRPrinter("Final MIR") {

        @Override
        public boolean shouldPerform(OptOptions options) {
            return options.PRINT_FINAL_MIR;
        }
    });
    addComponent(p, new ConvertMIRtoMC());
}
Also used : ConvertMIRtoMC(org.jikesrvm.compilers.opt.mir2mc.ConvertMIRtoMC) OptOptions(org.jikesrvm.compilers.opt.OptOptions) IRPrinter(org.jikesrvm.compilers.opt.driver.IRPrinter)

Aggregations

OptOptions (org.jikesrvm.compilers.opt.OptOptions)1 IRPrinter (org.jikesrvm.compilers.opt.driver.IRPrinter)1 ConvertMIRtoMC (org.jikesrvm.compilers.opt.mir2mc.ConvertMIRtoMC)1