public class org.graalvm.compiler.core.match.MatchPattern
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.core.match.MatchPattern
super_class: java.lang.Object
{
private final java.lang.Class<? extends org.graalvm.compiler.graph.Node> nodeClass;
descriptor: Ljava/lang/Class;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/Class<+Lorg/graalvm/compiler/graph/Node;>;
private final java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.compiler.core.match.MatchPattern[] patterns;
descriptor: [Lorg/graalvm/compiler/core/match/MatchPattern;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.compiler.graph.Position[] inputs;
descriptor: [Lorg/graalvm/compiler/graph/Position;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean singleUser;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean ignoresSideEffects;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final org.graalvm.compiler.core.match.MatchPattern[] EMPTY_PATTERNS;
descriptor: [Lorg/graalvm/compiler/core/match/MatchPattern;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/graalvm/compiler/core/match/MatchPattern;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.graalvm.compiler.core.match.MatchPattern.$assertionsDisabled:Z
3: iconst_0
anewarray org.graalvm.compiler.core.match.MatchPattern
putstatic org.graalvm.compiler.core.match.MatchPattern.EMPTY_PATTERNS:[Lorg/graalvm/compiler/core/match/MatchPattern;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.lang.String, boolean, boolean);
descriptor: (Ljava/lang/String;ZZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aconst_null
aload 1
iload 2
iload 3
invokespecial org.graalvm.compiler.core.match.MatchPattern.<init>:(Ljava/lang/Class;Ljava/lang/String;ZZ)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/core/match/MatchPattern;
0 2 1 name Ljava/lang/String;
0 2 2 singleUser Z
0 2 3 ignoresSideEffects Z
MethodParameters:
Name Flags
name
singleUser
ignoresSideEffects
public void <init>(java.lang.Class<? extends org.graalvm.compiler.graph.Node>, java.lang.String, boolean, );
descriptor: (Ljava/lang/Class;Ljava/lang/String;ZZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.graalvm.compiler.core.match.MatchPattern.nodeClass:Ljava/lang/Class;
2: aload 0
aload 2
putfield org.graalvm.compiler.core.match.MatchPattern.name:Ljava/lang/String;
3: aload 0
iload 3
putfield org.graalvm.compiler.core.match.MatchPattern.singleUser:Z
4: aload 0
iload 4
putfield org.graalvm.compiler.core.match.MatchPattern.ignoresSideEffects:Z
5: aload 0
getstatic org.graalvm.compiler.core.match.MatchPattern.EMPTY_PATTERNS:[Lorg/graalvm/compiler/core/match/MatchPattern;
putfield org.graalvm.compiler.core.match.MatchPattern.patterns:[Lorg/graalvm/compiler/core/match/MatchPattern;
6: aload 0
aconst_null
putfield org.graalvm.compiler.core.match.MatchPattern.inputs:[Lorg/graalvm/compiler/graph/Position;
7: getstatic org.graalvm.compiler.core.match.MatchPattern.$assertionsDisabled:Z
ifne 8
iload 4
ifeq 8
ldc Lorg/graalvm/compiler/nodes/calc/FloatingNode;
aload 1
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 8
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
8: StackMap locals: org.graalvm.compiler.core.match.MatchPattern java.lang.Class java.lang.String int int
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/graalvm/compiler/core/match/MatchPattern;
0 9 1 nodeClass Ljava/lang/Class<+Lorg/graalvm/compiler/graph/Node;>;
0 9 2 name Ljava/lang/String;
0 9 3 singleUser Z
0 9 4 ignoresSideEffects Z
Signature: (Ljava/lang/Class<+Lorg/graalvm/compiler/graph/Node;>;Ljava/lang/String;ZZ)V
MethodParameters:
Name Flags
nodeClass
name
singleUser
ignoresSideEffects
private void <init>(java.lang.Class<? extends org.graalvm.compiler.graph.Node>, java.lang.String, boolean, boolean, org.graalvm.compiler.core.match.MatchPattern[], org.graalvm.compiler.graph.Position[]);
descriptor: (Ljava/lang/Class;Ljava/lang/String;ZZ[Lorg/graalvm/compiler/core/match/MatchPattern;[Lorg/graalvm/compiler/graph/Position;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: getstatic org.graalvm.compiler.core.match.MatchPattern.$assertionsDisabled:Z
ifne 2
aload 6
ifnull 2
aload 6
arraylength
aload 5
arraylength
if_icmpeq 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals: org.graalvm.compiler.core.match.MatchPattern java.lang.Class java.lang.String int int org.graalvm.compiler.core.match.MatchPattern[] org.graalvm.compiler.graph.Position[]
StackMap stack:
aload 0
aload 1
putfield org.graalvm.compiler.core.match.MatchPattern.nodeClass:Ljava/lang/Class;
3: aload 0
aload 2
putfield org.graalvm.compiler.core.match.MatchPattern.name:Ljava/lang/String;
4: aload 0
iload 3
putfield org.graalvm.compiler.core.match.MatchPattern.singleUser:Z
5: aload 0
iload 4
putfield org.graalvm.compiler.core.match.MatchPattern.ignoresSideEffects:Z
6: aload 0
aload 5
putfield org.graalvm.compiler.core.match.MatchPattern.patterns:[Lorg/graalvm/compiler/core/match/MatchPattern;
7: aload 0
aload 6
putfield org.graalvm.compiler.core.match.MatchPattern.inputs:[Lorg/graalvm/compiler/graph/Position;
8: getstatic org.graalvm.compiler.core.match.MatchPattern.$assertionsDisabled:Z
ifne 9
iload 4
ifeq 9
ldc Lorg/graalvm/compiler/nodes/calc/FloatingNode;
aload 1
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 9
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
9: StackMap locals:
StackMap stack:
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 10 0 this Lorg/graalvm/compiler/core/match/MatchPattern;
0 10 1 nodeClass Ljava/lang/Class<+Lorg/graalvm/compiler/graph/Node;>;
0 10 2 name Ljava/lang/String;
0 10 3 singleUser Z
0 10 4 ignoresSideEffects Z
0 10 5 patterns [Lorg/graalvm/compiler/core/match/MatchPattern;
0 10 6 inputs [Lorg/graalvm/compiler/graph/Position;
Signature: (Ljava/lang/Class<+Lorg/graalvm/compiler/graph/Node;>;Ljava/lang/String;ZZ[Lorg/graalvm/compiler/core/match/MatchPattern;[Lorg/graalvm/compiler/graph/Position;)V
MethodParameters:
Name Flags
nodeClass
name
singleUser
ignoresSideEffects
patterns
inputs
public void <init>(java.lang.Class<? extends org.graalvm.compiler.graph.Node>, java.lang.String, org.graalvm.compiler.core.match.MatchPattern, org.graalvm.compiler.graph.Position[], boolean, );
descriptor: (Ljava/lang/Class;Ljava/lang/String;Lorg/graalvm/compiler/core/match/MatchPattern;[Lorg/graalvm/compiler/graph/Position;ZZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
aload 1
aload 2
iload 5
iload 6
iconst_1
anewarray org.graalvm.compiler.core.match.MatchPattern
dup
iconst_0
aload 3
aastore
aload 4
invokespecial org.graalvm.compiler.core.match.MatchPattern.<init>:(Ljava/lang/Class;Ljava/lang/String;ZZ[Lorg/graalvm/compiler/core/match/MatchPattern;[Lorg/graalvm/compiler/graph/Position;)V
1: 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 2 0 this Lorg/graalvm/compiler/core/match/MatchPattern;
0 2 1 nodeClass Ljava/lang/Class<+Lorg/graalvm/compiler/graph/Node;>;
0 2 2 name Ljava/lang/String;
0 2 3 first Lorg/graalvm/compiler/core/match/MatchPattern;
0 2 4 inputs [Lorg/graalvm/compiler/graph/Position;
0 2 5 singleUser Z
0 2 6 ignoresSideEffects Z
Signature: (Ljava/lang/Class<+Lorg/graalvm/compiler/graph/Node;>;Ljava/lang/String;Lorg/graalvm/compiler/core/match/MatchPattern;[Lorg/graalvm/compiler/graph/Position;ZZ)V
MethodParameters:
Name Flags
nodeClass
name
first
inputs
singleUser
ignoresSideEffects
public void <init>(java.lang.Class<? extends org.graalvm.compiler.graph.Node>, java.lang.String, org.graalvm.compiler.core.match.MatchPattern, org.graalvm.compiler.core.match.MatchPattern, org.graalvm.compiler.graph.Position[], boolean, );
descriptor: (Ljava/lang/Class;Ljava/lang/String;Lorg/graalvm/compiler/core/match/MatchPattern;Lorg/graalvm/compiler/core/match/MatchPattern;[Lorg/graalvm/compiler/graph/Position;ZZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=8, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: aload 0
aload 1
aload 2
iload 6
iload 7
iconst_2
anewarray org.graalvm.compiler.core.match.MatchPattern
dup
iconst_0
aload 3
aastore
dup
iconst_1
aload 4
aastore
aload 5
invokespecial org.graalvm.compiler.core.match.MatchPattern.<init>:(Ljava/lang/Class;Ljava/lang/String;ZZ[Lorg/graalvm/compiler/core/match/MatchPattern;[Lorg/graalvm/compiler/graph/Position;)V
1: return
end local 7 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 2 0 this Lorg/graalvm/compiler/core/match/MatchPattern;
0 2 1 nodeClass Ljava/lang/Class<+Lorg/graalvm/compiler/graph/Node;>;
0 2 2 name Ljava/lang/String;
0 2 3 first Lorg/graalvm/compiler/core/match/MatchPattern;
0 2 4 second Lorg/graalvm/compiler/core/match/MatchPattern;
0 2 5 inputs [Lorg/graalvm/compiler/graph/Position;
0 2 6 singleUser Z
0 2 7 ignoresSideEffects Z
Signature: (Ljava/lang/Class<+Lorg/graalvm/compiler/graph/Node;>;Ljava/lang/String;Lorg/graalvm/compiler/core/match/MatchPattern;Lorg/graalvm/compiler/core/match/MatchPattern;[Lorg/graalvm/compiler/graph/Position;ZZ)V
MethodParameters:
Name Flags
nodeClass
name
first
second
inputs
singleUser
ignoresSideEffects
public void <init>(java.lang.Class<? extends org.graalvm.compiler.graph.Node>, java.lang.String, org.graalvm.compiler.core.match.MatchPattern, org.graalvm.compiler.core.match.MatchPattern, org.graalvm.compiler.core.match.MatchPattern, org.graalvm.compiler.graph.Position[], boolean, );
descriptor: (Ljava/lang/Class;Ljava/lang/String;Lorg/graalvm/compiler/core/match/MatchPattern;Lorg/graalvm/compiler/core/match/MatchPattern;Lorg/graalvm/compiler/core/match/MatchPattern;[Lorg/graalvm/compiler/graph/Position;ZZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=9, args_size=9
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 0: aload 0
aload 1
aload 2
iload 7
iload 8
iconst_3
anewarray org.graalvm.compiler.core.match.MatchPattern
dup
iconst_0
aload 3
aastore
dup
iconst_1
aload 4
aastore
dup
iconst_2
aload 5
aastore
aload 6
invokespecial org.graalvm.compiler.core.match.MatchPattern.<init>:(Ljava/lang/Class;Ljava/lang/String;ZZ[Lorg/graalvm/compiler/core/match/MatchPattern;[Lorg/graalvm/compiler/graph/Position;)V
1: return
end local 8 end local 7 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 2 0 this Lorg/graalvm/compiler/core/match/MatchPattern;
0 2 1 nodeClass Ljava/lang/Class<+Lorg/graalvm/compiler/graph/Node;>;
0 2 2 name Ljava/lang/String;
0 2 3 first Lorg/graalvm/compiler/core/match/MatchPattern;
0 2 4 second Lorg/graalvm/compiler/core/match/MatchPattern;
0 2 5 third Lorg/graalvm/compiler/core/match/MatchPattern;
0 2 6 inputs [Lorg/graalvm/compiler/graph/Position;
0 2 7 singleUser Z
0 2 8 ignoresSideEffects Z
Signature: (Ljava/lang/Class<+Lorg/graalvm/compiler/graph/Node;>;Ljava/lang/String;Lorg/graalvm/compiler/core/match/MatchPattern;Lorg/graalvm/compiler/core/match/MatchPattern;Lorg/graalvm/compiler/core/match/MatchPattern;[Lorg/graalvm/compiler/graph/Position;ZZ)V
MethodParameters:
Name Flags
nodeClass
name
first
second
third
inputs
singleUser
ignoresSideEffects
java.lang.Class<? extends org.graalvm.compiler.graph.Node> nodeClass();
descriptor: ()Ljava/lang/Class;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.core.match.MatchPattern.nodeClass:Ljava/lang/Class;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/match/MatchPattern;
Signature: ()Ljava/lang/Class<+Lorg/graalvm/compiler/graph/Node;>;
private org.graalvm.compiler.core.match.MatchPattern$Result matchType(org.graalvm.compiler.graph.Node);
descriptor: (Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/core/match/MatchPattern$Result;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.core.match.MatchPattern.nodeClass:Ljava/lang/Class;
ifnull 2
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 0
getfield org.graalvm.compiler.core.match.MatchPattern.nodeClass:Ljava/lang/Class;
if_acmpeq 2
1: aload 1
aload 0
invokestatic org.graalvm.compiler.core.match.MatchPattern$Result.wrongClass:(Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/core/match/MatchPattern;)Lorg/graalvm/compiler/core/match/MatchPattern$Result;
areturn
2: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.core.match.MatchPattern$Result.OK:Lorg/graalvm/compiler/core/match/MatchPattern$Result;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/core/match/MatchPattern;
0 3 1 node Lorg/graalvm/compiler/graph/Node;
MethodParameters:
Name Flags
node
org.graalvm.compiler.core.match.MatchPattern$Result matchUsage(org.graalvm.compiler.graph.Node, org.graalvm.compiler.core.match.MatchContext);
descriptor: (Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/core/match/MatchContext;)Lorg/graalvm/compiler/core/match/MatchPattern$Result;
flags: (0x0000)
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
iconst_1
invokevirtual org.graalvm.compiler.core.match.MatchPattern.matchUsage:(Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/core/match/MatchContext;Z)Lorg/graalvm/compiler/core/match/MatchPattern$Result;
astore 3
start local 3 1: aload 3
getstatic org.graalvm.compiler.core.match.MatchPattern$Result.OK:Lorg/graalvm/compiler/core/match/MatchPattern$Result;
if_acmpne 3
2: aload 2
invokevirtual org.graalvm.compiler.core.match.MatchContext.validate:()Lorg/graalvm/compiler/core/match/MatchPattern$Result;
astore 3
3: StackMap locals: org.graalvm.compiler.core.match.MatchPattern$Result
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/core/match/MatchPattern;
0 4 1 node Lorg/graalvm/compiler/graph/Node;
0 4 2 context Lorg/graalvm/compiler/core/match/MatchContext;
1 4 3 result Lorg/graalvm/compiler/core/match/MatchPattern$Result;
MethodParameters:
Name Flags
node
context
private org.graalvm.compiler.core.match.MatchPattern$Result matchUsage(org.graalvm.compiler.graph.Node, org.graalvm.compiler.core.match.MatchContext, boolean);
descriptor: (Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/core/match/MatchContext;Z)Lorg/graalvm/compiler/core/match/MatchPattern$Result;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokevirtual org.graalvm.compiler.core.match.MatchPattern.matchType:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/core/match/MatchPattern$Result;
astore 4
start local 4 1: aload 4
getstatic org.graalvm.compiler.core.match.MatchPattern$Result.OK:Lorg/graalvm/compiler/core/match/MatchPattern$Result;
if_acmpeq 3
2: aload 4
areturn
3: StackMap locals: org.graalvm.compiler.core.match.MatchPattern$Result
StackMap stack:
aload 0
getfield org.graalvm.compiler.core.match.MatchPattern.singleUser:Z
ifeq 7
4: aload 2
aload 1
aload 0
getfield org.graalvm.compiler.core.match.MatchPattern.ignoresSideEffects:Z
iload 3
invokevirtual org.graalvm.compiler.core.match.MatchContext.consume:(Lorg/graalvm/compiler/graph/Node;ZZ)Lorg/graalvm/compiler/core/match/MatchPattern$Result;
astore 4
5: aload 4
getstatic org.graalvm.compiler.core.match.MatchPattern$Result.OK:Lorg/graalvm/compiler/core/match/MatchPattern$Result;
if_acmpeq 7
6: aload 4
areturn
7: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.core.match.MatchPattern.name:Ljava/lang/String;
ifnull 9
8: aload 2
aload 0
getfield org.graalvm.compiler.core.match.MatchPattern.name:Ljava/lang/String;
aload 0
getfield org.graalvm.compiler.core.match.MatchPattern.nodeClass:Ljava/lang/Class;
aload 1
invokevirtual org.graalvm.compiler.core.match.MatchContext.captureNamedValue:(Ljava/lang/String;Ljava/lang/Class;Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/core/match/MatchPattern$Result;
astore 4
9: StackMap locals:
StackMap stack:
iconst_0
istore 5
start local 5 10: goto 15
11: StackMap locals: int
StackMap stack:
aload 0
getfield org.graalvm.compiler.core.match.MatchPattern.patterns:[Lorg/graalvm/compiler/core/match/MatchPattern;
iload 5
aaload
aload 0
iload 5
aload 1
invokevirtual org.graalvm.compiler.core.match.MatchPattern.getInput:(ILorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
aload 2
iconst_0
invokevirtual org.graalvm.compiler.core.match.MatchPattern.matchUsage:(Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/core/match/MatchContext;Z)Lorg/graalvm/compiler/core/match/MatchPattern$Result;
astore 4
12: aload 4
getstatic org.graalvm.compiler.core.match.MatchPattern$Result.OK:Lorg/graalvm/compiler/core/match/MatchPattern$Result;
if_acmpeq 14
13: aload 4
areturn
14: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
15: iload 5
aload 0
getfield org.graalvm.compiler.core.match.MatchPattern.patterns:[Lorg/graalvm/compiler/core/match/MatchPattern;
arraylength
if_icmplt 11
end local 5 16: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/graalvm/compiler/core/match/MatchPattern;
0 17 1 node Lorg/graalvm/compiler/graph/Node;
0 17 2 context Lorg/graalvm/compiler/core/match/MatchContext;
0 17 3 atRoot Z
1 17 4 result Lorg/graalvm/compiler/core/match/MatchPattern$Result;
10 16 5 input I
MethodParameters:
Name Flags
node
context
atRoot
public org.graalvm.compiler.core.match.MatchPattern$Result matchShape(org.graalvm.compiler.graph.Node, org.graalvm.compiler.core.match.MatchStatement);
descriptor: (Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/core/match/MatchStatement;)Lorg/graalvm/compiler/core/match/MatchPattern$Result;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
iconst_1
invokevirtual org.graalvm.compiler.core.match.MatchPattern.matchShape:(Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/core/match/MatchStatement;Z)Lorg/graalvm/compiler/core/match/MatchPattern$Result;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/match/MatchPattern;
0 1 1 node Lorg/graalvm/compiler/graph/Node;
0 1 2 statement Lorg/graalvm/compiler/core/match/MatchStatement;
MethodParameters:
Name Flags
node
statement
private org.graalvm.compiler.core.match.MatchPattern$Result matchShape(org.graalvm.compiler.graph.Node, org.graalvm.compiler.core.match.MatchStatement, boolean);
descriptor: (Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/core/match/MatchStatement;Z)Lorg/graalvm/compiler/core/match/MatchPattern$Result;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokevirtual org.graalvm.compiler.core.match.MatchPattern.matchType:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/core/match/MatchPattern$Result;
astore 4
start local 4 1: aload 4
getstatic org.graalvm.compiler.core.match.MatchPattern$Result.OK:Lorg/graalvm/compiler/core/match/MatchPattern$Result;
if_acmpeq 3
2: aload 4
areturn
3: StackMap locals: org.graalvm.compiler.core.match.MatchPattern$Result
StackMap stack:
aload 0
getfield org.graalvm.compiler.core.match.MatchPattern.singleUser:Z
ifeq 6
iload 3
ifne 6
4: aload 1
invokestatic org.graalvm.compiler.core.match.MatchPattern.isSingleValueUser:(Lorg/graalvm/compiler/graph/Node;)Z
ifne 6
5: aload 1
aload 2
invokevirtual org.graalvm.compiler.core.match.MatchStatement.getPattern:()Lorg/graalvm/compiler/core/match/MatchPattern;
invokestatic org.graalvm.compiler.core.match.MatchPattern$Result.tooManyUsers:(Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/core/match/MatchPattern;)Lorg/graalvm/compiler/core/match/MatchPattern$Result;
areturn
6: StackMap locals:
StackMap stack:
iconst_0
istore 5
start local 5 7: goto 12
8: StackMap locals: int
StackMap stack:
aload 0
getfield org.graalvm.compiler.core.match.MatchPattern.patterns:[Lorg/graalvm/compiler/core/match/MatchPattern;
iload 5
aaload
aload 0
iload 5
aload 1
invokevirtual org.graalvm.compiler.core.match.MatchPattern.getInput:(ILorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
aload 2
iconst_0
invokevirtual org.graalvm.compiler.core.match.MatchPattern.matchShape:(Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/core/match/MatchStatement;Z)Lorg/graalvm/compiler/core/match/MatchPattern$Result;
astore 4
9: aload 4
getstatic org.graalvm.compiler.core.match.MatchPattern$Result.OK:Lorg/graalvm/compiler/core/match/MatchPattern$Result;
if_acmpeq 11
10: aload 4
areturn
11: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
12: iload 5
aload 0
getfield org.graalvm.compiler.core.match.MatchPattern.patterns:[Lorg/graalvm/compiler/core/match/MatchPattern;
arraylength
if_icmplt 8
end local 5 13: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/graalvm/compiler/core/match/MatchPattern;
0 14 1 node Lorg/graalvm/compiler/graph/Node;
0 14 2 statement Lorg/graalvm/compiler/core/match/MatchStatement;
0 14 3 atRoot Z
1 14 4 result Lorg/graalvm/compiler/core/match/MatchPattern$Result;
7 13 5 input I
MethodParameters:
Name Flags
node
statement
atRoot
public static boolean isSingleValueUser(org.graalvm.compiler.graph.Node);
descriptor: (Lorg/graalvm/compiler/graph/Node;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=6, args_size=1
start local 0 0: aload 0
invokevirtual org.graalvm.compiler.graph.Node.getUsageCount:()I
istore 1
start local 1 1: iload 1
iconst_1
if_icmpne 3
2: iconst_1
ireturn
3: StackMap locals: int
StackMap stack:
aload 0
getstatic org.graalvm.compiler.nodeinfo.InputType.Guard:Lorg/graalvm/compiler/nodeinfo/InputType;
invokevirtual org.graalvm.compiler.graph.Node.isAllowedUsageType:(Lorg/graalvm/compiler/nodeinfo/InputType;)Z
ifeq 17
4: iconst_0
istore 1
5: aload 0
invokevirtual org.graalvm.compiler.graph.Node.usages:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.iterator:()Ljava/util/Iterator;
astore 3
goto 14
StackMap locals: org.graalvm.compiler.graph.Node int top java.util.Iterator
StackMap stack:
6: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.graph.Node
astore 2
start local 2 7: aload 2
invokevirtual org.graalvm.compiler.graph.Node.inputPositions:()Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 5
goto 13
StackMap locals: org.graalvm.compiler.graph.Node int org.graalvm.compiler.graph.Node java.util.Iterator top java.util.Iterator
StackMap stack:
8: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.graph.Position
astore 4
start local 4 9: aload 4
invokevirtual org.graalvm.compiler.graph.Position.getInputType:()Lorg/graalvm/compiler/nodeinfo/InputType;
getstatic org.graalvm.compiler.nodeinfo.InputType.Value:Lorg/graalvm/compiler/nodeinfo/InputType;
if_acmpne 13
aload 4
aload 2
invokevirtual org.graalvm.compiler.graph.Position.get:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
aload 0
if_acmpne 13
10: iinc 1 1
11: iload 1
iconst_1
if_icmple 13
12: iconst_0
ireturn
end local 4 13: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
end local 2 14: StackMap locals: org.graalvm.compiler.graph.Node int top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
15: getstatic org.graalvm.compiler.core.match.MatchPattern.$assertionsDisabled:Z
ifne 16
iload 1
iconst_1
if_icmpeq 16
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
16: StackMap locals: org.graalvm.compiler.graph.Node int
StackMap stack:
iconst_1
ireturn
17: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 node Lorg/graalvm/compiler/graph/Node;
1 18 1 valueUsage I
7 14 2 usage Lorg/graalvm/compiler/graph/Node;
9 13 4 input Lorg/graalvm/compiler/graph/Position;
MethodParameters:
Name Flags
node
public java.lang.String formatMatch(org.graalvm.compiler.graph.Node);
descriptor: (Lorg/graalvm/compiler/graph/Node;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: ldc "%s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 2
start local 2 1: aload 0
getfield org.graalvm.compiler.core.match.MatchPattern.patterns:[Lorg/graalvm/compiler/core/match/MatchPattern;
arraylength
ifne 3
2: aload 2
areturn
3: StackMap locals: java.lang.String
StackMap stack:
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 3
start local 3 4: aload 3
ldc "("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
5: aload 3
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: iconst_0
istore 4
start local 4 7: goto 11
8: StackMap locals: java.lang.StringBuilder int
StackMap stack:
aload 3
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
9: aload 3
aload 0
getfield org.graalvm.compiler.core.match.MatchPattern.patterns:[Lorg/graalvm/compiler/core/match/MatchPattern;
iload 4
aaload
aload 0
iload 4
aload 1
invokevirtual org.graalvm.compiler.core.match.MatchPattern.getInput:(ILorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
invokevirtual org.graalvm.compiler.core.match.MatchPattern.formatMatch:(Lorg/graalvm/compiler/graph/Node;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
10: iinc 4 1
StackMap locals:
StackMap stack:
11: iload 4
aload 0
getfield org.graalvm.compiler.core.match.MatchPattern.patterns:[Lorg/graalvm/compiler/core/match/MatchPattern;
arraylength
if_icmplt 8
end local 4 12: aload 3
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
13: aload 3
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/graalvm/compiler/core/match/MatchPattern;
0 14 1 root Lorg/graalvm/compiler/graph/Node;
1 14 2 result Ljava/lang/String;
4 14 3 sb Ljava/lang/StringBuilder;
7 12 4 input I
MethodParameters:
Name Flags
root
private org.graalvm.compiler.graph.Node getInput(int, org.graalvm.compiler.graph.Node);
descriptor: (ILorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.graalvm.compiler.core.match.MatchPattern.inputs:[Lorg/graalvm/compiler/graph/Position;
iload 1
aaload
aload 2
invokevirtual org.graalvm.compiler.graph.Position.get:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/match/MatchPattern;
0 1 1 index I
0 1 2 node Lorg/graalvm/compiler/graph/Node;
MethodParameters:
Name Flags
index
node
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.core.match.MatchPattern.nodeClass:Ljava/lang/Class;
ifnonnull 2
1: aload 0
getfield org.graalvm.compiler.core.match.MatchPattern.name:Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.core.match.MatchPattern.nodeClass:Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
astore 1
start local 1 3: aload 1
ldc "Node"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 5
4: aload 1
iconst_0
aload 1
invokevirtual java.lang.String.length:()I
iconst_4
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 1
5: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield org.graalvm.compiler.core.match.MatchPattern.patterns:[Lorg/graalvm/compiler/core/match/MatchPattern;
arraylength
ifne 9
6: new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.graalvm.compiler.core.match.MatchPattern.name:Ljava/lang/String;
ifnull 7
new java.lang.StringBuilder
dup
ldc "="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.graalvm.compiler.core.match.MatchPattern.name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
goto 8
StackMap locals:
StackMap stack: java.lang.StringBuilder
7: ldc ""
StackMap locals: org.graalvm.compiler.core.match.MatchPattern java.lang.String
StackMap stack: java.lang.StringBuilder java.lang.String
8: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
9: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 2
start local 2 10: aload 2
ldc "("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
11: aload 2
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
12: iconst_0
istore 3
start local 3 13: goto 17
14: StackMap locals: java.lang.StringBuilder int
StackMap stack:
aload 2
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
15: aload 2
aload 0
getfield org.graalvm.compiler.core.match.MatchPattern.patterns:[Lorg/graalvm/compiler/core/match/MatchPattern;
iload 3
aaload
invokevirtual org.graalvm.compiler.core.match.MatchPattern.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
16: iinc 3 1
StackMap locals:
StackMap stack:
17: iload 3
aload 0
getfield org.graalvm.compiler.core.match.MatchPattern.patterns:[Lorg/graalvm/compiler/core/match/MatchPattern;
arraylength
if_icmplt 14
end local 3 18: aload 2
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
19: aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lorg/graalvm/compiler/core/match/MatchPattern;
3 20 1 nodeName Ljava/lang/String;
10 20 2 sb Ljava/lang/StringBuilder;
13 18 3 index I
}
SourceFile: "MatchPattern.java"
NestMembers:
org.graalvm.compiler.core.match.MatchPattern$MatchResultCode org.graalvm.compiler.core.match.MatchPattern$Result
InnerClasses:
final MatchResultCode = org.graalvm.compiler.core.match.MatchPattern$MatchResultCode of org.graalvm.compiler.core.match.MatchPattern
Result = org.graalvm.compiler.core.match.MatchPattern$Result of org.graalvm.compiler.core.match.MatchPattern