private static class GCP.GCPPreparation extends CompilerPhase
container
Modifier | Constructor and Description |
---|---|
private |
GCPPreparation() |
Modifier and Type | Method and Description |
---|---|
String |
getName()
Return the name of the phase
|
CompilerPhase |
newExecution(IR ir)
Return this instance of this phase.
|
void |
perform(IR ir)
This is the method that actually does the work of the phase.
|
boolean |
shouldPerform(OptOptions options)
Should this phase perform?
|
dumpIR, dumpIR, getClassConstructor, getCompilerPhaseConstructor, getCompilerPhaseConstructor, performPhase, printingEnabled, reportAdditionalStats, setContainer, verify
private GCPPreparation()
public CompilerPhase newExecution(IR ir)
newExecution
in class CompilerPhase
ir
- not usedpublic final boolean shouldPerform(OptOptions options)
shouldPerform
in class CompilerPhase
options
- the compiler options for the compilationtrue
if SSA-based global code placement
or SSA-based global common subexpression elimination are
enabledpublic 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