public final class LinearScan extends OptimizationPlanCompositeElement
| Modifier and Type | Field and Description |
|---|---|
(package private) static boolean |
DEBUG |
(package private) static boolean |
DEBUG_COALESCE |
(package private) static boolean |
GC_DEBUG |
(package private) static boolean |
VERBOSE_DEBUG |
| Constructor and Description |
|---|
LinearScan()
Build this phase as a composite of others.
|
| 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)
Register allocation is required
|
compose, elapsedTime, initializeForMeasureCompilation, perform, reportStatsprettyPrintTimestatic final boolean DEBUG
static final boolean VERBOSE_DEBUG
static final boolean GC_DEBUG
static final boolean DEBUG_COALESCE
LinearScan()
public boolean shouldPerform(OptOptions options)
shouldPerform 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.