public class IntrinsicContext extends Object
Modifier and Type | Class and Description |
---|---|
static class |
IntrinsicContext.CompilationContext
Denotes the compilation context in which an intrinsic is being parsed.
|
static interface |
IntrinsicContext.SideEffectsState
Models the state of a graph in terms of
side effects that
are control flow predecessors of the current point in a graph. |
Modifier and Type | Field and Description |
---|---|
(package private) IntrinsicContext.CompilationContext |
compilationContext |
(package private) ResolvedJavaMethod |
intrinsic
Gets the method providing the intrinsic implementation.
|
(package private) ResolvedJavaMethod |
method
Gets the method being intrinsified.
|
Constructor and Description |
---|
IntrinsicContext(ResolvedJavaMethod method,
ResolvedJavaMethod intrinsic,
IntrinsicContext.CompilationContext compilationContext) |
Modifier and Type | Method and Description |
---|---|
FrameState |
createFrameState(StructuredGraph graph,
IntrinsicContext.SideEffectsState sideEffects,
StateSplit forStateSplit) |
ResolvedJavaMethod |
getIntrinsicMethod() |
ResolvedJavaMethod |
getOriginalMethod() |
boolean |
isCallToOriginal(ResolvedJavaMethod targetMethod)
Determines if a call within the compilation scope of this intrinsic represents a call to the
original method.
|
boolean |
isCompilationRoot() |
boolean |
isPostParseInlined() |
String |
toString() |
final ResolvedJavaMethod method
final ResolvedJavaMethod intrinsic
final IntrinsicContext.CompilationContext compilationContext
public IntrinsicContext(ResolvedJavaMethod method, ResolvedJavaMethod intrinsic, IntrinsicContext.CompilationContext compilationContext)
public ResolvedJavaMethod getOriginalMethod()
public ResolvedJavaMethod getIntrinsicMethod()
public boolean isCallToOriginal(ResolvedJavaMethod targetMethod)
public boolean isPostParseInlined()
public boolean isCompilationRoot()
public FrameState createFrameState(StructuredGraph graph, IntrinsicContext.SideEffectsState sideEffects, StateSplit forStateSplit)