public final class CompilationPlan extends Object
| Modifier and Type | Field and Description | 
|---|---|
| boolean | analyzeOnlyWhether this compilation is for analysis only? | 
| InlineOracle | inlinePlanThe oracle to be consulted for all inlining decisions. | 
| InstrumentationPlan | instrumentationPlanThe instrumentation plan for the method. | 
| boolean | irGeneration | 
| NormalMethod | methodThe method to be compiled. | 
| OptimizationPlanElement[] | optimizationPlanThe OptimizationPlanElements to be invoked during compilation. | 
| OptOptions | optionsThe Options object that contains misc compilation control data | 
| TypeReference[] | paramsThe specialized parameters to use in place of those defined in method. | 
| Constructor and Description | 
|---|
| CompilationPlan(NormalMethod m,
               OptimizationPlanElement[] op,
               InstrumentationPlan mp,
               OptOptions opts)Construct a compilation plan | 
| CompilationPlan(NormalMethod m,
               OptimizationPlanElement op,
               InstrumentationPlan mp,
               OptOptions opts)Construct a compilation plan | 
| CompilationPlan(NormalMethod m,
               TypeReference[] pms,
               OptimizationPlanElement[] op,
               InstrumentationPlan mp,
               OptOptions opts)Construct a compilation plan | 
| Modifier and Type | Method and Description | 
|---|---|
| IR | execute()Execute a compilation plan by executing each element
 in the optimization plan. | 
| NormalMethod | getMethod() | 
| void | setInlineOracle(InlineOracle o) | 
public final NormalMethod method
public final TypeReference[] params
public final OptimizationPlanElement[] optimizationPlan
public final InstrumentationPlan instrumentationPlan
public InlineOracle inlinePlan
public final OptOptions options
public boolean analyzeOnly
public boolean irGeneration
public CompilationPlan(NormalMethod m, TypeReference[] pms, OptimizationPlanElement[] op, InstrumentationPlan mp, OptOptions opts)
m - The NormalMethod representing the source method to be compiledpms - The specialized parameters to use in place of those defined in methodop - The optimization plan to be executed on mmp - The instrumentation plan to be executed on mopts - The Options to be used for compiling mpublic CompilationPlan(NormalMethod m, OptimizationPlanElement[] op, InstrumentationPlan mp, OptOptions opts)
m - The NormalMethod representing the source method to be compiledop - The optimization plan to be executed on mmp - The instrumentation plan to be executed on mopts - The Options to be used for compiling mpublic CompilationPlan(NormalMethod m, OptimizationPlanElement op, InstrumentationPlan mp, OptOptions opts)
m - The NormalMethod representing the source method to be compiledop - A single optimization pass to execute on mmp - The instrumentation plan to be executed on mopts - The Options to be used for compiling mpublic NormalMethod getMethod()
public void setInlineOracle(InlineOracle o)