public class RewriteMemoryOperandsWithOversizedDisplacements extends CompilerPhase
container
Constructor and Description |
---|
RewriteMemoryOperandsWithOversizedDisplacements() |
Modifier and Type | Method and Description |
---|---|
private static void |
disp64MemOperandConversion(IR ir,
Instruction inst,
MemoryOperand mo) |
String |
getName() |
CompilerPhase |
newExecution(IR ir)
This method is called immediately before performPhase.
|
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, getClassConstructor, getCompilerPhaseConstructor, getCompilerPhaseConstructor, performPhase, printingEnabled, reportAdditionalStats, setContainer, verify
public RewriteMemoryOperandsWithOversizedDisplacements()
public final boolean shouldPerform(OptOptions options)
CompilerPhase
shouldPerform
in class CompilerPhase
options
- the compiler options for the compilationpublic String getName()
getName
in class CompilerPhase
public void perform(IR ir)
CompilerPhase
perform
in class CompilerPhase
ir
- the IR on which to apply the phasepublic CompilerPhase newExecution(IR ir)
CompilerPhase
newExecution
in class CompilerPhase
ir
- the IR that is about to be passed to performPhaseprivate static void disp64MemOperandConversion(IR ir, Instruction inst, MemoryOperand mo)