public class org.graalvm.compiler.nodes.spi.SwitchFoldable$Helper
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.nodes.spi.SwitchFoldable$Helper
super_class: java.lang.Object
{
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/nodes/spi/SwitchFoldable$Helper;
private static boolean isDuplicateKey(int, org.graalvm.compiler.nodes.spi.SwitchFoldable$QuickQueryKeyData);
descriptor: (ILorg/graalvm/compiler/nodes/spi/SwitchFoldable$QuickQueryKeyData;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
iload 0
invokevirtual org.graalvm.compiler.nodes.spi.SwitchFoldable$QuickQueryKeyData.contains:(I)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 key I
0 1 1 keyData Lorg/graalvm/compiler/nodes/spi/SwitchFoldable$QuickQueryKeyData;
MethodParameters:
Name Flags
key
keyData
private static int duplicateIndex(org.graalvm.compiler.nodes.AbstractBeginNode, org.graalvm.compiler.nodes.spi.SwitchFoldable$QuickQueryList<org.graalvm.compiler.nodes.AbstractBeginNode>);
descriptor: (Lorg/graalvm/compiler/nodes/AbstractBeginNode;Lorg/graalvm/compiler/nodes/spi/SwitchFoldable$QuickQueryList;)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokevirtual org.graalvm.compiler.nodes.spi.SwitchFoldable$QuickQueryList.indexOf:(Ljava/lang/Object;)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 begin Lorg/graalvm/compiler/nodes/AbstractBeginNode;
0 1 1 successors Lorg/graalvm/compiler/nodes/spi/SwitchFoldable$QuickQueryList<Lorg/graalvm/compiler/nodes/AbstractBeginNode;>;
Signature: (Lorg/graalvm/compiler/nodes/AbstractBeginNode;Lorg/graalvm/compiler/nodes/spi/SwitchFoldable$QuickQueryList<Lorg/graalvm/compiler/nodes/AbstractBeginNode;>;)I
MethodParameters:
Name Flags
begin
successors
private static org.graalvm.compiler.graph.Node skipUpBegins(org.graalvm.compiler.graph.Node);
descriptor: (Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
astore 1
start local 1 1: goto 3
2: StackMap locals: org.graalvm.compiler.graph.Node
StackMap stack:
aload 1
invokevirtual org.graalvm.compiler.graph.Node.predecessor:()Lorg/graalvm/compiler/graph/Node;
astore 1
3: StackMap locals:
StackMap stack:
aload 1
instanceof org.graalvm.compiler.nodes.BeginNode
ifeq 4
aload 1
invokevirtual org.graalvm.compiler.graph.Node.hasNoUsages:()Z
ifne 2
4: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 node Lorg/graalvm/compiler/graph/Node;
1 5 1 result Lorg/graalvm/compiler/graph/Node;
MethodParameters:
Name Flags
node
private static org.graalvm.compiler.graph.Node skipDownBegins(org.graalvm.compiler.graph.Node);
descriptor: (Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
astore 1
start local 1 1: goto 3
2: StackMap locals: org.graalvm.compiler.graph.Node
StackMap stack:
aload 1
checkcast org.graalvm.compiler.nodes.BeginNode
invokevirtual org.graalvm.compiler.nodes.BeginNode.next:()Lorg/graalvm/compiler/nodes/FixedNode;
astore 1
3: StackMap locals:
StackMap stack:
aload 1
instanceof org.graalvm.compiler.nodes.BeginNode
ifeq 4
aload 1
invokevirtual org.graalvm.compiler.graph.Node.hasNoUsages:()Z
ifne 2
4: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 node Lorg/graalvm/compiler/graph/Node;
1 5 1 result Lorg/graalvm/compiler/graph/Node;
MethodParameters:
Name Flags
node
private static org.graalvm.compiler.nodes.spi.SwitchFoldable getParentSwitchNode(org.graalvm.compiler.nodes.spi.SwitchFoldable, org.graalvm.compiler.nodes.ValueNode);
descriptor: (Lorg/graalvm/compiler/nodes/spi/SwitchFoldable;Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/spi/SwitchFoldable;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface org.graalvm.compiler.nodes.spi.SwitchFoldable.asNode:()Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.nodes.ValueNode.predecessor:()Lorg/graalvm/compiler/graph/Node;
invokestatic org.graalvm.compiler.nodes.spi.SwitchFoldable$Helper.skipUpBegins:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
astore 2
start local 2 1: aload 2
instanceof org.graalvm.compiler.nodes.spi.SwitchFoldable
ifeq 3
aload 2
checkcast org.graalvm.compiler.nodes.spi.SwitchFoldable
aload 1
invokeinterface org.graalvm.compiler.nodes.spi.SwitchFoldable.isInSwitch:(Lorg/graalvm/compiler/nodes/ValueNode;)Z
ifeq 3
2: aload 2
checkcast org.graalvm.compiler.nodes.spi.SwitchFoldable
areturn
3: StackMap locals: org.graalvm.compiler.graph.Node
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 node Lorg/graalvm/compiler/nodes/spi/SwitchFoldable;
0 4 1 switchValue Lorg/graalvm/compiler/nodes/ValueNode;
1 4 2 result Lorg/graalvm/compiler/graph/Node;
MethodParameters:
Name Flags
node
switchValue
private static org.graalvm.compiler.nodes.spi.SwitchFoldable getChildSwitchNode(org.graalvm.compiler.nodes.spi.SwitchFoldable, org.graalvm.compiler.nodes.ValueNode);
descriptor: (Lorg/graalvm/compiler/nodes/spi/SwitchFoldable;Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/spi/SwitchFoldable;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface org.graalvm.compiler.nodes.spi.SwitchFoldable.getNextSwitchFoldableBranch:()Lorg/graalvm/compiler/graph/Node;
invokestatic org.graalvm.compiler.nodes.spi.SwitchFoldable$Helper.skipDownBegins:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
astore 2
start local 2 1: aload 2
instanceof org.graalvm.compiler.nodes.spi.SwitchFoldable
ifeq 3
aload 2
checkcast org.graalvm.compiler.nodes.spi.SwitchFoldable
aload 1
invokeinterface org.graalvm.compiler.nodes.spi.SwitchFoldable.isInSwitch:(Lorg/graalvm/compiler/nodes/ValueNode;)Z
ifeq 3
2: aload 2
checkcast org.graalvm.compiler.nodes.spi.SwitchFoldable
areturn
3: StackMap locals: org.graalvm.compiler.graph.Node
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 node Lorg/graalvm/compiler/nodes/spi/SwitchFoldable;
0 4 1 switchValue Lorg/graalvm/compiler/nodes/ValueNode;
1 4 2 result Lorg/graalvm/compiler/graph/Node;
MethodParameters:
Name Flags
node
switchValue
private static int addDefault(org.graalvm.compiler.nodes.spi.SwitchFoldable, org.graalvm.compiler.nodes.spi.SwitchFoldable$QuickQueryList<org.graalvm.compiler.nodes.AbstractBeginNode>);
descriptor: (Lorg/graalvm/compiler/nodes/spi/SwitchFoldable;Lorg/graalvm/compiler/nodes/spi/SwitchFoldable$QuickQueryList;)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface org.graalvm.compiler.nodes.spi.SwitchFoldable.getDefault:()Lorg/graalvm/compiler/nodes/AbstractBeginNode;
astore 2
start local 2 1: aload 1
aload 2
invokevirtual org.graalvm.compiler.nodes.spi.SwitchFoldable$QuickQueryList.indexOf:(Ljava/lang/Object;)I
istore 3
start local 3 2: iload 3
iconst_m1
if_icmpne 5
3: aload 1
invokevirtual org.graalvm.compiler.nodes.spi.SwitchFoldable$QuickQueryList.size:()I
istore 3
4: aload 1
aload 2
invokevirtual org.graalvm.compiler.nodes.spi.SwitchFoldable$QuickQueryList.add:(Ljava/lang/Object;)Z
pop
5: StackMap locals: org.graalvm.compiler.nodes.AbstractBeginNode int
StackMap stack:
iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 node Lorg/graalvm/compiler/nodes/spi/SwitchFoldable;
0 6 1 successors Lorg/graalvm/compiler/nodes/spi/SwitchFoldable$QuickQueryList<Lorg/graalvm/compiler/nodes/AbstractBeginNode;>;
1 6 2 defaultBranch Lorg/graalvm/compiler/nodes/AbstractBeginNode;
2 6 3 index I
Signature: (Lorg/graalvm/compiler/nodes/spi/SwitchFoldable;Lorg/graalvm/compiler/nodes/spi/SwitchFoldable$QuickQueryList<Lorg/graalvm/compiler/nodes/AbstractBeginNode;>;)I
MethodParameters:
Name Flags
node
successors
private static int countNonDeoptSuccessors(org.graalvm.compiler.nodes.spi.SwitchFoldable$QuickQueryKeyData);
descriptor: (Lorg/graalvm/compiler/nodes/spi/SwitchFoldable$QuickQueryKeyData;)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: aload 0
getfield org.graalvm.compiler.nodes.spi.SwitchFoldable$QuickQueryKeyData.list:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 5
StackMap locals: org.graalvm.compiler.nodes.spi.SwitchFoldable$QuickQueryKeyData int top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.spi.SwitchFoldable$KeyData
astore 2
start local 2 3: aload 2
getfield org.graalvm.compiler.nodes.spi.SwitchFoldable$KeyData.keyProbability:D
dconst_0
dcmpl
ifle 5
4: iinc 1 1
end local 2 5: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
6: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 keyData Lorg/graalvm/compiler/nodes/spi/SwitchFoldable$QuickQueryKeyData;
1 7 1 result I
3 5 2 key Lorg/graalvm/compiler/nodes/spi/SwitchFoldable$KeyData;
MethodParameters:
Name Flags
keyData
private static void updateSwitchData(org.graalvm.compiler.nodes.spi.SwitchFoldable, org.graalvm.compiler.nodes.spi.SwitchFoldable$QuickQueryKeyData, org.graalvm.compiler.nodes.spi.SwitchFoldable$QuickQueryList<org.graalvm.compiler.nodes.AbstractBeginNode>, double[], double[], org.graalvm.compiler.nodes.spi.SwitchFoldable$QuickQueryList<org.graalvm.compiler.nodes.AbstractBeginNode>);
descriptor: (Lorg/graalvm/compiler/nodes/spi/SwitchFoldable;Lorg/graalvm/compiler/nodes/spi/SwitchFoldable$QuickQueryKeyData;Lorg/graalvm/compiler/nodes/spi/SwitchFoldable$QuickQueryList;[D[DLorg/graalvm/compiler/nodes/spi/SwitchFoldable$QuickQueryList;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=13, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: iconst_0
istore 6
start local 6 1: goto 26
2: StackMap locals: int
StackMap stack:
aload 0
iload 6
invokeinterface org.graalvm.compiler.nodes.spi.SwitchFoldable.intKeyAt:(I)I
istore 7
start local 7 3: aload 3
iconst_0
daload
aload 0
iload 6
invokeinterface org.graalvm.compiler.nodes.spi.SwitchFoldable.keyProbability:(I)D
dmul
dstore 8
start local 8 4: aload 0
iload 6
invokeinterface org.graalvm.compiler.nodes.spi.SwitchFoldable.keySuccessor:(I)Lorg/graalvm/compiler/nodes/AbstractBeginNode;
astore 11
start local 11 5: iload 7
aload 1
invokestatic org.graalvm.compiler.nodes.spi.SwitchFoldable$Helper.isDuplicateKey:(ILorg/graalvm/compiler/nodes/spi/SwitchFoldable$QuickQueryKeyData;)Z
ifeq 11
6: aload 1
iload 7
invokevirtual org.graalvm.compiler.nodes.spi.SwitchFoldable$QuickQueryKeyData.fromKey:(I)Lorg/graalvm/compiler/nodes/spi/SwitchFoldable$KeyData;
astore 10
start local 10 7: aload 10
getfield org.graalvm.compiler.nodes.spi.SwitchFoldable$KeyData.keySuccessor:I
bipush -2
if_icmpeq 14
8: aload 2
aload 11
invokevirtual org.graalvm.compiler.nodes.spi.SwitchFoldable$QuickQueryList.contains:(Ljava/lang/Object;)Z
ifne 25
aload 5
aload 11
invokevirtual org.graalvm.compiler.nodes.spi.SwitchFoldable$QuickQueryList.contains:(Ljava/lang/Object;)Z
ifne 25
aload 11
invokevirtual org.graalvm.compiler.nodes.AbstractBeginNode.isAlive:()Z
ifeq 25
9: aload 5
aload 11
invokevirtual org.graalvm.compiler.nodes.spi.SwitchFoldable$QuickQueryList.add:(Ljava/lang/Object;)Z
pop
10: goto 25
end local 10 11: StackMap locals: org.graalvm.compiler.nodes.spi.SwitchFoldable org.graalvm.compiler.nodes.spi.SwitchFoldable$QuickQueryKeyData org.graalvm.compiler.nodes.spi.SwitchFoldable$QuickQueryList double[] double[] org.graalvm.compiler.nodes.spi.SwitchFoldable$QuickQueryList int int double top org.graalvm.compiler.nodes.AbstractBeginNode
StackMap stack:
new org.graalvm.compiler.nodes.spi.SwitchFoldable$KeyData
dup
iload 7
dload 8
bipush -2
invokespecial org.graalvm.compiler.nodes.spi.SwitchFoldable$KeyData.<init>:(IDI)V
astore 10
start local 10 12: aload 4
iconst_0
dup2
daload
dload 8
dadd
dastore
13: aload 1
aload 10
invokevirtual org.graalvm.compiler.nodes.spi.SwitchFoldable$QuickQueryKeyData.add:(Lorg/graalvm/compiler/nodes/spi/SwitchFoldable$KeyData;)V
14: StackMap locals: org.graalvm.compiler.nodes.spi.SwitchFoldable org.graalvm.compiler.nodes.spi.SwitchFoldable$QuickQueryKeyData org.graalvm.compiler.nodes.spi.SwitchFoldable$QuickQueryList double[] double[] org.graalvm.compiler.nodes.spi.SwitchFoldable$QuickQueryList int int double org.graalvm.compiler.nodes.spi.SwitchFoldable$KeyData org.graalvm.compiler.nodes.AbstractBeginNode
StackMap stack:
aload 11
invokevirtual org.graalvm.compiler.nodes.AbstractBeginNode.isUnregistered:()Z
ifeq 18
15: aload 10
aload 2
invokevirtual org.graalvm.compiler.nodes.spi.SwitchFoldable$QuickQueryList.size:()I
putfield org.graalvm.compiler.nodes.spi.SwitchFoldable$KeyData.keySuccessor:I
16: aload 2
aload 11
invokevirtual org.graalvm.compiler.nodes.spi.SwitchFoldable$QuickQueryList.addUnique:(Ljava/lang/Object;)V
17: goto 25
18: StackMap locals:
StackMap stack:
aload 11
aload 2
invokestatic org.graalvm.compiler.nodes.spi.SwitchFoldable$Helper.duplicateIndex:(Lorg/graalvm/compiler/nodes/AbstractBeginNode;Lorg/graalvm/compiler/nodes/spi/SwitchFoldable$QuickQueryList;)I
istore 12
start local 12 19: iload 12
iconst_m1
if_icmpeq 22
20: aload 10
iload 12
putfield org.graalvm.compiler.nodes.spi.SwitchFoldable$KeyData.keySuccessor:I
21: goto 25
StackMap locals: int
StackMap stack:
22: aload 0
aload 11
invokeinterface org.graalvm.compiler.nodes.spi.SwitchFoldable.isDefaultSuccessor:(Lorg/graalvm/compiler/nodes/AbstractBeginNode;)Z
ifne 25
23: aload 10
aload 2
invokevirtual org.graalvm.compiler.nodes.spi.SwitchFoldable$QuickQueryList.size:()I
putfield org.graalvm.compiler.nodes.spi.SwitchFoldable$KeyData.keySuccessor:I
24: aload 2
aload 11
invokevirtual org.graalvm.compiler.nodes.spi.SwitchFoldable$QuickQueryList.add:(Ljava/lang/Object;)Z
pop
end local 12 end local 11 end local 10 end local 8 end local 7 25: StackMap locals: org.graalvm.compiler.nodes.spi.SwitchFoldable org.graalvm.compiler.nodes.spi.SwitchFoldable$QuickQueryKeyData org.graalvm.compiler.nodes.spi.SwitchFoldable$QuickQueryList double[] double[] org.graalvm.compiler.nodes.spi.SwitchFoldable$QuickQueryList int
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
26: iload 6
aload 0
invokeinterface org.graalvm.compiler.nodes.spi.SwitchFoldable.keyCount:()I
if_icmplt 2
end local 6 27: aload 3
iconst_0
dup2
daload
aload 0
invokeinterface org.graalvm.compiler.nodes.spi.SwitchFoldable.defaultProbability:()D
dmul
dastore
28: 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 29 0 node Lorg/graalvm/compiler/nodes/spi/SwitchFoldable;
0 29 1 keyData Lorg/graalvm/compiler/nodes/spi/SwitchFoldable$QuickQueryKeyData;
0 29 2 newSuccessors Lorg/graalvm/compiler/nodes/spi/SwitchFoldable$QuickQueryList<Lorg/graalvm/compiler/nodes/AbstractBeginNode;>;
0 29 3 cumulative [D
0 29 4 totalProbabilities [D
0 29 5 duplicates Lorg/graalvm/compiler/nodes/spi/SwitchFoldable$QuickQueryList<Lorg/graalvm/compiler/nodes/AbstractBeginNode;>;
1 27 6 i I
3 25 7 key I
4 25 8 keyProbability D
7 11 10 data Lorg/graalvm/compiler/nodes/spi/SwitchFoldable$KeyData;
12 25 10 data Lorg/graalvm/compiler/nodes/spi/SwitchFoldable$KeyData;
5 25 11 keySuccessor Lorg/graalvm/compiler/nodes/AbstractBeginNode;
19 25 12 pos I
Signature: (Lorg/graalvm/compiler/nodes/spi/SwitchFoldable;Lorg/graalvm/compiler/nodes/spi/SwitchFoldable$QuickQueryKeyData;Lorg/graalvm/compiler/nodes/spi/SwitchFoldable$QuickQueryList<Lorg/graalvm/compiler/nodes/AbstractBeginNode;>;[D[DLorg/graalvm/compiler/nodes/spi/SwitchFoldable$QuickQueryList<Lorg/graalvm/compiler/nodes/AbstractBeginNode;>;)V
MethodParameters:
Name Flags
node
keyData
newSuccessors
cumulative
totalProbabilities
duplicates
}
SourceFile: "SwitchFoldable.java"
NestHost: org.graalvm.compiler.nodes.spi.SwitchFoldable
InnerClasses:
public Helper = org.graalvm.compiler.nodes.spi.SwitchFoldable$Helper of org.graalvm.compiler.nodes.spi.SwitchFoldable
public final KeyData = org.graalvm.compiler.nodes.spi.SwitchFoldable$KeyData of org.graalvm.compiler.nodes.spi.SwitchFoldable
public final QuickQueryKeyData = org.graalvm.compiler.nodes.spi.SwitchFoldable$QuickQueryKeyData of org.graalvm.compiler.nodes.spi.SwitchFoldable
public final QuickQueryList = org.graalvm.compiler.nodes.spi.SwitchFoldable$QuickQueryList of org.graalvm.compiler.nodes.spi.SwitchFoldable