public final class RegisterAllocator extends OptimizationPlanCompositeElement
Modifier and Type | Class and Description |
---|---|
private static class |
RegisterAllocator.RegisterAllocPreparation |
Constructor and Description |
---|
RegisterAllocator() |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
boolean |
printingEnabled(OptOptions options,
boolean before)
Returns true if the phase wants the IR dumped before and/or after it runs.
|
boolean |
shouldPerform(OptOptions options)
Determine, possibly by consulting the passed options object,
if this optimization plan element should be performed.
|
compose, elapsedTime, initializeForMeasureCompilation, perform, reportStats
prettyPrintTime
public RegisterAllocator()
public boolean shouldPerform(OptOptions options)
OptimizationPlanElement
shouldPerform
in class OptimizationPlanCompositeElement
options
- The Options object for the current compilation.true
if the plan element should be performed.public String getName()
getName
in class OptimizationPlanCompositeElement
public boolean printingEnabled(OptOptions options, boolean before)
OptimizationPlanCompositeElement
printingEnabled
in class OptimizationPlanCompositeElement
options
- the compiler options for the compilationbefore
- true when invoked before perform, false otherwise.true
if the IR should be printed, false
otherwise.