org.jikesrvm.compilers.opt.ssa
Class LoadElimination.LoadEliminator

java.lang.Object
  extended by org.jikesrvm.compilers.opt.driver.CompilerPhase
      extended by org.jikesrvm.compilers.opt.ssa.LoadElimination.LoadEliminator
Enclosing class:
LoadElimination

static final class LoadElimination.LoadEliminator
extends CompilerPhase


Field Summary
 
Fields inherited from class org.jikesrvm.compilers.opt.driver.CompilerPhase
container
 
Constructor Summary
LoadElimination.LoadEliminator()
           
 
Method Summary
 String getName()
           
 CompilerPhase newExecution(IR ir)
          Return this instance of this phase.
 void perform(IR ir)
          main driver for redundant load elimination Preconditions: Array SSA form and Global Value Numbers computed
 
Methods inherited from class org.jikesrvm.compilers.opt.driver.CompilerPhase
dumpIR, dumpIR, getClassConstructor, getCompilerPhaseConstructor, getCompilerPhaseConstructor, performPhase, printingEnabled, reportAdditionalStats, setContainer, shouldPerform, verify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoadElimination.LoadEliminator

LoadElimination.LoadEliminator()
Method Detail

getName

public String getName()
Specified by:
getName in class CompilerPhase
Returns:
a String which is the name of the phase.

newExecution

public CompilerPhase newExecution(IR ir)
Return this instance of this phase. This phase contains no per-compilation instance fields.

Overrides:
newExecution in class CompilerPhase
Parameters:
ir - not used
Returns:
this

perform

public void perform(IR ir)
main driver for redundant load elimination

Preconditions: Array SSA form and Global Value Numbers computed

Specified by:
perform in class CompilerPhase
Parameters:
ir - the governing IR