public class CloneTypeFlow extends TypeFlow<jdk.vm.ci.code.BytecodePosition>
| Modifier and Type | Field and Description |
|---|---|
protected AnalysisContext |
allocationContext
The allocation context for the generated clone object.
|
context, declaredType, graphRef, id, inQueue, nextId, source, usedAsAParameter, usedAsAReceiver| Constructor and Description |
|---|
CloneTypeFlow(PointsToAnalysis bb,
CloneTypeFlow original,
MethodFlowsGraph methodFlows,
AnalysisContext allocationContext) |
CloneTypeFlow(org.graalvm.compiler.nodes.ValueNode node,
AnalysisType inputType,
BytecodeLocation cloneLabel,
TypeFlow<?> input) |
| Modifier and Type | Method and Description |
|---|---|
TypeFlow<jdk.vm.ci.code.BytecodePosition> |
copy(PointsToAnalysis bb,
MethodFlowsGraph methodFlows)
By default a type flow is not cloneable.
|
BytecodeLocation |
getCloneSite() |
void |
onObservedSaturated(PointsToAnalysis bb,
TypeFlow<?> observed)
Notified by an observed flow that it is saturated.
|
void |
onObservedUpdate(PointsToAnalysis bb)
Notify the observer that the observed type flow state has changed.
|
void |
setObserved(TypeFlow<?> newInputFlow)
Set the type flow that this flow is observing.
|
String |
toString() |
void |
update(PointsToAnalysis bb) |
addInput, addObservee, addObserver, addOriginalObserver, addOriginalUse, addState, addState, addUse, canSaturate, context, declaredTypeFilter, doAddUse, equals, filter, format, formatSource, getDeclaredType, getInputs, getObservees, getObservers, getSlot, getSource, getState, getUses, graphRef, hashCode, id, initClone, isAllInstantiated, isClone, isSaturated, isUsedAsAParameter, isUsedAsAReceiver, method, notifyObserverOfSaturation, notifyObservers, notifyUseOfSaturation, onInputSaturated, onSaturated, receiver, removeInput, removeObservee, removeObserver, removeUse, replacedObservedWith, replaceObservedWith, setSaturated, setSlot, setState, setUsedAsAParameter, setUsedAsAReceiver, swapAtObserver, swapAtUse, swapOutprotected final AnalysisContext allocationContext
public CloneTypeFlow(org.graalvm.compiler.nodes.ValueNode node,
AnalysisType inputType,
BytecodeLocation cloneLabel,
TypeFlow<?> input)
public CloneTypeFlow(PointsToAnalysis bb, CloneTypeFlow original, MethodFlowsGraph methodFlows, AnalysisContext allocationContext)
public TypeFlow<jdk.vm.ci.code.BytecodePosition> copy(PointsToAnalysis bb, MethodFlowsGraph methodFlows)
TypeFlowpublic void onObservedUpdate(PointsToAnalysis bb)
TypeFlowonObservedUpdate in class TypeFlow<jdk.vm.ci.code.BytecodePosition>public void update(PointsToAnalysis bb)
public void onObservedSaturated(PointsToAnalysis bb, TypeFlow<?> observed)
TypeFlowonObservedSaturated in class TypeFlow<jdk.vm.ci.code.BytecodePosition>public void setObserved(TypeFlow<?> newInputFlow)
TypeFlowsetObserved in class TypeFlow<jdk.vm.ci.code.BytecodePosition>public BytecodeLocation getCloneSite()