public static class LoadElimination.LoadEliminationPreparation extends CompilerPhase
Modifier and Type | Field and Description |
---|---|
private static Constructor<CompilerPhase> |
constructor
Constructor for this compiler phase
|
private int |
round |
container
Constructor and Description |
---|
LoadEliminationPreparation(int round) |
Modifier and Type | Method and Description |
---|---|
Constructor<CompilerPhase> |
getClassConstructor()
Get a constructor object for this compiler phase
|
String |
getName() |
void |
perform(IR ir)
This is the method that actually does the work of the phase.
|
boolean |
shouldPerform(OptOptions options)
This method determines if the phase should be run, based on the
Options object it is passed.
|
dumpIR, dumpIR, getCompilerPhaseConstructor, getCompilerPhaseConstructor, newExecution, performPhase, printingEnabled, reportAdditionalStats, setContainer, verify
private static final Constructor<CompilerPhase> constructor
private final int round
public LoadEliminationPreparation(int round)
public Constructor<CompilerPhase> getClassConstructor()
getClassConstructor
in class CompilerPhase
public final boolean shouldPerform(OptOptions options)
CompilerPhase
shouldPerform
in class CompilerPhase
options
- the compiler options for the compilationpublic final String getName()
getName
in class CompilerPhase
public final void perform(IR ir)
CompilerPhase
perform
in class CompilerPhase
ir
- the IR on which to apply the phase