public class org.graalvm.compiler.core.match.MatchStatement
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.core.match.MatchStatement
super_class: java.lang.Object
{
private static final org.graalvm.compiler.debug.CounterKey MatchStatementSuccess;
descriptor: Lorg/graalvm/compiler/debug/CounterKey;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.compiler.core.match.MatchPattern pattern;
descriptor: Lorg/graalvm/compiler/core/match/MatchPattern;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private org.graalvm.compiler.core.match.MatchGenerator generatorMethod;
descriptor: Lorg/graalvm/compiler/core/match/MatchGenerator;
flags: (0x0002) ACC_PRIVATE
private java.lang.String[] arguments;
descriptor: [Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
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/MatchStatement;
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.MatchStatement.$assertionsDisabled:Z
3: ldc "MatchStatementSuccess"
invokestatic org.graalvm.compiler.debug.DebugContext.counter:(Ljava/lang/CharSequence;)Lorg/graalvm/compiler/debug/CounterKey;
putstatic org.graalvm.compiler.core.match.MatchStatement.MatchStatementSuccess:Lorg/graalvm/compiler/debug/CounterKey;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.lang.String, org.graalvm.compiler.core.match.MatchPattern, org.graalvm.compiler.core.match.MatchGenerator, java.lang.String[]);
descriptor: (Ljava/lang/String;Lorg/graalvm/compiler/core/match/MatchPattern;Lorg/graalvm/compiler/core/match/MatchGenerator;[Ljava/lang/String;)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.MatchStatement.name:Ljava/lang/String;
2: aload 0
aload 2
putfield org.graalvm.compiler.core.match.MatchStatement.pattern:Lorg/graalvm/compiler/core/match/MatchPattern;
3: aload 0
aload 3
putfield org.graalvm.compiler.core.match.MatchStatement.generatorMethod:Lorg/graalvm/compiler/core/match/MatchGenerator;
4: aload 0
aload 4
putfield org.graalvm.compiler.core.match.MatchStatement.arguments:[Ljava/lang/String;
5: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/graalvm/compiler/core/match/MatchStatement;
0 6 1 name Ljava/lang/String;
0 6 2 pattern Lorg/graalvm/compiler/core/match/MatchPattern;
0 6 3 generator Lorg/graalvm/compiler/core/match/MatchGenerator;
0 6 4 arguments [Ljava/lang/String;
MethodParameters:
Name Flags
name
pattern
generator
arguments
public boolean generate(org.graalvm.compiler.core.gen.NodeLIRBuilder, int, org.graalvm.compiler.graph.Node, org.graalvm.compiler.nodes.cfg.Block, org.graalvm.compiler.nodes.StructuredGraph$ScheduleResult);
descriptor: (Lorg/graalvm/compiler/core/gen/NodeLIRBuilder;ILorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/nodes/cfg/Block;Lorg/graalvm/compiler/nodes/StructuredGraph$ScheduleResult;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=10, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 3
invokevirtual org.graalvm.compiler.graph.Node.getDebug:()Lorg/graalvm/compiler/debug/DebugContext;
astore 6
start local 6 1: getstatic org.graalvm.compiler.core.match.MatchStatement.$assertionsDisabled:Z
ifne 2
iload 2
aload 5
invokevirtual org.graalvm.compiler.nodes.StructuredGraph$ScheduleResult.getBlockToNodesMap:()Lorg/graalvm/compiler/core/common/cfg/BlockMap;
aload 4
invokevirtual org.graalvm.compiler.core.common.cfg.BlockMap.get:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Ljava/lang/Object;
checkcast java.util.List
aload 3
invokeinterface java.util.List.indexOf:(Ljava/lang/Object;)I
if_icmpeq 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals: org.graalvm.compiler.debug.DebugContext
StackMap stack:
aload 0
getfield org.graalvm.compiler.core.match.MatchStatement.pattern:Lorg/graalvm/compiler/core/match/MatchPattern;
aload 3
aload 0
invokevirtual org.graalvm.compiler.core.match.MatchPattern.matchShape:(Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/core/match/MatchStatement;)Lorg/graalvm/compiler/core/match/MatchPattern$Result;
astore 7
start local 7 3: aload 7
getstatic org.graalvm.compiler.core.match.MatchPattern$Result.OK:Lorg/graalvm/compiler/core/match/MatchPattern$Result;
if_acmpeq 5
4: iconst_0
ireturn
5: StackMap locals: org.graalvm.compiler.core.match.MatchPattern$Result
StackMap stack:
new org.graalvm.compiler.core.match.MatchContext
dup
aload 1
aload 0
iload 2
aload 3
aload 4
aload 5
invokespecial org.graalvm.compiler.core.match.MatchContext.<init>:(Lorg/graalvm/compiler/core/gen/NodeLIRBuilder;Lorg/graalvm/compiler/core/match/MatchStatement;ILorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/nodes/cfg/Block;Lorg/graalvm/compiler/nodes/StructuredGraph$ScheduleResult;)V
astore 8
start local 8 6: aload 0
getfield org.graalvm.compiler.core.match.MatchStatement.pattern:Lorg/graalvm/compiler/core/match/MatchPattern;
aload 3
aload 8
invokevirtual org.graalvm.compiler.core.match.MatchPattern.matchUsage:(Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/core/match/MatchContext;)Lorg/graalvm/compiler/core/match/MatchPattern$Result;
astore 7
7: aload 7
getstatic org.graalvm.compiler.core.match.MatchPattern$Result.OK:Lorg/graalvm/compiler/core/match/MatchPattern$Result;
if_acmpne 18
8: aload 0
getfield org.graalvm.compiler.core.match.MatchStatement.generatorMethod:Lorg/graalvm/compiler/core/match/MatchGenerator;
aload 1
invokevirtual org.graalvm.compiler.core.gen.NodeLIRBuilder.getNodeMatchRules:()Lorg/graalvm/compiler/core/gen/NodeMatchRules;
aload 0
aload 8
invokevirtual org.graalvm.compiler.core.match.MatchStatement.buildArgList:(Lorg/graalvm/compiler/core/match/MatchContext;)[Ljava/lang/Object;
invokeinterface org.graalvm.compiler.core.match.MatchGenerator.match:(Lorg/graalvm/compiler/core/gen/NodeMatchRules;[Ljava/lang/Object;)Lorg/graalvm/compiler/core/match/ComplexMatchResult;
astore 9
start local 9 9: aload 9
ifnull 14
10: aload 8
aload 9
invokevirtual org.graalvm.compiler.core.match.MatchContext.setResult:(Lorg/graalvm/compiler/core/match/ComplexMatchResult;)V
11: getstatic org.graalvm.compiler.core.match.MatchStatement.MatchStatementSuccess:Lorg/graalvm/compiler/debug/CounterKey;
aload 6
invokeinterface org.graalvm.compiler.debug.CounterKey.increment:(Lorg/graalvm/compiler/debug/DebugContext;)V
12: ldc "MatchStatement[%s]"
aload 0
invokevirtual org.graalvm.compiler.core.match.MatchStatement.getName:()Ljava/lang/String;
invokestatic org.graalvm.compiler.debug.DebugContext.counter:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/debug/CounterKey;
aload 6
invokeinterface org.graalvm.compiler.debug.CounterKey.increment:(Lorg/graalvm/compiler/debug/DebugContext;)V
13: iconst_1
ireturn
14: StackMap locals: org.graalvm.compiler.core.match.MatchContext org.graalvm.compiler.core.match.ComplexMatchResult
StackMap stack:
getstatic org.graalvm.compiler.debug.DebugOptions.LogVerbose:Lorg/graalvm/compiler/options/OptionKey;
aload 3
invokevirtual org.graalvm.compiler.graph.Node.getOptions:()Lorg/graalvm/compiler/options/OptionValues;
invokevirtual org.graalvm.compiler.options.OptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 20
15: aload 6
ldc "while matching %s|%s %s %s returned null"
aload 8
invokevirtual org.graalvm.compiler.core.match.MatchContext.getRoot:()Lorg/graalvm/compiler/graph/Node;
getstatic org.graalvm.compiler.nodeinfo.Verbosity.Id:Lorg/graalvm/compiler/nodeinfo/Verbosity;
invokevirtual org.graalvm.compiler.graph.Node.toString:(Lorg/graalvm/compiler/nodeinfo/Verbosity;)Ljava/lang/String;
aload 8
invokevirtual org.graalvm.compiler.core.match.MatchContext.getRoot:()Lorg/graalvm/compiler/graph/Node;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
aload 0
invokevirtual org.graalvm.compiler.core.match.MatchStatement.getName:()Ljava/lang/String;
aload 0
getfield org.graalvm.compiler.core.match.MatchStatement.generatorMethod:Lorg/graalvm/compiler/core/match/MatchGenerator;
invokeinterface org.graalvm.compiler.core.match.MatchGenerator.getName:()Ljava/lang/String;
invokevirtual org.graalvm.compiler.debug.DebugContext.log:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V
16: aload 6
ldc "with nodes %s"
aload 0
aload 3
invokevirtual org.graalvm.compiler.core.match.MatchStatement.formatMatch:(Lorg/graalvm/compiler/graph/Node;)Ljava/lang/String;
invokevirtual org.graalvm.compiler.debug.DebugContext.log:(Ljava/lang/String;Ljava/lang/Object;)V
end local 9 17: goto 20
18: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.debug.DebugOptions.LogVerbose:Lorg/graalvm/compiler/options/OptionKey;
aload 3
invokevirtual org.graalvm.compiler.graph.Node.getOptions:()Lorg/graalvm/compiler/options/OptionValues;
invokevirtual org.graalvm.compiler.options.OptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 20
aload 7
getfield org.graalvm.compiler.core.match.MatchPattern$Result.code:Lorg/graalvm/compiler/core/match/MatchPattern$MatchResultCode;
getstatic org.graalvm.compiler.core.match.MatchPattern$MatchResultCode.WRONG_CLASS:Lorg/graalvm/compiler/core/match/MatchPattern$MatchResultCode;
if_acmpeq 20
19: aload 6
ldc "while matching %s|%s %s %s"
aload 8
invokevirtual org.graalvm.compiler.core.match.MatchContext.getRoot:()Lorg/graalvm/compiler/graph/Node;
getstatic org.graalvm.compiler.nodeinfo.Verbosity.Id:Lorg/graalvm/compiler/nodeinfo/Verbosity;
invokevirtual org.graalvm.compiler.graph.Node.toString:(Lorg/graalvm/compiler/nodeinfo/Verbosity;)Ljava/lang/String;
aload 8
invokevirtual org.graalvm.compiler.core.match.MatchContext.getRoot:()Lorg/graalvm/compiler/graph/Node;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
aload 0
invokevirtual org.graalvm.compiler.core.match.MatchStatement.getName:()Ljava/lang/String;
aload 7
invokevirtual org.graalvm.compiler.debug.DebugContext.log:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V
20: StackMap locals:
StackMap stack:
iconst_0
ireturn
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 21 0 this Lorg/graalvm/compiler/core/match/MatchStatement;
0 21 1 builder Lorg/graalvm/compiler/core/gen/NodeLIRBuilder;
0 21 2 index I
0 21 3 node Lorg/graalvm/compiler/graph/Node;
0 21 4 block Lorg/graalvm/compiler/nodes/cfg/Block;
0 21 5 schedule Lorg/graalvm/compiler/nodes/StructuredGraph$ScheduleResult;
1 21 6 debug Lorg/graalvm/compiler/debug/DebugContext;
3 21 7 result Lorg/graalvm/compiler/core/match/MatchPattern$Result;
6 21 8 context Lorg/graalvm/compiler/core/match/MatchContext;
9 17 9 value Lorg/graalvm/compiler/core/match/ComplexMatchResult;
MethodParameters:
Name Flags
builder
index
node
block
schedule
private java.lang.Object[] buildArgList(org.graalvm.compiler.core.match.MatchContext);
descriptor: (Lorg/graalvm/compiler/core/match/MatchContext;)[Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.core.match.MatchStatement.arguments:[Ljava/lang/String;
arraylength
anewarray java.lang.Object
astore 2
start local 2 1: iconst_0
istore 3
start local 3 2: goto 10
3: StackMap locals: java.lang.Object[] int
StackMap stack:
ldc "root"
aload 0
getfield org.graalvm.compiler.core.match.MatchStatement.arguments:[Ljava/lang/String;
iload 3
aaload
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
4: aload 2
iload 3
aload 1
invokevirtual org.graalvm.compiler.core.match.MatchContext.getRoot:()Lorg/graalvm/compiler/graph/Node;
aastore
5: goto 9
6: StackMap locals:
StackMap stack:
aload 2
iload 3
aload 1
aload 0
getfield org.graalvm.compiler.core.match.MatchStatement.arguments:[Ljava/lang/String;
iload 3
aaload
invokevirtual org.graalvm.compiler.core.match.MatchContext.namedNode:(Ljava/lang/String;)Lorg/graalvm/compiler/graph/Node;
aastore
7: aload 2
iload 3
aaload
ifnonnull 9
8: new org.graalvm.compiler.graph.GraalGraphError
dup
ldc "Can't find named node %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.graalvm.compiler.core.match.MatchStatement.arguments:[Ljava/lang/String;
iload 3
aaload
aastore
invokespecial org.graalvm.compiler.graph.GraalGraphError.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
9: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
10: iload 3
aload 0
getfield org.graalvm.compiler.core.match.MatchStatement.arguments:[Ljava/lang/String;
arraylength
if_icmplt 3
end local 3 11: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/graalvm/compiler/core/match/MatchStatement;
0 12 1 context Lorg/graalvm/compiler/core/match/MatchContext;
1 12 2 result [Ljava/lang/Object;
2 11 3 i I
MethodParameters:
Name Flags
context
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=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.core.match.MatchStatement.pattern:Lorg/graalvm/compiler/core/match/MatchPattern;
aload 1
invokevirtual org.graalvm.compiler.core.match.MatchPattern.formatMatch:(Lorg/graalvm/compiler/graph/Node;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/match/MatchStatement;
0 1 1 root Lorg/graalvm/compiler/graph/Node;
MethodParameters:
Name Flags
root
public org.graalvm.compiler.core.match.MatchPattern getPattern();
descriptor: ()Lorg/graalvm/compiler/core/match/MatchPattern;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.core.match.MatchStatement.pattern:Lorg/graalvm/compiler/core/match/MatchPattern;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/match/MatchStatement;
public java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.core.match.MatchStatement.name:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/match/MatchStatement;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.core.match.MatchStatement.pattern:Lorg/graalvm/compiler/core/match/MatchPattern;
invokevirtual org.graalvm.compiler.core.match.MatchPattern.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/match/MatchStatement;
}
SourceFile: "MatchStatement.java"
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
public ScheduleResult = org.graalvm.compiler.nodes.StructuredGraph$ScheduleResult of org.graalvm.compiler.nodes.StructuredGraph