public class LoopAnalysis extends CompilerPhase
AnnotatedLSTGraph
.AnnotatedLSTGraph
container
Constructor and Description |
---|
LoopAnalysis() |
Modifier and Type | Method and Description |
---|---|
String |
getName()
Return a string name for this phase.
|
void |
perform(IR ir)
This is the method that actually does the work of the phase.
|
boolean |
shouldPerform(OptOptions options)
This phase is disabled by default.
|
dumpIR, dumpIR, getClassConstructor, getCompilerPhaseConstructor, getCompilerPhaseConstructor, newExecution, performPhase, printingEnabled, reportAdditionalStats, setContainer, verify
public LoopAnalysis()
public final String getName()
getName
in class CompilerPhase
public boolean shouldPerform(OptOptions options)
It will run only on O3 but O2 is the default maximum optimization level.
shouldPerform
in class CompilerPhase
options
- the compiler options for the compilationpublic final void perform(IR ir)
CompilerPhase
perform
in class CompilerPhase
ir
- the IR on which to apply the phase