org.jikesrvm.compilers.opt.controlflow
Class LoopAnalysis
java.lang.Object
org.jikesrvm.compilers.opt.driver.CompilerPhase
org.jikesrvm.compilers.opt.controlflow.LoopAnalysis
public class LoopAnalysis
- extends CompilerPhase
The driver that creates an annotated AnnotatedLSTGraph.
- See Also:
AnnotatedLSTGraph
| 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 |
LoopAnalysis
public LoopAnalysis()
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