org.jikesrvm.compilers.opt.lir2mir
Class ConvertLIRtoMIR.DoBURS

java.lang.Object
  extended by org.jikesrvm.compilers.opt.driver.CompilerPhase
      extended by org.jikesrvm.compilers.opt.lir2mir.ConvertLIRtoMIR.DoBURS
Enclosing class:
ConvertLIRtoMIR

private static final class ConvertLIRtoMIR.DoBURS
extends CompilerPhase

Stage 3: Block by block build DepGraph and do BURS based instruction selection.


Field Summary
 
Fields inherited from class org.jikesrvm.compilers.opt.driver.CompilerPhase
container
 
Constructor Summary
private ConvertLIRtoMIR.DoBURS()
           
 
Method Summary
 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.
 void reportAdditionalStats()
          Called when printing a measure compilation report to enable a phase to report additional phase-specific statistics.
 void verify(IR ir)
          Verify the IR.
 
Methods inherited from class org.jikesrvm.compilers.opt.driver.CompilerPhase
dumpIR, dumpIR, getClassConstructor, getCompilerPhaseConstructor, getCompilerPhaseConstructor, performPhase, printingEnabled, setContainer, shouldPerform
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConvertLIRtoMIR.DoBURS

private ConvertLIRtoMIR.DoBURS()
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)
Description copied from class: CompilerPhase
This method is called immediately before performPhase. Phases that do not need to create a new instance for each execution may override this method to return this, but this must be done carefully! Classes that don't override this method need to override getClassConstructor.

Overrides:
newExecution in class CompilerPhase
Parameters:
ir - the IR that is about to be passed to performPhase
Returns:
an opt compiler phase on which performPhase may be invoked.

reportAdditionalStats

public void reportAdditionalStats()
Description copied from class: CompilerPhase
Called when printing a measure compilation report to enable a phase to report additional phase-specific statistics.

Overrides:
reportAdditionalStats in class CompilerPhase

verify

public void verify(IR ir)
Description copied from class: CompilerPhase
Verify the IR. Written as a non-final virtual method to allow late stages in the compilation pipeline (eg ConvertMIR2MC) to skip verification.

Overrides:
verify in class CompilerPhase
Parameters:
ir - the IR to verify

perform

public void perform(IR ir)
Description copied from class: CompilerPhase
This is the method that actually does the work of the phase.

Specified by:
perform in class CompilerPhase
Parameters:
ir - the IR on which to apply the phase