public class org.graalvm.compiler.replacements.amd64.AMD64StringIndexOfNode extends org.graalvm.compiler.nodes.FixedWithNextNode implements org.graalvm.compiler.nodes.spi.LIRLowerable, org.graalvm.compiler.nodes.memory.MemoryAccess
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.replacements.amd64.AMD64StringIndexOfNode
super_class: org.graalvm.compiler.nodes.FixedWithNextNode
{
public static final org.graalvm.compiler.graph.NodeClass<org.graalvm.compiler.replacements.amd64.AMD64StringIndexOfNode> TYPE;
descriptor: Lorg/graalvm/compiler/graph/NodeClass;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Lorg/graalvm/compiler/graph/NodeClass<Lorg/graalvm/compiler/replacements/amd64/AMD64StringIndexOfNode;>;
protected org.graalvm.compiler.nodes.memory.MemoryNode lastLocationAccess;
descriptor: Lorg/graalvm/compiler/nodes/memory/MemoryNode;
flags: (0x0004) ACC_PROTECTED
RuntimeVisibleAnnotations:
org.graalvm.compiler.graph.Node$OptionalInput(value = org.graalvm.compiler.nodeinfo.InputType.Memory:Lorg/graalvm/compiler/nodeinfo/InputType;)
protected org.graalvm.compiler.graph.NodeInputList<org.graalvm.compiler.nodes.ValueNode> arguments;
descriptor: Lorg/graalvm/compiler/graph/NodeInputList;
flags: (0x0004) ACC_PROTECTED
Signature: Lorg/graalvm/compiler/graph/NodeInputList<Lorg/graalvm/compiler/nodes/ValueNode;>;
RuntimeVisibleAnnotations:
org.graalvm.compiler.graph.Node$Input()
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/graalvm/compiler/replacements/amd64/AMD64StringIndexOfNode;
invokestatic org.graalvm.compiler.graph.NodeClass.create:(Ljava/lang/Class;)Lorg/graalvm/compiler/graph/NodeClass;
putstatic org.graalvm.compiler.replacements.amd64.AMD64StringIndexOfNode.TYPE:Lorg/graalvm/compiler/graph/NodeClass;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.graalvm.compiler.nodes.ValueNode, org.graalvm.compiler.nodes.ValueNode, org.graalvm.compiler.nodes.ValueNode, org.graalvm.compiler.nodes.ValueNode);
descriptor: (Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getstatic org.graalvm.compiler.replacements.amd64.AMD64StringIndexOfNode.TYPE:Lorg/graalvm/compiler/graph/NodeClass;
bipush 32
invokestatic org.graalvm.compiler.core.common.type.StampFactory.forInteger:(I)Lorg/graalvm/compiler/core/common/type/IntegerStamp;
invokespecial org.graalvm.compiler.nodes.FixedWithNextNode.<init>:(Lorg/graalvm/compiler/graph/NodeClass;Lorg/graalvm/compiler/core/common/type/Stamp;)V
1: aload 0
new org.graalvm.compiler.graph.NodeInputList
dup
aload 0
iconst_4
anewarray org.graalvm.compiler.nodes.ValueNode
dup
iconst_0
aload 1
aastore
dup
iconst_1
aload 2
aastore
dup
iconst_2
aload 3
aastore
dup
iconst_3
aload 4
aastore
invokespecial org.graalvm.compiler.graph.NodeInputList.<init>:(Lorg/graalvm/compiler/graph/Node;[Lorg/graalvm/compiler/graph/Node;)V
putfield org.graalvm.compiler.replacements.amd64.AMD64StringIndexOfNode.arguments:Lorg/graalvm/compiler/graph/NodeInputList;
2: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/replacements/amd64/AMD64StringIndexOfNode;
0 3 1 sourcePointer Lorg/graalvm/compiler/nodes/ValueNode;
0 3 2 sourceCount Lorg/graalvm/compiler/nodes/ValueNode;
0 3 3 targetPointer Lorg/graalvm/compiler/nodes/ValueNode;
0 3 4 targetCount Lorg/graalvm/compiler/nodes/ValueNode;
MethodParameters:
Name Flags
sourcePointer
sourceCount
targetPointer
targetCount
public jdk.internal.vm.compiler.word.LocationIdentity getLocationIdentity();
descriptor: ()Ljdk/internal/vm/compiler/word/LocationIdentity;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic jdk.vm.ci.meta.JavaKind.Char:Ljdk/vm/ci/meta/JavaKind;
invokestatic org.graalvm.compiler.nodes.NamedLocationIdentity.getArrayLocation:(Ljdk/vm/ci/meta/JavaKind;)Ljdk/internal/vm/compiler/word/LocationIdentity;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/amd64/AMD64StringIndexOfNode;
org.graalvm.compiler.nodes.ValueNode sourcePointer();
descriptor: ()Lorg/graalvm/compiler/nodes/ValueNode;
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.replacements.amd64.AMD64StringIndexOfNode.arguments:Lorg/graalvm/compiler/graph/NodeInputList;
iconst_0
invokevirtual org.graalvm.compiler.graph.NodeInputList.get:(I)Lorg/graalvm/compiler/graph/Node;
checkcast org.graalvm.compiler.nodes.ValueNode
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/amd64/AMD64StringIndexOfNode;
org.graalvm.compiler.nodes.ValueNode sourceCount();
descriptor: ()Lorg/graalvm/compiler/nodes/ValueNode;
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.replacements.amd64.AMD64StringIndexOfNode.arguments:Lorg/graalvm/compiler/graph/NodeInputList;
iconst_1
invokevirtual org.graalvm.compiler.graph.NodeInputList.get:(I)Lorg/graalvm/compiler/graph/Node;
checkcast org.graalvm.compiler.nodes.ValueNode
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/amd64/AMD64StringIndexOfNode;
org.graalvm.compiler.nodes.ValueNode targetPointer();
descriptor: ()Lorg/graalvm/compiler/nodes/ValueNode;
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.replacements.amd64.AMD64StringIndexOfNode.arguments:Lorg/graalvm/compiler/graph/NodeInputList;
iconst_2
invokevirtual org.graalvm.compiler.graph.NodeInputList.get:(I)Lorg/graalvm/compiler/graph/Node;
checkcast org.graalvm.compiler.nodes.ValueNode
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/amd64/AMD64StringIndexOfNode;
org.graalvm.compiler.nodes.ValueNode targetCount();
descriptor: ()Lorg/graalvm/compiler/nodes/ValueNode;
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.replacements.amd64.AMD64StringIndexOfNode.arguments:Lorg/graalvm/compiler/graph/NodeInputList;
iconst_3
invokevirtual org.graalvm.compiler.graph.NodeInputList.get:(I)Lorg/graalvm/compiler/graph/Node;
checkcast org.graalvm.compiler.nodes.ValueNode
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/amd64/AMD64StringIndexOfNode;
public void generate(org.graalvm.compiler.nodes.spi.NodeLIRBuilderTool);
descriptor: (Lorg/graalvm/compiler/nodes/spi/NodeLIRBuilderTool;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: iconst_m1
istore 2
start local 2 1: aload 0
invokevirtual org.graalvm.compiler.replacements.amd64.AMD64StringIndexOfNode.targetCount:()Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.nodes.ValueNode.isConstant:()Z
ifeq 3
2: aload 0
invokevirtual org.graalvm.compiler.replacements.amd64.AMD64StringIndexOfNode.targetCount:()Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.nodes.ValueNode.asJavaConstant:()Ljdk/vm/ci/meta/JavaConstant;
invokeinterface jdk.vm.ci.meta.JavaConstant.asInt:()I
istore 2
3: StackMap locals: int
StackMap stack:
aload 1
invokeinterface org.graalvm.compiler.nodes.spi.NodeLIRBuilderTool.getLIRGeneratorTool:()Lorg/graalvm/compiler/lir/gen/LIRGeneratorTool;
aload 1
aload 0
invokevirtual org.graalvm.compiler.replacements.amd64.AMD64StringIndexOfNode.sourcePointer:()Lorg/graalvm/compiler/nodes/ValueNode;
invokeinterface org.graalvm.compiler.nodes.spi.NodeLIRBuilderTool.operand:(Lorg/graalvm/compiler/graph/Node;)Ljdk/vm/ci/meta/Value;
aload 1
aload 0
invokevirtual org.graalvm.compiler.replacements.amd64.AMD64StringIndexOfNode.sourceCount:()Lorg/graalvm/compiler/nodes/ValueNode;
invokeinterface org.graalvm.compiler.nodes.spi.NodeLIRBuilderTool.operand:(Lorg/graalvm/compiler/graph/Node;)Ljdk/vm/ci/meta/Value;
aload 1
aload 0
invokevirtual org.graalvm.compiler.replacements.amd64.AMD64StringIndexOfNode.targetPointer:()Lorg/graalvm/compiler/nodes/ValueNode;
invokeinterface org.graalvm.compiler.nodes.spi.NodeLIRBuilderTool.operand:(Lorg/graalvm/compiler/graph/Node;)Ljdk/vm/ci/meta/Value;
aload 1
aload 0
invokevirtual org.graalvm.compiler.replacements.amd64.AMD64StringIndexOfNode.targetCount:()Lorg/graalvm/compiler/nodes/ValueNode;
invokeinterface org.graalvm.compiler.nodes.spi.NodeLIRBuilderTool.operand:(Lorg/graalvm/compiler/graph/Node;)Ljdk/vm/ci/meta/Value;
4: iload 2
5: invokeinterface org.graalvm.compiler.lir.gen.LIRGeneratorTool.emitStringIndexOf:(Ljdk/vm/ci/meta/Value;Ljdk/vm/ci/meta/Value;Ljdk/vm/ci/meta/Value;Ljdk/vm/ci/meta/Value;I)Lorg/graalvm/compiler/lir/Variable;
astore 3
start local 3 6: aload 1
aload 0
aload 3
invokeinterface org.graalvm.compiler.nodes.spi.NodeLIRBuilderTool.setResult:(Lorg/graalvm/compiler/nodes/ValueNode;Ljdk/vm/ci/meta/Value;)Ljdk/vm/ci/meta/Value;
pop
7: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/graalvm/compiler/replacements/amd64/AMD64StringIndexOfNode;
0 8 1 gen Lorg/graalvm/compiler/nodes/spi/NodeLIRBuilderTool;
1 8 2 constantTargetCount I
6 8 3 result Ljdk/vm/ci/meta/Value;
MethodParameters:
Name Flags
gen
public org.graalvm.compiler.nodes.memory.MemoryNode getLastLocationAccess();
descriptor: ()Lorg/graalvm/compiler/nodes/memory/MemoryNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.replacements.amd64.AMD64StringIndexOfNode.lastLocationAccess:Lorg/graalvm/compiler/nodes/memory/MemoryNode;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/amd64/AMD64StringIndexOfNode;
public void setLastLocationAccess(org.graalvm.compiler.nodes.memory.MemoryNode);
descriptor: (Lorg/graalvm/compiler/nodes/memory/MemoryNode;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield org.graalvm.compiler.replacements.amd64.AMD64StringIndexOfNode.lastLocationAccess:Lorg/graalvm/compiler/nodes/memory/MemoryNode;
invokestatic org.graalvm.compiler.nodes.ValueNodeUtil.asNode:(Lorg/graalvm/compiler/nodes/memory/MemoryNode;)Lorg/graalvm/compiler/nodes/ValueNode;
aload 1
invokestatic org.graalvm.compiler.nodes.ValueNodeUtil.asNode:(Lorg/graalvm/compiler/nodes/memory/MemoryNode;)Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.replacements.amd64.AMD64StringIndexOfNode.updateUsages:(Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/graph/Node;)V
1: aload 0
aload 1
putfield org.graalvm.compiler.replacements.amd64.AMD64StringIndexOfNode.lastLocationAccess:Lorg/graalvm/compiler/nodes/memory/MemoryNode;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/replacements/amd64/AMD64StringIndexOfNode;
0 3 1 lla Lorg/graalvm/compiler/nodes/memory/MemoryNode;
MethodParameters:
Name Flags
lla
public static native int optimizedStringIndexPointer(jdk.internal.vm.compiler.word.Pointer, int, jdk.internal.vm.compiler.word.Pointer, int);
descriptor: (Ljdk/internal/vm/compiler/word/Pointer;ILjdk/internal/vm/compiler/word/Pointer;I)I
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
RuntimeVisibleAnnotations:
org.graalvm.compiler.graph.Node$NodeIntrinsic()
MethodParameters:
Name Flags
sourcePointer
sourceCount
targetPointer
targetCount
}
SourceFile: "AMD64StringIndexOfNode.java"
InnerClasses:
public abstract Input = org.graalvm.compiler.graph.Node$Input of org.graalvm.compiler.graph.Node
public abstract NodeIntrinsic = org.graalvm.compiler.graph.Node$NodeIntrinsic of org.graalvm.compiler.graph.Node
public abstract OptionalInput = org.graalvm.compiler.graph.Node$OptionalInput of org.graalvm.compiler.graph.Node
RuntimeVisibleAnnotations:
org.graalvm.compiler.nodeinfo.NodeInfo(size = org.graalvm.compiler.nodeinfo.NodeSize.SIZE_64:Lorg/graalvm/compiler/nodeinfo/NodeSize;, cycles = org.graalvm.compiler.nodeinfo.NodeCycles.CYCLES_UNKNOWN:Lorg/graalvm/compiler/nodeinfo/NodeCycles;)