public class org.graalvm.compiler.replacements.ConstantStringIndexOfSnippets$Templates extends org.graalvm.compiler.replacements.SnippetTemplate$AbstractTemplates
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.replacements.ConstantStringIndexOfSnippets$Templates
super_class: org.graalvm.compiler.replacements.SnippetTemplate$AbstractTemplates
{
private final org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo indexOfConstant;
descriptor: Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo latin1IndexOfConstant;
descriptor: Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo utf16IndexOfConstant;
descriptor: Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(org.graalvm.compiler.options.OptionValues, java.lang.Iterable<org.graalvm.compiler.debug.DebugHandlersFactory>, org.graalvm.compiler.phases.util.Providers, org.graalvm.compiler.api.replacements.SnippetReflectionProvider, jdk.vm.ci.code.TargetDescription);
descriptor: (Lorg/graalvm/compiler/options/OptionValues;Ljava/lang/Iterable;Lorg/graalvm/compiler/phases/util/Providers;Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;Ljdk/vm/ci/code/TargetDescription;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, 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
aload 1
aload 2
aload 3
aload 4
aload 5
invokespecial org.graalvm.compiler.replacements.SnippetTemplate$AbstractTemplates.<init>:(Lorg/graalvm/compiler/options/OptionValues;Ljava/lang/Iterable;Lorg/graalvm/compiler/phases/util/Providers;Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;Ljdk/vm/ci/code/TargetDescription;)V
1: aload 0
aload 0
ldc Lorg/graalvm/compiler/replacements/ConstantStringIndexOfSnippets;
ldc "indexOfConstant"
iconst_0
anewarray jdk.internal.vm.compiler.word.LocationIdentity
invokevirtual org.graalvm.compiler.replacements.ConstantStringIndexOfSnippets$Templates.snippet:(Ljava/lang/Class;Ljava/lang/String;[Ljdk/internal/vm/compiler/word/LocationIdentity;)Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
putfield org.graalvm.compiler.replacements.ConstantStringIndexOfSnippets$Templates.indexOfConstant:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
2: aload 0
aload 0
ldc Lorg/graalvm/compiler/replacements/ConstantStringIndexOfSnippets;
ldc "latin1IndexOfConstant"
iconst_0
anewarray jdk.internal.vm.compiler.word.LocationIdentity
invokevirtual org.graalvm.compiler.replacements.ConstantStringIndexOfSnippets$Templates.snippet:(Ljava/lang/Class;Ljava/lang/String;[Ljdk/internal/vm/compiler/word/LocationIdentity;)Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
putfield org.graalvm.compiler.replacements.ConstantStringIndexOfSnippets$Templates.latin1IndexOfConstant:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
3: aload 0
aload 0
ldc Lorg/graalvm/compiler/replacements/ConstantStringIndexOfSnippets;
ldc "utf16IndexOfConstant"
iconst_0
anewarray jdk.internal.vm.compiler.word.LocationIdentity
invokevirtual org.graalvm.compiler.replacements.ConstantStringIndexOfSnippets$Templates.snippet:(Ljava/lang/Class;Ljava/lang/String;[Ljdk/internal/vm/compiler/word/LocationIdentity;)Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
putfield org.graalvm.compiler.replacements.ConstantStringIndexOfSnippets$Templates.utf16IndexOfConstant:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
4: 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 5 0 this Lorg/graalvm/compiler/replacements/ConstantStringIndexOfSnippets$Templates;
0 5 1 options Lorg/graalvm/compiler/options/OptionValues;
0 5 2 factories Ljava/lang/Iterable<Lorg/graalvm/compiler/debug/DebugHandlersFactory;>;
0 5 3 providers Lorg/graalvm/compiler/phases/util/Providers;
0 5 4 snippetReflection Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;
0 5 5 target Ljdk/vm/ci/code/TargetDescription;
Signature: (Lorg/graalvm/compiler/options/OptionValues;Ljava/lang/Iterable<Lorg/graalvm/compiler/debug/DebugHandlersFactory;>;Lorg/graalvm/compiler/phases/util/Providers;Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;Ljdk/vm/ci/code/TargetDescription;)V
MethodParameters:
Name Flags
options
factories
providers
snippetReflection
target
public void lower(org.graalvm.compiler.replacements.SnippetLowerableMemoryNode, org.graalvm.compiler.nodes.spi.LoweringTool);
descriptor: (Lorg/graalvm/compiler/replacements/SnippetLowerableMemoryNode;Lorg/graalvm/compiler/nodes/spi/LoweringTool;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual org.graalvm.compiler.replacements.SnippetLowerableMemoryNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
astore 3
start local 3 1: new org.graalvm.compiler.replacements.SnippetTemplate$Arguments
dup
aload 0
getfield org.graalvm.compiler.replacements.ConstantStringIndexOfSnippets$Templates.indexOfConstant:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
aload 3
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getGuardsStage:()Lorg/graalvm/compiler/nodes/StructuredGraph$GuardsStage;
aload 2
invokeinterface org.graalvm.compiler.nodes.spi.LoweringTool.getLoweringStage:()Lorg/graalvm/compiler/nodes/spi/LoweringTool$LoweringStage;
invokespecial org.graalvm.compiler.replacements.SnippetTemplate$Arguments.<init>:(Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;Lorg/graalvm/compiler/nodes/StructuredGraph$GuardsStage;Lorg/graalvm/compiler/nodes/spi/LoweringTool$LoweringStage;)V
astore 4
start local 4 2: aload 4
ldc "source"
aload 1
iconst_0
invokevirtual org.graalvm.compiler.replacements.SnippetLowerableMemoryNode.getArgument:(I)Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.add:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
3: aload 4
ldc "sourceOffset"
aload 1
iconst_1
invokevirtual org.graalvm.compiler.replacements.SnippetLowerableMemoryNode.getArgument:(I)Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.add:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
4: aload 4
ldc "sourceCount"
aload 1
iconst_2
invokevirtual org.graalvm.compiler.replacements.SnippetLowerableMemoryNode.getArgument:(I)Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.add:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
5: aload 4
ldc "target"
aload 1
iconst_3
invokevirtual org.graalvm.compiler.replacements.SnippetLowerableMemoryNode.getArgument:(I)Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.addConst:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
6: aload 4
ldc "targetOffset"
aload 1
iconst_4
invokevirtual org.graalvm.compiler.replacements.SnippetLowerableMemoryNode.getArgument:(I)Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.add:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
7: aload 4
ldc "targetCount"
aload 1
iconst_5
invokevirtual org.graalvm.compiler.replacements.SnippetLowerableMemoryNode.getArgument:(I)Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.add:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
8: aload 4
ldc "origFromIndex"
aload 1
bipush 6
invokevirtual org.graalvm.compiler.replacements.SnippetLowerableMemoryNode.getArgument:(I)Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.add:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
9: aload 1
iconst_3
invokevirtual org.graalvm.compiler.replacements.SnippetLowerableMemoryNode.getArgument:(I)Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.nodes.ValueNode.asJavaConstant:()Ljdk/vm/ci/meta/JavaConstant;
astore 5
start local 5 10: aload 0
getfield org.graalvm.compiler.replacements.ConstantStringIndexOfSnippets$Templates.providers:Lorg/graalvm/compiler/phases/util/Providers;
invokevirtual org.graalvm.compiler.phases.util.Providers.getConstantReflection:()Ljdk/vm/ci/meta/ConstantReflectionProvider;
aload 5
ldc 2147483647
invokestatic org.graalvm.compiler.nodes.util.ConstantReflectionUtil.loadCharArrayConstant:(Ljdk/vm/ci/meta/ConstantReflectionProvider;Ljdk/vm/ci/meta/JavaConstant;I)[C
astore 6
start local 6 11: aload 4
ldc "md2"
aload 6
invokestatic org.graalvm.compiler.replacements.ConstantStringIndexOfSnippets.md2:([C)I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.addConst:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
12: aload 4
ldc "cache"
aload 6
invokestatic org.graalvm.compiler.replacements.ConstantStringIndexOfSnippets.computeCache:([C)J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.addConst:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
13: aload 0
aload 1
aload 4
invokevirtual org.graalvm.compiler.replacements.ConstantStringIndexOfSnippets$Templates.template:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;)Lorg/graalvm/compiler/replacements/SnippetTemplate;
aload 0
getfield org.graalvm.compiler.replacements.ConstantStringIndexOfSnippets$Templates.providers:Lorg/graalvm/compiler/phases/util/Providers;
invokevirtual org.graalvm.compiler.phases.util.Providers.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
aload 1
getstatic org.graalvm.compiler.replacements.SnippetTemplate.DEFAULT_REPLACER:Lorg/graalvm/compiler/replacements/SnippetTemplate$UsageReplacer;
aload 4
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate.instantiate:(Ljdk/vm/ci/meta/MetaAccessProvider;Lorg/graalvm/compiler/nodes/FixedNode;Lorg/graalvm/compiler/replacements/SnippetTemplate$UsageReplacer;Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;)Ljdk/internal/vm/compiler/collections/UnmodifiableEconomicMap;
pop
14: return
end local 6 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 15 0 this Lorg/graalvm/compiler/replacements/ConstantStringIndexOfSnippets$Templates;
0 15 1 stringIndexOf Lorg/graalvm/compiler/replacements/SnippetLowerableMemoryNode;
0 15 2 tool Lorg/graalvm/compiler/nodes/spi/LoweringTool;
1 15 3 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
2 15 4 args Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
10 15 5 targetArg Ljdk/vm/ci/meta/JavaConstant;
11 15 6 targetCharArray [C
MethodParameters:
Name Flags
stringIndexOf
tool
public void lowerLatin1(org.graalvm.compiler.replacements.SnippetLowerableMemoryNode, org.graalvm.compiler.nodes.spi.LoweringTool);
descriptor: (Lorg/graalvm/compiler/replacements/SnippetLowerableMemoryNode;Lorg/graalvm/compiler/nodes/spi/LoweringTool;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual org.graalvm.compiler.replacements.SnippetLowerableMemoryNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
astore 3
start local 3 1: new org.graalvm.compiler.replacements.SnippetTemplate$Arguments
dup
aload 0
getfield org.graalvm.compiler.replacements.ConstantStringIndexOfSnippets$Templates.latin1IndexOfConstant:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
aload 3
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getGuardsStage:()Lorg/graalvm/compiler/nodes/StructuredGraph$GuardsStage;
aload 2
invokeinterface org.graalvm.compiler.nodes.spi.LoweringTool.getLoweringStage:()Lorg/graalvm/compiler/nodes/spi/LoweringTool$LoweringStage;
invokespecial org.graalvm.compiler.replacements.SnippetTemplate$Arguments.<init>:(Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;Lorg/graalvm/compiler/nodes/StructuredGraph$GuardsStage;Lorg/graalvm/compiler/nodes/spi/LoweringTool$LoweringStage;)V
astore 4
start local 4 2: aload 4
ldc "source"
aload 1
iconst_0
invokevirtual org.graalvm.compiler.replacements.SnippetLowerableMemoryNode.getArgument:(I)Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.add:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
3: aload 4
ldc "sourceCount"
aload 1
iconst_1
invokevirtual org.graalvm.compiler.replacements.SnippetLowerableMemoryNode.getArgument:(I)Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.add:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
4: aload 4
ldc "target"
aload 1
iconst_2
invokevirtual org.graalvm.compiler.replacements.SnippetLowerableMemoryNode.getArgument:(I)Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.addConst:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
5: aload 4
ldc "targetCount"
aload 1
iconst_3
invokevirtual org.graalvm.compiler.replacements.SnippetLowerableMemoryNode.getArgument:(I)Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.add:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
6: aload 4
ldc "origFromIndex"
aload 1
iconst_4
invokevirtual org.graalvm.compiler.replacements.SnippetLowerableMemoryNode.getArgument:(I)Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.add:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
7: aload 1
iconst_2
invokevirtual org.graalvm.compiler.replacements.SnippetLowerableMemoryNode.getArgument:(I)Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.nodes.ValueNode.asJavaConstant:()Ljdk/vm/ci/meta/JavaConstant;
astore 5
start local 5 8: aload 0
getfield org.graalvm.compiler.replacements.ConstantStringIndexOfSnippets$Templates.providers:Lorg/graalvm/compiler/phases/util/Providers;
invokevirtual org.graalvm.compiler.phases.util.Providers.getConstantReflection:()Ljdk/vm/ci/meta/ConstantReflectionProvider;
aload 5
ldc 2147483647
invokestatic org.graalvm.compiler.nodes.util.ConstantReflectionUtil.loadByteArrayConstant:(Ljdk/vm/ci/meta/ConstantReflectionProvider;Ljdk/vm/ci/meta/JavaConstant;I)[B
astore 6
start local 6 9: aload 4
ldc "md2"
aload 6
invokestatic org.graalvm.compiler.replacements.ConstantStringIndexOfSnippets.md2:([B)I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.addConst:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
10: aload 4
ldc "cache"
aload 6
invokestatic org.graalvm.compiler.replacements.ConstantStringIndexOfSnippets.computeCache:([B)J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.addConst:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
11: aload 0
aload 1
aload 4
invokevirtual org.graalvm.compiler.replacements.ConstantStringIndexOfSnippets$Templates.template:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;)Lorg/graalvm/compiler/replacements/SnippetTemplate;
aload 0
getfield org.graalvm.compiler.replacements.ConstantStringIndexOfSnippets$Templates.providers:Lorg/graalvm/compiler/phases/util/Providers;
invokevirtual org.graalvm.compiler.phases.util.Providers.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
aload 1
getstatic org.graalvm.compiler.replacements.SnippetTemplate.DEFAULT_REPLACER:Lorg/graalvm/compiler/replacements/SnippetTemplate$UsageReplacer;
aload 4
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate.instantiate:(Ljdk/vm/ci/meta/MetaAccessProvider;Lorg/graalvm/compiler/nodes/FixedNode;Lorg/graalvm/compiler/replacements/SnippetTemplate$UsageReplacer;Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;)Ljdk/internal/vm/compiler/collections/UnmodifiableEconomicMap;
pop
12: return
end local 6 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 13 0 this Lorg/graalvm/compiler/replacements/ConstantStringIndexOfSnippets$Templates;
0 13 1 latin1IndexOf Lorg/graalvm/compiler/replacements/SnippetLowerableMemoryNode;
0 13 2 tool Lorg/graalvm/compiler/nodes/spi/LoweringTool;
1 13 3 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
2 13 4 args Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
8 13 5 targetArg Ljdk/vm/ci/meta/JavaConstant;
9 13 6 targetByteArray [B
MethodParameters:
Name Flags
latin1IndexOf
tool
public void lowerUTF16(org.graalvm.compiler.replacements.SnippetLowerableMemoryNode, org.graalvm.compiler.nodes.spi.LoweringTool);
descriptor: (Lorg/graalvm/compiler/replacements/SnippetLowerableMemoryNode;Lorg/graalvm/compiler/nodes/spi/LoweringTool;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual org.graalvm.compiler.replacements.SnippetLowerableMemoryNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
astore 3
start local 3 1: new org.graalvm.compiler.replacements.SnippetTemplate$Arguments
dup
aload 0
getfield org.graalvm.compiler.replacements.ConstantStringIndexOfSnippets$Templates.utf16IndexOfConstant:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
aload 3
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getGuardsStage:()Lorg/graalvm/compiler/nodes/StructuredGraph$GuardsStage;
aload 2
invokeinterface org.graalvm.compiler.nodes.spi.LoweringTool.getLoweringStage:()Lorg/graalvm/compiler/nodes/spi/LoweringTool$LoweringStage;
invokespecial org.graalvm.compiler.replacements.SnippetTemplate$Arguments.<init>:(Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;Lorg/graalvm/compiler/nodes/StructuredGraph$GuardsStage;Lorg/graalvm/compiler/nodes/spi/LoweringTool$LoweringStage;)V
astore 4
start local 4 2: aload 4
ldc "source"
aload 1
iconst_0
invokevirtual org.graalvm.compiler.replacements.SnippetLowerableMemoryNode.getArgument:(I)Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.add:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
3: aload 4
ldc "sourceCount"
aload 1
iconst_1
invokevirtual org.graalvm.compiler.replacements.SnippetLowerableMemoryNode.getArgument:(I)Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.add:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
4: aload 4
ldc "target"
aload 1
iconst_2
invokevirtual org.graalvm.compiler.replacements.SnippetLowerableMemoryNode.getArgument:(I)Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.addConst:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
5: aload 4
ldc "targetCount"
aload 1
iconst_3
invokevirtual org.graalvm.compiler.replacements.SnippetLowerableMemoryNode.getArgument:(I)Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.add:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
6: aload 4
ldc "origFromIndex"
aload 1
iconst_4
invokevirtual org.graalvm.compiler.replacements.SnippetLowerableMemoryNode.getArgument:(I)Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.add:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
7: aload 1
iconst_2
invokevirtual org.graalvm.compiler.replacements.SnippetLowerableMemoryNode.getArgument:(I)Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.nodes.ValueNode.asJavaConstant:()Ljdk/vm/ci/meta/JavaConstant;
astore 5
start local 5 8: aload 0
getfield org.graalvm.compiler.replacements.ConstantStringIndexOfSnippets$Templates.providers:Lorg/graalvm/compiler/phases/util/Providers;
invokevirtual org.graalvm.compiler.phases.util.Providers.getConstantReflection:()Ljdk/vm/ci/meta/ConstantReflectionProvider;
aload 5
ldc 2147483647
invokestatic org.graalvm.compiler.nodes.util.ConstantReflectionUtil.loadByteArrayConstant:(Ljdk/vm/ci/meta/ConstantReflectionProvider;Ljdk/vm/ci/meta/JavaConstant;I)[B
astore 6
start local 6 9: aload 4
ldc "md2"
aload 2
invokeinterface org.graalvm.compiler.nodes.spi.LoweringTool.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
aload 6
invokestatic org.graalvm.compiler.replacements.ConstantStringIndexOfSnippets.md2Utf16:(Ljdk/vm/ci/meta/MetaAccessProvider;[B)I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.addConst:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
10: aload 4
ldc "cache"
aload 2
invokeinterface org.graalvm.compiler.nodes.spi.LoweringTool.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
aload 6
invokestatic org.graalvm.compiler.replacements.ConstantStringIndexOfSnippets.computeCacheUtf16:(Ljdk/vm/ci/meta/MetaAccessProvider;[B)J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.addConst:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
11: aload 0
aload 1
aload 4
invokevirtual org.graalvm.compiler.replacements.ConstantStringIndexOfSnippets$Templates.template:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;)Lorg/graalvm/compiler/replacements/SnippetTemplate;
aload 0
getfield org.graalvm.compiler.replacements.ConstantStringIndexOfSnippets$Templates.providers:Lorg/graalvm/compiler/phases/util/Providers;
invokevirtual org.graalvm.compiler.phases.util.Providers.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
aload 1
getstatic org.graalvm.compiler.replacements.SnippetTemplate.DEFAULT_REPLACER:Lorg/graalvm/compiler/replacements/SnippetTemplate$UsageReplacer;
aload 4
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate.instantiate:(Ljdk/vm/ci/meta/MetaAccessProvider;Lorg/graalvm/compiler/nodes/FixedNode;Lorg/graalvm/compiler/replacements/SnippetTemplate$UsageReplacer;Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;)Ljdk/internal/vm/compiler/collections/UnmodifiableEconomicMap;
pop
12: return
end local 6 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 13 0 this Lorg/graalvm/compiler/replacements/ConstantStringIndexOfSnippets$Templates;
0 13 1 utf16IndexOf Lorg/graalvm/compiler/replacements/SnippetLowerableMemoryNode;
0 13 2 tool Lorg/graalvm/compiler/nodes/spi/LoweringTool;
1 13 3 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
2 13 4 args Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
8 13 5 targetArg Ljdk/vm/ci/meta/JavaConstant;
9 13 6 targetByteArray [B
MethodParameters:
Name Flags
utf16IndexOf
tool
}
SourceFile: "ConstantStringIndexOfSnippets.java"
NestHost: org.graalvm.compiler.replacements.ConstantStringIndexOfSnippets
InnerClasses:
public final GuardsStage = org.graalvm.compiler.nodes.StructuredGraph$GuardsStage of org.graalvm.compiler.nodes.StructuredGraph
public abstract LoweringStage = org.graalvm.compiler.nodes.spi.LoweringTool$LoweringStage of org.graalvm.compiler.nodes.spi.LoweringTool
public Templates = org.graalvm.compiler.replacements.ConstantStringIndexOfSnippets$Templates of org.graalvm.compiler.replacements.ConstantStringIndexOfSnippets
public abstract AbstractTemplates = org.graalvm.compiler.replacements.SnippetTemplate$AbstractTemplates of org.graalvm.compiler.replacements.SnippetTemplate
public Arguments = org.graalvm.compiler.replacements.SnippetTemplate$Arguments of org.graalvm.compiler.replacements.SnippetTemplate
public abstract SnippetInfo = org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo of org.graalvm.compiler.replacements.SnippetTemplate
public abstract UsageReplacer = org.graalvm.compiler.replacements.SnippetTemplate$UsageReplacer of org.graalvm.compiler.replacements.SnippetTemplate