public static class ReplacementsImpl.GraphMaker extends Object
| Modifier and Type | Field and Description |
|---|---|
protected ResolvedJavaMethod |
method
The method for which a graph is being created.
|
protected ReplacementsImpl |
replacements
The replacements object that the graphs are created for.
|
protected ResolvedJavaMethod |
substitutedMethod
The original method which
ReplacementsImpl.GraphMaker.method is substituting. |
| Constructor and Description |
|---|
GraphMaker(ReplacementsImpl replacements,
ResolvedJavaMethod substitute,
ResolvedJavaMethod substitutedMethod) |
| Modifier and Type | Method and Description |
|---|---|
protected StructuredGraph |
buildInitialGraph(DebugContext debug,
BytecodeProvider bytecodeProvider,
ResolvedJavaMethod methodToParse,
Object[] args,
BitSet nonNullParameters,
boolean trackNodeSourcePosition,
NodeSourcePosition replaceePosition,
IntrinsicContext.CompilationContext context)
Builds the initial graph for a replacement.
|
protected GraphBuilderPhase.Instance |
createGraphBuilder(Providers providers,
GraphBuilderConfiguration graphBuilderConfig,
OptimisticOptimizations optimisticOpts,
IntrinsicContext initialIntrinsicContext) |
protected void |
finalizeGraph(StructuredGraph graph)
Does final processing of a snippet graph.
|
StructuredGraph |
makeGraph(DebugContext debug,
BytecodeProvider bytecodeProvider,
Object[] args,
BitSet nonNullParameters,
boolean trackNodeSourcePosition,
NodeSourcePosition replaceePosition,
IntrinsicContext.CompilationContext context) |
protected final ReplacementsImpl replacements
protected final ResolvedJavaMethod method
protected final ResolvedJavaMethod substitutedMethod
ReplacementsImpl.GraphMaker.method is substituting. Calls to ReplacementsImpl.GraphMaker.method or
ReplacementsImpl.GraphMaker.substitutedMethod will be replaced with a forced inline of
ReplacementsImpl.GraphMaker.substitutedMethod.public GraphMaker(ReplacementsImpl replacements, ResolvedJavaMethod substitute, ResolvedJavaMethod substitutedMethod)
public StructuredGraph makeGraph(DebugContext debug, BytecodeProvider bytecodeProvider, Object[] args, BitSet nonNullParameters, boolean trackNodeSourcePosition, NodeSourcePosition replaceePosition, IntrinsicContext.CompilationContext context)
protected void finalizeGraph(StructuredGraph graph)
protected StructuredGraph buildInitialGraph(DebugContext debug, BytecodeProvider bytecodeProvider, ResolvedJavaMethod methodToParse, Object[] args, BitSet nonNullParameters, boolean trackNodeSourcePosition, NodeSourcePosition replaceePosition, IntrinsicContext.CompilationContext context)
protected GraphBuilderPhase.Instance createGraphBuilder(Providers providers, GraphBuilderConfiguration graphBuilderConfig, OptimisticOptimizations optimisticOpts, IntrinsicContext initialIntrinsicContext)