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(BigBang 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(BigBang bb,
MethodFlowsGraph methodFlows)
By default a type flow is not cloneable.
|
BytecodeLocation |
getCloneSite() |
void |
onObservedSaturated(BigBang bb,
TypeFlow<?> observed)
Notified by an observed flow that it is saturated.
|
void |
onObservedUpdate(BigBang 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(BigBang bb) |
addInput, addObservee, addObserver, addOriginalObserver, addOriginalUse, addState, addState, addUse, canSaturate, context, declaredTypeFilter, doAddUse, equals, filter, getDeclaredType, getInputs, getObservees, getObservers, getSlot, getSource, getState, getUses, graphRef, hashCode, id, initClone, isAllInstantiated, isClone, isCloseToAllInstantiated, isSaturated, isUsedAsAParameter, isUsedAsAReceiver, method, notifyObservers, onInputSaturated, onSaturated, receiver, removeInput, removeObservee, removeObserver, removeUse, replacedObservedWith, replaceObservedWith, setSaturated, setSlot, setState, setUsedAsAParameter, setUsedAsAReceiver, swapOut
protected final AnalysisContext allocationContext
public CloneTypeFlow(org.graalvm.compiler.nodes.ValueNode node, AnalysisType inputType, BytecodeLocation cloneLabel, TypeFlow<?> input)
public CloneTypeFlow(BigBang bb, CloneTypeFlow original, MethodFlowsGraph methodFlows, AnalysisContext allocationContext)
public TypeFlow<jdk.vm.ci.code.BytecodePosition> copy(BigBang bb, MethodFlowsGraph methodFlows)
TypeFlow
public void onObservedUpdate(BigBang bb)
TypeFlow
onObservedUpdate
in class TypeFlow<jdk.vm.ci.code.BytecodePosition>
public void update(BigBang bb)
public void onObservedSaturated(BigBang bb, TypeFlow<?> observed)
TypeFlow
onObservedSaturated
in class TypeFlow<jdk.vm.ci.code.BytecodePosition>
public void setObserved(TypeFlow<?> newInputFlow)
TypeFlow
setObserved
in class TypeFlow<jdk.vm.ci.code.BytecodePosition>
public BytecodeLocation getCloneSite()