|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jikesrvm.compilers.opt.driver.CompilationPlan
public final class CompilationPlan
| Field Summary | |
|---|---|
boolean |
analyzeOnly
Whether this compilation is for analysis only? |
InlineOracle |
inlinePlan
The oracle to be consulted for all inlining decisions. |
InstrumentationPlan |
instrumentationPlan
The instrumentation plan for the method. |
boolean |
irGeneration
|
NormalMethod |
method
The method to be compiled. |
OptimizationPlanElement[] |
optimizationPlan
The OptimizationPlanElements to be invoked during compilation. |
OptOptions |
options
The Options object that contains misc compilation control data |
TypeReference[] |
params
The specialized parameters to use in place of those defined in method. |
| Constructor Summary | |
|---|---|
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 |
|
| Method Summary | |
|---|---|
IR |
execute()
Execute a compilation plan by executing each element in the optimization plan. |
NormalMethod |
getMethod()
|
void |
setInlineOracle(InlineOracle o)
Set the inline oracle |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
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
| Constructor Detail |
|---|
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 m
public 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 m
public 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 m| Method Detail |
|---|
public NormalMethod getMethod()
public void setInlineOracle(InlineOracle o)
public IR execute()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||