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, verify
static final boolean DEBUG
public CoalesceMoves()
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
iff move instructions should be
coalesced after leaving SSApublic 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