public class org.graalvm.compiler.replacements.NodeIntrinsificationProvider implements org.graalvm.compiler.nodes.graphbuilderconf.NodeIntrinsicPluginFactory$InjectionProvider
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.replacements.NodeIntrinsificationProvider
super_class: java.lang.Object
{
private final jdk.vm.ci.meta.MetaAccessProvider metaAccess;
descriptor: Ljdk/vm/ci/meta/MetaAccessProvider;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.compiler.api.replacements.SnippetReflectionProvider snippetReflection;
descriptor: Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.compiler.core.common.spi.ForeignCallsProvider foreignCalls;
descriptor: Lorg/graalvm/compiler/core/common/spi/ForeignCallsProvider;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.compiler.core.common.spi.ArrayOffsetProvider arrayOffsetProvider;
descriptor: Lorg/graalvm/compiler/core/common/spi/ArrayOffsetProvider;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.compiler.word.WordTypes wordTypes;
descriptor: Lorg/graalvm/compiler/word/WordTypes;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(jdk.vm.ci.meta.MetaAccessProvider, org.graalvm.compiler.api.replacements.SnippetReflectionProvider, org.graalvm.compiler.core.common.spi.ForeignCallsProvider, org.graalvm.compiler.core.common.spi.ArrayOffsetProvider, org.graalvm.compiler.word.WordTypes);
descriptor: (Ljdk/vm/ci/meta/MetaAccessProvider;Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;Lorg/graalvm/compiler/core/common/spi/ForeignCallsProvider;Lorg/graalvm/compiler/core/common/spi/ArrayOffsetProvider;Lorg/graalvm/compiler/word/WordTypes;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.graalvm.compiler.replacements.NodeIntrinsificationProvider.metaAccess:Ljdk/vm/ci/meta/MetaAccessProvider;
2: aload 0
aload 2
putfield org.graalvm.compiler.replacements.NodeIntrinsificationProvider.snippetReflection:Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;
3: aload 0
aload 3
putfield org.graalvm.compiler.replacements.NodeIntrinsificationProvider.foreignCalls:Lorg/graalvm/compiler/core/common/spi/ForeignCallsProvider;
4: aload 0
aload 4
putfield org.graalvm.compiler.replacements.NodeIntrinsificationProvider.arrayOffsetProvider:Lorg/graalvm/compiler/core/common/spi/ArrayOffsetProvider;
5: aload 0
aload 5
putfield org.graalvm.compiler.replacements.NodeIntrinsificationProvider.wordTypes:Lorg/graalvm/compiler/word/WordTypes;
6: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/graalvm/compiler/replacements/NodeIntrinsificationProvider;
0 7 1 metaAccess Ljdk/vm/ci/meta/MetaAccessProvider;
0 7 2 snippetReflection Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;
0 7 3 foreignCalls Lorg/graalvm/compiler/core/common/spi/ForeignCallsProvider;
0 7 4 arrayOffsetProvider Lorg/graalvm/compiler/core/common/spi/ArrayOffsetProvider;
0 7 5 wordTypes Lorg/graalvm/compiler/word/WordTypes;
MethodParameters:
Name Flags
metaAccess
snippetReflection
foreignCalls
arrayOffsetProvider
wordTypes
public org.graalvm.compiler.core.common.type.Stamp getInjectedStamp(java.lang.Class<?>, boolean);
descriptor: (Ljava/lang/Class;Z)Lorg/graalvm/compiler/core/common/type/Stamp;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic jdk.vm.ci.meta.JavaKind.fromJavaClass:(Ljava/lang/Class;)Ljdk/vm/ci/meta/JavaKind;
astore 3
start local 3 1: aload 3
getstatic jdk.vm.ci.meta.JavaKind.Object:Ljdk/vm/ci/meta/JavaKind;
if_acmpne 6
2: aload 0
getfield org.graalvm.compiler.replacements.NodeIntrinsificationProvider.metaAccess:Ljdk/vm/ci/meta/MetaAccessProvider;
aload 1
invokeinterface jdk.vm.ci.meta.MetaAccessProvider.lookupJavaType:(Ljava/lang/Class;)Ljdk/vm/ci/meta/ResolvedJavaType;
astore 4
start local 4 3: aload 0
getfield org.graalvm.compiler.replacements.NodeIntrinsificationProvider.wordTypes:Lorg/graalvm/compiler/word/WordTypes;
aload 4
invokevirtual org.graalvm.compiler.word.WordTypes.isWord:(Ljdk/vm/ci/meta/JavaType;)Z
ifeq 5
4: aload 0
getfield org.graalvm.compiler.replacements.NodeIntrinsificationProvider.wordTypes:Lorg/graalvm/compiler/word/WordTypes;
aload 4
invokevirtual org.graalvm.compiler.word.WordTypes.getWordStamp:(Ljdk/vm/ci/meta/ResolvedJavaType;)Lorg/graalvm/compiler/core/common/type/Stamp;
areturn
5: StackMap locals: jdk.vm.ci.meta.JavaKind jdk.vm.ci.meta.ResolvedJavaType
StackMap stack:
aload 4
invokestatic org.graalvm.compiler.core.common.type.TypeReference.createWithoutAssumptions:(Ljdk/vm/ci/meta/ResolvedJavaType;)Lorg/graalvm/compiler/core/common/type/TypeReference;
iload 2
invokestatic org.graalvm.compiler.core.common.type.StampFactory.object:(Lorg/graalvm/compiler/core/common/type/TypeReference;Z)Lorg/graalvm/compiler/core/common/type/ObjectStamp;
areturn
end local 4 6: StackMap locals:
StackMap stack:
aload 3
invokestatic org.graalvm.compiler.core.common.type.StampFactory.forKind:(Ljdk/vm/ci/meta/JavaKind;)Lorg/graalvm/compiler/core/common/type/Stamp;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/graalvm/compiler/replacements/NodeIntrinsificationProvider;
0 7 1 type Ljava/lang/Class<*>;
0 7 2 nonNull Z
1 7 3 kind Ljdk/vm/ci/meta/JavaKind;
3 6 4 returnType Ljdk/vm/ci/meta/ResolvedJavaType;
Signature: (Ljava/lang/Class<*>;Z)Lorg/graalvm/compiler/core/common/type/Stamp;
MethodParameters:
Name Flags
type
nonNull
public <T> T getInjectedArgument(java.lang.Class<T>);
descriptor: (Ljava/lang/Class;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.replacements.NodeIntrinsificationProvider.snippetReflection:Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;
aload 1
invokeinterface org.graalvm.compiler.api.replacements.SnippetReflectionProvider.getInjectedNodeIntrinsicParameter:(Ljava/lang/Class;)Ljava/lang/Object;
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 2
areturn
3: StackMap locals: java.lang.Object
StackMap stack:
aload 1
ldc Lorg/graalvm/compiler/core/common/spi/ForeignCallsProvider;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 5
4: aload 1
aload 0
getfield org.graalvm.compiler.replacements.NodeIntrinsificationProvider.foreignCalls:Lorg/graalvm/compiler/core/common/spi/ForeignCallsProvider;
invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
5: StackMap locals:
StackMap stack:
aload 1
ldc Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 7
6: aload 1
aload 0
getfield org.graalvm.compiler.replacements.NodeIntrinsificationProvider.snippetReflection:Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;
invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
7: StackMap locals:
StackMap stack:
aload 1
ldc Lorg/graalvm/compiler/core/common/spi/ArrayOffsetProvider;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 9
8: aload 1
aload 0
getfield org.graalvm.compiler.replacements.NodeIntrinsificationProvider.arrayOffsetProvider:Lorg/graalvm/compiler/core/common/spi/ArrayOffsetProvider;
invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
9: StackMap locals:
StackMap stack:
new org.graalvm.compiler.debug.GraalError
dup
ldc "Cannot handle injected argument of type %s."
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
invokespecial org.graalvm.compiler.debug.GraalError.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/graalvm/compiler/replacements/NodeIntrinsificationProvider;
0 10 1 type Ljava/lang/Class<TT;>;
1 10 2 injected TT;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;)TT;
MethodParameters:
Name Flags
type
}
SourceFile: "NodeIntrinsificationProvider.java"
InnerClasses:
public abstract InjectionProvider = org.graalvm.compiler.nodes.graphbuilderconf.NodeIntrinsicPluginFactory$InjectionProvider of org.graalvm.compiler.nodes.graphbuilderconf.NodeIntrinsicPluginFactory