public class CoalesceMoves extends CompilerPhase
| Modifier and Type | Field and Description |
|---|---|
(package private) static boolean |
DEBUG
verbose debugging flag
|
container| Constructor and Description |
|---|
CoalesceMoves() |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Return a string name for this 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 we perform this phase?
|
dumpIR, dumpIR, getClassConstructor, getCompilerPhaseConstructor, getCompilerPhaseConstructor, performPhase, printingEnabled, reportAdditionalStats, setContainer, verifystatic final boolean DEBUG
public CoalesceMoves()
public CompilerPhase newExecution(IR ir)
newExecution in class CompilerPhaseir - not usedpublic final boolean shouldPerform(OptOptions options)
shouldPerform in class CompilerPhaseoptions - the compiler options for the compilationtrue iff move instructions should be
coalesced after leaving SSApublic final String getName()
getName in class CompilerPhasepublic final void perform(IR ir)
CompilerPhaseperform in class CompilerPhaseir - the IR on which to apply the phase