public static class SSATuneUp.TuneUpPreparation extends CompilerPhase
Modifier and Type | Field and Description |
---|---|
private static Constructor<CompilerPhase> |
constructor
Constructor for this compiler phase
|
private CompilerPhase |
dominators
Compiler phases necessary to re-build dominators and dominance
frontier
|
private CompilerPhase |
frontier
Compiler phases necessary to re-build dominators and dominance
frontier
|
container
Constructor and Description |
---|
TuneUpPreparation() |
Modifier and Type | Method and Description |
---|---|
Constructor<CompilerPhase> |
getClassConstructor()
Get a constructor object for this compiler phase
|
String |
getName() |
void |
perform(IR ir)
register in the IR the SSA properties we need for simple scalar
optimizations
|
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 final CompilerPhase dominators
private final CompilerPhase frontier
private static final Constructor<CompilerPhase> constructor
public TuneUpPreparation()
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)
perform
in class CompilerPhase
ir
- the IR on which to apply the phase