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, reportStatsprettyPrintTimepublic RegisterAllocator()
public boolean shouldPerform(OptOptions options)
OptimizationPlanElementshouldPerform in class OptimizationPlanCompositeElementoptions - The Options object for the current compilation.true if the plan element should be performed.public String getName()
getName in class OptimizationPlanCompositeElementpublic boolean printingEnabled(OptOptions options, boolean before)
OptimizationPlanCompositeElementprintingEnabled in class OptimizationPlanCompositeElementoptions - the compiler options for the compilationbefore - true when invoked before perform, false otherwise.true if the IR should be printed, false otherwise.