org.jikesrvm.compilers.opt.controlflow
Class LoopAnalysis

java.lang.Object
  extended by org.jikesrvm.compilers.opt.driver.CompilerPhase
      extended by org.jikesrvm.compilers.opt.controlflow.LoopAnalysis

public class LoopAnalysis
extends CompilerPhase

The driver that creates an annotated AnnotatedLSTGraph.

See Also:
AnnotatedLSTGraph

Field Summary
 
Fields inherited from class org.jikesrvm.compilers.opt.driver.CompilerPhase
container
 
Constructor Summary
LoopAnalysis()
           
 
Method Summary
 String getName()
          Return a string name for this phase.
 void perform(IR ir)
          The main entry point
 boolean shouldPerform(OptOptions options)
          Should the optimisation be performed
 
Methods inherited from class org.jikesrvm.compilers.opt.driver.CompilerPhase
dumpIR, dumpIR, getClassConstructor, getCompilerPhaseConstructor, getCompilerPhaseConstructor, newExecution, 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

LoopAnalysis

public LoopAnalysis()
Method Detail

getName

public final String getName()
Return a string name for this phase.

Specified by:
getName in class CompilerPhase
Returns:
"Loop Analysis"

shouldPerform

public boolean shouldPerform(OptOptions options)
Should the optimisation be performed

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

perform

public final void perform(IR ir)
The main entry point

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