public final class PostDominatorsPhase extends CompilerPhase
| Modifier and Type | Field and Description |
|---|---|
private boolean |
unfactor
Should we unfactor the CFG?
|
container| Constructor and Description |
|---|
PostDominatorsPhase(boolean unfactor) |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Return a string representation of this phase
|
void |
perform(IR ir)
Main driver for the post-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?
|
dumpIR, dumpIR, getClassConstructor, getCompilerPhaseConstructor, getCompilerPhaseConstructor, newExecution, performPhase, reportAdditionalStats, setContainer, verifyprivate final boolean unfactor
public PostDominatorsPhase(boolean unfactor)
unfactor - Should we unfactor the CFG before computing
dominators?public boolean shouldPerform(OptOptions options)
true. The parent composite phase will
dictate.shouldPerform in class CompilerPhaseoptions - controlling compiler optionspublic String getName()
getName in class CompilerPhasepublic boolean printingEnabled(OptOptions options, boolean before)
printingEnabled in class CompilerPhaseoptions - controlling compiler optionsbefore - query controlfalsepublic void perform(IR ir)
perform in class CompilerPhaseir - the IR on which to apply the phase