public final class DominatorTreePhase extends CompilerPhase
container| Constructor and Description |
|---|
DominatorTreePhase() |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Returns "Dominator Tree"
|
void |
perform(IR ir)
This is the method that actually does the work of the phase.
|
boolean |
printingEnabled(OptOptions options,
boolean before)
Should the IR be printed before and/or after this phase?
|
boolean |
shouldPerform(OptOptions options)
This method determines if the phase should be run, based on the
Options object it is passed.
|
dumpIR, dumpIR, getClassConstructor, getCompilerPhaseConstructor, getCompilerPhaseConstructor, newExecution, performPhase, reportAdditionalStats, setContainer, verifypublic DominatorTreePhase()
public boolean shouldPerform(OptOptions options)
CompilerPhaseshouldPerform in class CompilerPhaseoptions - the compiler options for the compilationpublic 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)
CompilerPhaseperform in class CompilerPhaseir - the IR on which to apply the phase