public abstract class EffectsPhase<PhaseContextT extends PhaseContext> extends BasePhase<PhaseContextT>
Modifier and Type | Class and Description |
---|---|
static class |
EffectsPhase.Closure<T> |
Modifier and Type | Field and Description |
---|---|
protected CanonicalizerPhase |
canonicalizer |
private int |
maxIterations |
private boolean |
unscheduled |
BEFORE_PHASE_DUMP_LEVEL, PHASE_DUMP_LEVEL
Modifier | Constructor and Description |
---|---|
protected |
EffectsPhase(int maxIterations,
CanonicalizerPhase canonicalizer) |
protected |
EffectsPhase(int maxIterations,
CanonicalizerPhase canonicalizer,
boolean unscheduled) |
Modifier and Type | Method and Description |
---|---|
protected abstract EffectsPhase.Closure<?> |
createEffectsClosure(PhaseContextT context,
SchedulePhase schedule,
ControlFlowGraph cfg) |
protected void |
postIteration(StructuredGraph graph,
PhaseContextT context,
Set<Node> changedNodes) |
protected void |
run(StructuredGraph graph,
PhaseContextT context) |
boolean |
runAnalysis(StructuredGraph graph,
PhaseContextT context) |
apply, apply, createName, getName
private final int maxIterations
protected final CanonicalizerPhase canonicalizer
private final boolean unscheduled
protected EffectsPhase(int maxIterations, CanonicalizerPhase canonicalizer)
protected EffectsPhase(int maxIterations, CanonicalizerPhase canonicalizer, boolean unscheduled)
protected void run(StructuredGraph graph, PhaseContextT context)
run
in class BasePhase<PhaseContextT extends PhaseContext>
public boolean runAnalysis(StructuredGraph graph, PhaseContextT context)
protected void postIteration(StructuredGraph graph, PhaseContextT context, Set<Node> changedNodes)
protected abstract EffectsPhase.Closure<?> createEffectsClosure(PhaseContextT context, SchedulePhase schedule, ControlFlowGraph cfg)