public class FloatingReadPhase extends PostRunCanonicalizationPhase<CoreProviders>
| Modifier and Type | Class and Description |
|---|---|
static class |
FloatingReadPhase.FloatingReadClosure |
static class |
FloatingReadPhase.MemoryMapImpl |
BasePhase.ApplyScope, BasePhase.BasePhaseStatistics, BasePhase.PhaseOptions, BasePhase.SharedGlobalPhaseStatecanonicalizer| Constructor and Description |
|---|
FloatingReadPhase(boolean createFloatingReads,
boolean createMemoryMapNodes,
CanonicalizerPhase canonicalizer) |
FloatingReadPhase(CanonicalizerPhase canoncalizer) |
| 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. |
static FloatingReadPhase.MemoryMapImpl |
mergeMemoryMaps(AbstractMergeNode merge,
List<? extends MemoryMap> states) |
protected void |
processBlock(Block b,
org.graalvm.collections.EconomicSet<org.graalvm.word.LocationIdentity> currentState) |
protected void |
processNode(FixedNode node,
org.graalvm.collections.EconomicSet<org.graalvm.word.LocationIdentity> currentState) |
protected void |
run(StructuredGraph graph,
CoreProviders context) |
applyScopeapply, apply, contractorName, equals, getName, hashCode, shouldDumpAfterAtBasicLevel, shouldDumpBeforeAtBasicLevelclone, getClass, notify, notifyAll, toString, wait, wait, waitcheckContractpublic FloatingReadPhase(CanonicalizerPhase canoncalizer)
public FloatingReadPhase(boolean createFloatingReads,
boolean createMemoryMapNodes,
CanonicalizerPhase canonicalizer)
createFloatingReads - specifies whether FloatableAccessNodes like
ReadNode should be converted into floating nodes (e.g.,
FloatingReadNodes) where possiblecreateMemoryMapNodes - a MemoryMapNode will be created for each return if thiscanonicalizer - 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 processNode(FixedNode node, org.graalvm.collections.EconomicSet<org.graalvm.word.LocationIdentity> currentState)
protected void processBlock(Block b, org.graalvm.collections.EconomicSet<org.graalvm.word.LocationIdentity> currentState)
protected void run(StructuredGraph graph, CoreProviders context)
run in class BasePhase<CoreProviders>public static FloatingReadPhase.MemoryMapImpl mergeMemoryMaps(AbstractMergeNode merge, List<? extends MemoryMap> states)