org.jikesrvm.compilers.opt.driver.ia32
Class MIROptimizationPlanner

java.lang.Object
  extended by org.jikesrvm.compilers.opt.driver.OptimizationPlanner
      extended by org.jikesrvm.compilers.opt.driver.ia32.MIROptimizationPlanner
Direct Known Subclasses:
ArchitectureSpecificOpt.MIROptimizationPlanner

public class MIROptimizationPlanner
extends OptimizationPlanner

This class specifies the order in which CompilerPhases are executed in the target-specific backend of the optimizing compiler. The methods LIR2MIR, MIROptimizations, and MIR2MC each specify the elements that make up the main compilation stages.


Constructor Summary
MIROptimizationPlanner()
           
 
Method Summary
static void intializeMasterPlan(ArrayList<OptimizationPlanElement> temp)
          Initialize the "master plan" for the IA32 backend of the opt compiler.
private static void LIR2MIR(ArrayList<OptimizationPlanElement> p)
          This method defines the optimization plan elements that are to be performed to convert LIR to IA32 MIR.
private static void MIR2MC(ArrayList<OptimizationPlanElement> p)
          This method defines the optimization plan elements that are to be performed to convert IA32 MIR into ready-to-execute machinecode (and associated mapping tables).
private static void MIROptimizations(ArrayList<OptimizationPlanElement> p)
          This method defines the optimization plan elements that are to be performed on IA32 MIR.
 
Methods inherited from class org.jikesrvm.compilers.opt.driver.OptimizationPlanner
addComponent, addComponent, composeComponents, createOptimizationPlan, generateOptimizingCompilerSubsystemReport, initializeMeasureCompilation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MIROptimizationPlanner

public MIROptimizationPlanner()
Method Detail

intializeMasterPlan

public static void intializeMasterPlan(ArrayList<OptimizationPlanElement> temp)
Initialize the "master plan" for the IA32 backend of the opt compiler.


LIR2MIR

private static void LIR2MIR(ArrayList<OptimizationPlanElement> p)
This method defines the optimization plan elements that are to be performed to convert LIR to IA32 MIR.

Parameters:
p - the plan under construction

MIROptimizations

private static void MIROptimizations(ArrayList<OptimizationPlanElement> p)
This method defines the optimization plan elements that are to be performed on IA32 MIR.

Parameters:
p - the plan under construction

MIR2MC

private static void MIR2MC(ArrayList<OptimizationPlanElement> p)
This method defines the optimization plan elements that are to be performed to convert IA32 MIR into ready-to-execute machinecode (and associated mapping tables).

Parameters:
p - the plan under construction