|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jikesrvm.compilers.opt.driver.CompilerPhase org.jikesrvm.compilers.opt.controlflow.DominatorsPhase
public final class DominatorsPhase
Driver routine for dominator computation. This phase invokes the Lengauer-Tarjan dominator calculation.
Field Summary | |
---|---|
private static Constructor<CompilerPhase> |
constructor
Constructor for this compiler phase |
private boolean |
unfactor
Should we unfactor the CFG? |
Fields inherited from class org.jikesrvm.compilers.opt.driver.CompilerPhase |
---|
container |
Constructor Summary | |
---|---|
DominatorsPhase(boolean unfactor)
|
Method Summary | |
---|---|
Constructor<CompilerPhase> |
getClassConstructor()
Get a constructor object for this compiler phase |
String |
getName()
Return a string representation of this phase |
void |
perform(IR ir)
Main driver for the dominator calculation. |
boolean |
printingEnabled(OptOptions options,
boolean before)
Should the IR be printed before and/or after this phase? |
boolean |
shouldPerform(OptOptions options)
Should this phase be performed? |
Methods inherited from class org.jikesrvm.compilers.opt.driver.CompilerPhase |
---|
dumpIR, dumpIR, getCompilerPhaseConstructor, getCompilerPhaseConstructor, newExecution, performPhase, reportAdditionalStats, setContainer, verify |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final boolean unfactor
private static final Constructor<CompilerPhase> constructor
Constructor Detail |
---|
public DominatorsPhase(boolean unfactor)
unfactor
- Should we unfactor the CFG before computing
dominators?Method Detail |
---|
public Constructor<CompilerPhase> getClassConstructor()
getClassConstructor
in class CompilerPhase
public boolean shouldPerform(OptOptions options)
shouldPerform
in class CompilerPhase
options
- controlling compiler options
true
public String getName()
getName
in class CompilerPhase
public boolean printingEnabled(OptOptions options, boolean before)
printingEnabled
in class CompilerPhase
options
- controlling compiler optionsbefore
- query control
false
public void perform(IR ir)
perform
in class CompilerPhase
ir
- the IR on which to apply the phase
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |