public abstract class AbstractVirtualInvokeTypeFlow extends InvokeTypeFlow
| Modifier and Type | Field and Description |
|---|---|
protected Object |
callees |
protected Object |
invokeLocations
The context insensitive invoke needs to keep track of all the locations it is swapped in.
|
actualParameters, actualReturn, allOriginalCallees, callerMultiMethodKey, isContextInsensitive, originalInvoke, receiverType, targetMethod| Modifier | Constructor and Description |
|---|---|
protected |
AbstractVirtualInvokeTypeFlow(BytecodePosition invokeLocation,
AnalysisType receiverType,
PointsToAnalysisMethod targetMethod,
TypeFlow<?>[] actualParameters,
ActualReturnTypeFlow actualReturn,
com.oracle.svm.common.meta.MultiMethod.MultiMethodKey callerMultiMethodKey) |
protected |
AbstractVirtualInvokeTypeFlow(PointsToAnalysis bb,
MethodFlowsGraph methodFlows,
AbstractVirtualInvokeTypeFlow original) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
addCallee(AnalysisMethod callee) |
boolean |
addInvokeLocation(BytecodePosition invokeLocation) |
boolean |
addState(PointsToAnalysis bb,
TypeState add,
boolean postFlow) |
Collection<AnalysisMethod> |
getAllCallees()
Retrieves list of all callees.
|
Collection<AnalysisMethod> |
getAllComputedCallees()
Returns all callees which have been computed for this method.
|
Collection<BytecodePosition> |
getInvokeLocations()
The context insensitive virtual invoke returns all the locations where it is swapped in.
|
boolean |
isDirectInvoke() |
abstract void |
onObservedSaturated(PointsToAnalysis bb,
TypeFlow<?> observed)
Notified by an observed flow that it is saturated.
|
abstract void |
onObservedUpdate(PointsToAnalysis bb)
Notify the observer that the observed type flow state has changed.
|
String |
toString() |
void |
update(PointsToAnalysis bb) |
actualParametersCount, canBeStaticallyBound, filterReceiverState, getActualParameter, getActualParameters, getActualReturn, getAllCalleesFlows, getCallerMultiMethodKey, getOriginalCallees, getOriginalCalleesFlows, getOriginalInvoke, getPosition, getReceiver, getReceiverType, getResult, getTargetMethod, isContextInsensitive, isContextInsensitiveVirtualInvoke, linkCallee, linkReturn, markAsContextInsensitive, setActualReturn, setObserved, updateReceiver, updateReceiveraddInput, addObservee, addObserver, addObserver, addState, addUse, addUse, canSaturate, clearInputs, clearObservees, clearObservers, clearUses, copy, declaredTypeFilter, declaredTypeFilter, doAddUse, equals, filter, filterUncheckedInterface, format, formatSource, getDeclaredType, getInputs, getObservees, getObservers, getSlot, getSource, getState, getUses, graphRef, hashCode, id, initFlow, invalidate, isAllInstantiated, isClone, isSaturated, isValid, method, needsInitialization, notifyObserverOfSaturation, notifyUseOfSaturation, onInputSaturated, onSaturated, onSaturated, receiver, removeObserver, removeUse, replacedObservedWith, replaceObservedWith, setSaturated, setSlot, setState, swapAtObserver, swapAtUse, swapOutisDeoptInvokeTypeFlowprotected volatile Object callees
protected volatile Object invokeLocations
protected AbstractVirtualInvokeTypeFlow(BytecodePosition invokeLocation,
AnalysisType receiverType,
PointsToAnalysisMethod targetMethod,
TypeFlow<?>[] actualParameters,
ActualReturnTypeFlow actualReturn,
com.oracle.svm.common.meta.MultiMethod.MultiMethodKey callerMultiMethodKey)
protected AbstractVirtualInvokeTypeFlow(PointsToAnalysis bb, MethodFlowsGraph methodFlows, AbstractVirtualInvokeTypeFlow original)
public boolean addInvokeLocation(BytecodePosition invokeLocation)
public Collection<BytecodePosition> getInvokeLocations()
public final boolean isDirectInvoke()
public boolean addState(PointsToAnalysis bb, TypeState add, boolean postFlow)
public void update(PointsToAnalysis bb)
public abstract void onObservedUpdate(PointsToAnalysis bb)
TypeFlowonObservedUpdate in class TypeFlow<BytecodePosition>public abstract void onObservedSaturated(PointsToAnalysis bb, TypeFlow<?> observed)
TypeFlowonObservedSaturated in class TypeFlow<BytecodePosition>protected boolean addCallee(AnalysisMethod callee)
public Collection<AnalysisMethod> getAllCallees()
InvokeInfoAnalysisMethod.isImplementationInvoked().getAllCallees in interface InvokeInfogetAllCallees in class InvokeTypeFlowpublic final Collection<AnalysisMethod> getAllComputedCallees()
InvokeTypeFlowgetAllComputedCallees in class InvokeTypeFlow