public final class UpdateOSRMaps extends CompilerPhase
container| Constructor and Description |
|---|
UpdateOSRMaps() |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
CompilerPhase |
newExecution(IR ir)
Return this instance of this phase.
|
void |
perform(IR ir)
Iterate over the IR-based OSR map, and update symbolic registers
with real reg number or spill locations.
|
boolean |
printingEnabled(OptOptions options,
boolean before)
Returns true if the phase wants the IR dumped before and/or after it runs.
|
(package private) void |
setRealPosition(IR ir,
LocalRegPair tuple,
Register sym_reg) |
(package private) static void |
setTupleValue(LocalRegPair tuple,
byte type,
int value) |
(package private) static void |
setTupleValue(LocalRegPair tuple,
byte type,
Word value) |
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, reportAdditionalStats, setContainer, verifypublic UpdateOSRMaps()
public boolean shouldPerform(OptOptions options)
CompilerPhaseshouldPerform in class CompilerPhaseoptions - the compiler options for the compilationpublic CompilerPhase newExecution(IR ir)
newExecution in class CompilerPhaseir - not usedpublic String getName()
getName in class CompilerPhasepublic boolean printingEnabled(OptOptions options, boolean before)
CompilerPhaseprintingEnabled in class CompilerPhaseoptions - the compiler options for the compilationbefore - true when invoked before perform, false otherwise.public void perform(IR ir) throws OptimizingCompilerException
perform in class CompilerPhaseir - the IR on which to apply the phaseOptimizingCompilerExceptionvoid setRealPosition(IR ir, LocalRegPair tuple, Register sym_reg)
static void setTupleValue(LocalRegPair tuple, byte type, int value)
static void setTupleValue(LocalRegPair tuple, byte type, Word value)