public class FixReadsPhase extends BasePhase<CoreProviders>
FloatingReadNodes into corresponding fixed reads.| Modifier and Type | Class and Description |
|---|---|
static class |
FixReadsPhase.RawConditionalEliminationVisitor |
protected static class |
FixReadsPhase.StampElement |
BasePhase.ApplyScope, BasePhase.BasePhaseStatistics, BasePhase.PhaseOptions, BasePhase.SharedGlobalPhaseState| Modifier and Type | Field and Description |
|---|---|
protected boolean |
replaceInputsWithConstants |
protected BasePhase<? super CoreProviders> |
schedulePhase |
| Constructor and Description |
|---|
FixReadsPhase(boolean replaceInputsWithConstants,
BasePhase<? super CoreProviders> schedulePhase) |
| Modifier and Type | Method and Description |
|---|---|
float |
codeSizeIncrease()
Returns a factor
>=1 that determines what the final code size in terms of the sum of
the node code sizes NodeSize of all nodes is. |
protected ControlFlowGraph.RecursiveVisitor<?> |
createVisitor(StructuredGraph graph,
StructuredGraph.ScheduleResult schedule,
CoreProviders context) |
BasePhase<? super CoreProviders> |
getSchedulePhase() |
protected void |
run(StructuredGraph graph,
CoreProviders context) |
apply, apply, applyScope, contractorName, equals, getName, hashCode, shouldDumpAfterAtBasicLevel, shouldDumpBeforeAtBasicLevelclone, getClass, notify, notifyAll, toString, wait, wait, waitcheckContractprotected final boolean replaceInputsWithConstants
protected final BasePhase<? super CoreProviders> schedulePhase
public FixReadsPhase(boolean replaceInputsWithConstants,
BasePhase<? super CoreProviders> schedulePhase)
public float codeSizeIncrease()
PhaseSizeContract>=1 that determines what the final code size in terms of the sum of
the node code sizes NodeSize of all nodes is.codeSizeIncrease in interface PhaseSizeContractcodeSizeIncrease in class BasePhase<CoreProviders>protected void run(StructuredGraph graph, CoreProviders context)
run in class BasePhase<CoreProviders>protected ControlFlowGraph.RecursiveVisitor<?> createVisitor(StructuredGraph graph, StructuredGraph.ScheduleResult schedule, CoreProviders context)
public BasePhase<? super CoreProviders> getSchedulePhase()