org.jikesrvm.compilers.opt.ssa
Class GCP.GCPPreparation

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

private static class GCP.GCPPreparation
extends CompilerPhase

This class sets up the IR state prior to entering SSA for GCP


Field Summary
 
Fields inherited from class org.jikesrvm.compilers.opt.driver.CompilerPhase
container
 
Constructor Summary
private GCP.GCPPreparation()
           
 
Method Summary
 String getName()
          Return the name of the phase
 CompilerPhase newExecution(IR ir)
          Return this instance of this phase.
 void perform(IR ir)
          perform the phase
 boolean shouldPerform(OptOptions options)
          Should this phase perform?
 
Methods inherited from class org.jikesrvm.compilers.opt.driver.CompilerPhase
dumpIR, dumpIR, getClassConstructor, getCompilerPhaseConstructor, getCompilerPhaseConstructor, performPhase, printingEnabled, reportAdditionalStats, setContainer, verify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GCP.GCPPreparation

private GCP.GCPPreparation()
Method Detail

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

shouldPerform

public final boolean shouldPerform(OptOptions options)
Should this phase perform?

Overrides:
shouldPerform in class CompilerPhase
Parameters:
options -
Returns:
true if the phase should be performed

getName

public final String getName()
Return the name of the phase

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

perform

public final void perform(IR ir)
perform the phase

Specified by:
perform in class CompilerPhase
Parameters:
ir -