public class HostedGraphKit extends SubstrateGraphKit
| Constructor and Description |
|---|
HostedGraphKit(org.graalvm.compiler.debug.DebugContext debug,
com.oracle.graal.pointsto.meta.HostedProviders providers,
jdk.vm.ci.meta.ResolvedJavaMethod method) |
| Modifier and Type | Method and Description |
|---|---|
<T extends org.graalvm.compiler.nodes.WithExceptionNode> |
appendWithUnwind(T withExceptionNode)
Appends the provided node to the control flow graph.
|
org.graalvm.compiler.nodes.extended.BytecodeExceptionNode |
createBytecodeExceptionObjectNode(org.graalvm.compiler.nodes.extended.BytecodeExceptionNode.BytecodeExceptionKind exceptionKind,
boolean rethrow,
org.graalvm.compiler.nodes.ValueNode... arguments) |
org.graalvm.compiler.nodes.extended.GuardingNode |
createCheckThrowingBytecodeException(org.graalvm.compiler.nodes.LogicNode condition,
boolean failOnTrue,
org.graalvm.compiler.nodes.extended.BytecodeExceptionNode.BytecodeExceptionKind exceptionKind,
org.graalvm.compiler.nodes.ValueNode... arguments) |
protected org.graalvm.compiler.java.GraphBuilderPhase.Instance |
createGraphBuilderInstance(org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration graphBuilderConfig,
org.graalvm.compiler.phases.OptimisticOptimizations optimisticOpts,
org.graalvm.compiler.nodes.graphbuilderconf.IntrinsicContext initialIntrinsicContext) |
org.graalvm.compiler.nodes.java.LoadFieldNode |
createLoadFieldNode(org.graalvm.compiler.nodes.ConstantNode receiver,
Class<BoxedRelocatedPointer> clazz,
String fieldName) |
protected org.graalvm.compiler.nodes.java.MethodCallTargetNode |
createMethodCallTarget(org.graalvm.compiler.nodes.CallTargetNode.InvokeKind invokeKind,
jdk.vm.ci.meta.ResolvedJavaMethod targetMethod,
org.graalvm.compiler.nodes.ValueNode[] args,
org.graalvm.compiler.core.common.type.StampPair returnStamp,
int bci) |
void |
emitEnsureInitializedCall(jdk.vm.ci.meta.ResolvedJavaType type) |
org.graalvm.compiler.nodes.ValueNode |
maybeCreateExplicitNullCheck(org.graalvm.compiler.nodes.ValueNode object) |
appendStateSplitProxy, appendStateSplitProxy, appendWithUnwind, bci, createBoxing, createCFunctionCall, createConstant, createIndirectCall, createInt, createInvokeWithExceptionAndUnwind, createJavaCallWithException, createJavaCallWithExceptionAndUnwind, createLoadField, createLoadIndexed, createLong, createObject, createPiNode, createReturn, createStoreIndexed, createUnboxing, finalizeGraph, getFrameState, getLoweringProvider, isWord, loadArguments, loadLocal, storeLocaladd, append, asKind, changeToWord, checkArgs, createExceptionObjectNode, createIntrinsicInvoke, createInvoke, createInvoke, createInvoke, createInvokeWithExceptionAndUnwind, createInvokeWithExceptionAndUnwind, elsePart, endIf, endInvokeWithException, exceptionObject, exceptionPart, findMethod, findMethod, getGraph, getTopStructure, inline, inlineAsIntrinsic, inlineInvokesAsIntrinsics, noExceptionPart, parsingIntrinsic, popStructure, pushStructure, setStateAfterException, startIf, startInvokeWithException, startInvokeWithException, thenPart, unique, wordStampgetConstantFieldProvider, getConstantReflection, getForeignCalls, getLoopsDataProvider, getLowerer, getMetaAccess, getMetaAccessExtensionProvider, getPlatformConfigurationProvider, getProviders, getReplacements, getStampProvider, getWordVerificationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanDeferPlugin, getAssumptions, getDebug, getOptions, shouldDeferPlugingetConstantFieldProvider, getConstantReflection, getForeignCalls, getLoopsDataProvider, getLowerer, getMetaAccess, getMetaAccessExtensionProvider, getPlatformConfigurationProvider, getReplacements, getStampProvider, getWordVerificationpublic HostedGraphKit(org.graalvm.compiler.debug.DebugContext debug,
com.oracle.graal.pointsto.meta.HostedProviders providers,
jdk.vm.ci.meta.ResolvedJavaMethod method)
protected org.graalvm.compiler.nodes.java.MethodCallTargetNode createMethodCallTarget(org.graalvm.compiler.nodes.CallTargetNode.InvokeKind invokeKind,
jdk.vm.ci.meta.ResolvedJavaMethod targetMethod,
org.graalvm.compiler.nodes.ValueNode[] args,
org.graalvm.compiler.core.common.type.StampPair returnStamp,
int bci)
createMethodCallTarget in class SubstrateGraphKitprotected org.graalvm.compiler.java.GraphBuilderPhase.Instance createGraphBuilderInstance(org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration graphBuilderConfig,
org.graalvm.compiler.phases.OptimisticOptimizations optimisticOpts,
org.graalvm.compiler.nodes.graphbuilderconf.IntrinsicContext initialIntrinsicContext)
createGraphBuilderInstance in class org.graalvm.compiler.replacements.GraphKitpublic void emitEnsureInitializedCall(jdk.vm.ci.meta.ResolvedJavaType type)
public <T extends org.graalvm.compiler.nodes.WithExceptionNode> T appendWithUnwind(T withExceptionNode)
UnwindNode, i.e., the exception is not handled in this method.public org.graalvm.compiler.nodes.java.LoadFieldNode createLoadFieldNode(org.graalvm.compiler.nodes.ConstantNode receiver,
Class<BoxedRelocatedPointer> clazz,
String fieldName)
public org.graalvm.compiler.nodes.extended.GuardingNode createCheckThrowingBytecodeException(org.graalvm.compiler.nodes.LogicNode condition,
boolean failOnTrue,
org.graalvm.compiler.nodes.extended.BytecodeExceptionNode.BytecodeExceptionKind exceptionKind,
org.graalvm.compiler.nodes.ValueNode... arguments)
public org.graalvm.compiler.nodes.extended.BytecodeExceptionNode createBytecodeExceptionObjectNode(org.graalvm.compiler.nodes.extended.BytecodeExceptionNode.BytecodeExceptionKind exceptionKind,
boolean rethrow,
org.graalvm.compiler.nodes.ValueNode... arguments)
public org.graalvm.compiler.nodes.ValueNode maybeCreateExplicitNullCheck(org.graalvm.compiler.nodes.ValueNode object)