class GlobalValueNumber extends CompilerPhase
Modifier and Type | Field and Description |
---|---|
private static boolean |
DEBUG
Print verbose debugging output?
|
container
Constructor and Description |
---|
GlobalValueNumber() |
Modifier and Type | Method and Description |
---|---|
String |
getName()
Return the name of this phase.
|
CompilerPhase |
newExecution(IR ir)
Return this instance of this phase.
|
void |
perform(IR ir)
Main driver for global value number-related computations
PRECONDITION: Array SSA form
POSTCONDITION: ir.valueNumbers holds global value number state
|
dumpIR, dumpIR, getClassConstructor, getCompilerPhaseConstructor, getCompilerPhaseConstructor, performPhase, printingEnabled, reportAdditionalStats, setContainer, shouldPerform, verify
private static final boolean DEBUG
GlobalValueNumber()
public CompilerPhase newExecution(IR ir)
newExecution
in class CompilerPhase
ir
- not usedpublic final String getName()
getName
in class CompilerPhase
public final void perform(IR ir)
PRECONDITION: Array SSA form
POSTCONDITION: ir.valueNumbers holds global value number state
perform
in class CompilerPhase
ir
- the IR on which to apply the phase