public class org.graalvm.compiler.lir.gen.PhiResolver
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.lir.gen.PhiResolver
super_class: java.lang.Object
{
private final org.graalvm.compiler.lir.gen.LIRGeneratorTool gen;
descriptor: Lorg/graalvm/compiler/lir/gen/LIRGeneratorTool;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.compiler.lir.gen.LIRGeneratorTool$MoveFactory moveFactory;
descriptor: Lorg/graalvm/compiler/lir/gen/LIRGeneratorTool$MoveFactory;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.compiler.lir.LIRInsertionBuffer buffer;
descriptor: Lorg/graalvm/compiler/lir/LIRInsertionBuffer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int insertBefore;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private org.graalvm.compiler.lir.gen.PhiResolver$PhiResolverNode loop;
descriptor: Lorg/graalvm/compiler/lir/gen/PhiResolver$PhiResolverNode;
flags: (0x0002) ACC_PRIVATE
private jdk.vm.ci.meta.Value temp;
descriptor: Ljdk/vm/ci/meta/Value;
flags: (0x0002) ACC_PRIVATE
private final java.util.ArrayList<org.graalvm.compiler.lir.gen.PhiResolver$PhiResolverNode> variableOperands;
descriptor: Ljava/util/ArrayList;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/ArrayList<Lorg/graalvm/compiler/lir/gen/PhiResolver$PhiResolverNode;>;
private final java.util.ArrayList<org.graalvm.compiler.lir.gen.PhiResolver$PhiResolverNode> otherOperands;
descriptor: Ljava/util/ArrayList;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/ArrayList<Lorg/graalvm/compiler/lir/gen/PhiResolver$PhiResolverNode;>;
private final jdk.internal.vm.compiler.collections.EconomicMap<jdk.vm.ci.meta.Value, org.graalvm.compiler.lir.gen.PhiResolver$PhiResolverNode> operandToNodeMap;
descriptor: Ljdk/internal/vm/compiler/collections/EconomicMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljdk/internal/vm/compiler/collections/EconomicMap<Ljdk/vm/ci/meta/Value;Lorg/graalvm/compiler/lir/gen/PhiResolver$PhiResolverNode;>;
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/lir/gen/PhiResolver;
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.lir.gen.PhiResolver.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public static org.graalvm.compiler.lir.gen.PhiResolver create(org.graalvm.compiler.lir.gen.LIRGeneratorTool);
descriptor: (Lorg/graalvm/compiler/lir/gen/LIRGeneratorTool;)Lorg/graalvm/compiler/lir/gen/PhiResolver;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=3, args_size=1
start local 0 0: aload 0
invokeinterface org.graalvm.compiler.lir.gen.LIRGeneratorTool.getCurrentBlock:()Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
astore 1
start local 1 1: getstatic org.graalvm.compiler.lir.gen.PhiResolver.$assertionsDisabled:Z
ifne 2
aload 1
ifnonnull 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals: org.graalvm.compiler.core.common.cfg.AbstractBlockBase
StackMap stack:
aload 0
invokeinterface org.graalvm.compiler.lir.gen.LIRGeneratorTool.getResult:()Lorg/graalvm/compiler/lir/gen/LIRGenerationResult;
invokevirtual org.graalvm.compiler.lir.gen.LIRGenerationResult.getLIR:()Lorg/graalvm/compiler/lir/LIR;
aload 1
invokevirtual org.graalvm.compiler.lir.LIR.getLIRforBlock:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Ljava/util/ArrayList;
astore 2
start local 2 3: new org.graalvm.compiler.lir.gen.PhiResolver
dup
aload 0
new org.graalvm.compiler.lir.LIRInsertionBuffer
dup
invokespecial org.graalvm.compiler.lir.LIRInsertionBuffer.<init>:()V
aload 2
aload 2
invokevirtual java.util.ArrayList.size:()I
invokespecial org.graalvm.compiler.lir.gen.PhiResolver.<init>:(Lorg/graalvm/compiler/lir/gen/LIRGeneratorTool;Lorg/graalvm/compiler/lir/LIRInsertionBuffer;Ljava/util/List;I)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 gen Lorg/graalvm/compiler/lir/gen/LIRGeneratorTool;
1 4 1 block Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
3 4 2 instructions Ljava/util/ArrayList<Lorg/graalvm/compiler/lir/LIRInstruction;>;
MethodParameters:
Name Flags
gen
public static org.graalvm.compiler.lir.gen.PhiResolver create(org.graalvm.compiler.lir.gen.LIRGeneratorTool, org.graalvm.compiler.lir.LIRInsertionBuffer, java.util.List<org.graalvm.compiler.lir.LIRInstruction>, int);
descriptor: (Lorg/graalvm/compiler/lir/gen/LIRGeneratorTool;Lorg/graalvm/compiler/lir/LIRInsertionBuffer;Ljava/util/List;I)Lorg/graalvm/compiler/lir/gen/PhiResolver;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new org.graalvm.compiler.lir.gen.PhiResolver
dup
aload 0
aload 1
aload 2
iload 3
invokespecial org.graalvm.compiler.lir.gen.PhiResolver.<init>:(Lorg/graalvm/compiler/lir/gen/LIRGeneratorTool;Lorg/graalvm/compiler/lir/LIRInsertionBuffer;Ljava/util/List;I)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 gen Lorg/graalvm/compiler/lir/gen/LIRGeneratorTool;
0 1 1 buffer Lorg/graalvm/compiler/lir/LIRInsertionBuffer;
0 1 2 instructions Ljava/util/List<Lorg/graalvm/compiler/lir/LIRInstruction;>;
0 1 3 insertBefore I
Signature: (Lorg/graalvm/compiler/lir/gen/LIRGeneratorTool;Lorg/graalvm/compiler/lir/LIRInsertionBuffer;Ljava/util/List<Lorg/graalvm/compiler/lir/LIRInstruction;>;I)Lorg/graalvm/compiler/lir/gen/PhiResolver;
MethodParameters:
Name Flags
gen
buffer
instructions
insertBefore
protected void <init>(org.graalvm.compiler.lir.gen.LIRGeneratorTool, org.graalvm.compiler.lir.LIRInsertionBuffer, java.util.List<org.graalvm.compiler.lir.LIRInstruction>, );
descriptor: (Lorg/graalvm/compiler/lir/gen/LIRGeneratorTool;Lorg/graalvm/compiler/lir/LIRInsertionBuffer;Ljava/util/List;I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, 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
new java.util.ArrayList
dup
iconst_3
invokespecial java.util.ArrayList.<init>:(I)V
putfield org.graalvm.compiler.lir.gen.PhiResolver.variableOperands:Ljava/util/ArrayList;
2: aload 0
new java.util.ArrayList
dup
iconst_3
invokespecial java.util.ArrayList.<init>:(I)V
putfield org.graalvm.compiler.lir.gen.PhiResolver.otherOperands:Ljava/util/ArrayList;
3: aload 0
getstatic jdk.internal.vm.compiler.collections.Equivalence.DEFAULT:Ljdk/internal/vm/compiler/collections/Equivalence;
invokestatic jdk.internal.vm.compiler.collections.EconomicMap.create:(Ljdk/internal/vm/compiler/collections/Equivalence;)Ljdk/internal/vm/compiler/collections/EconomicMap;
putfield org.graalvm.compiler.lir.gen.PhiResolver.operandToNodeMap:Ljdk/internal/vm/compiler/collections/EconomicMap;
4: aload 0
aload 1
putfield org.graalvm.compiler.lir.gen.PhiResolver.gen:Lorg/graalvm/compiler/lir/gen/LIRGeneratorTool;
5: aload 0
aload 1
invokeinterface org.graalvm.compiler.lir.gen.LIRGeneratorTool.getSpillMoveFactory:()Lorg/graalvm/compiler/lir/gen/LIRGeneratorTool$MoveFactory;
putfield org.graalvm.compiler.lir.gen.PhiResolver.moveFactory:Lorg/graalvm/compiler/lir/gen/LIRGeneratorTool$MoveFactory;
6: aload 0
getstatic jdk.vm.ci.meta.Value.ILLEGAL:Ljdk/vm/ci/meta/AllocatableValue;
putfield org.graalvm.compiler.lir.gen.PhiResolver.temp:Ljdk/vm/ci/meta/Value;
7: aload 0
aload 2
putfield org.graalvm.compiler.lir.gen.PhiResolver.buffer:Lorg/graalvm/compiler/lir/LIRInsertionBuffer;
8: aload 0
getfield org.graalvm.compiler.lir.gen.PhiResolver.buffer:Lorg/graalvm/compiler/lir/LIRInsertionBuffer;
aload 3
invokevirtual org.graalvm.compiler.lir.LIRInsertionBuffer.init:(Ljava/util/List;)V
9: aload 0
iload 4
putfield org.graalvm.compiler.lir.gen.PhiResolver.insertBefore:I
10: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/graalvm/compiler/lir/gen/PhiResolver;
0 11 1 gen Lorg/graalvm/compiler/lir/gen/LIRGeneratorTool;
0 11 2 buffer Lorg/graalvm/compiler/lir/LIRInsertionBuffer;
0 11 3 instructions Ljava/util/List<Lorg/graalvm/compiler/lir/LIRInstruction;>;
0 11 4 insertBefore I
Signature: (Lorg/graalvm/compiler/lir/gen/LIRGeneratorTool;Lorg/graalvm/compiler/lir/LIRInsertionBuffer;Ljava/util/List<Lorg/graalvm/compiler/lir/LIRInstruction;>;I)V
MethodParameters:
Name Flags
gen
buffer
instructions
insertBefore
public void dispose();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.lir.gen.PhiResolver.variableOperands:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
iconst_1
isub
istore 1
start local 1 1: goto 9
2: StackMap locals: int
StackMap stack:
aload 0
getfield org.graalvm.compiler.lir.gen.PhiResolver.variableOperands:Ljava/util/ArrayList;
iload 1
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast org.graalvm.compiler.lir.gen.PhiResolver$PhiResolverNode
astore 2
start local 2 3: aload 2
getfield org.graalvm.compiler.lir.gen.PhiResolver$PhiResolverNode.visited:Z
ifne 8
4: aload 0
aconst_null
putfield org.graalvm.compiler.lir.gen.PhiResolver.loop:Lorg/graalvm/compiler/lir/gen/PhiResolver$PhiResolverNode;
5: aload 0
aload 2
aconst_null
invokevirtual org.graalvm.compiler.lir.gen.PhiResolver.move:(Lorg/graalvm/compiler/lir/gen/PhiResolver$PhiResolverNode;Lorg/graalvm/compiler/lir/gen/PhiResolver$PhiResolverNode;)V
6: aload 2
iconst_1
putfield org.graalvm.compiler.lir.gen.PhiResolver$PhiResolverNode.startNode:Z
7: getstatic org.graalvm.compiler.lir.gen.PhiResolver.$assertionsDisabled:Z
ifne 8
aload 0
getfield org.graalvm.compiler.lir.gen.PhiResolver.temp:Ljdk/vm/ci/meta/Value;
invokestatic jdk.vm.ci.code.ValueUtil.isIllegal:(Ljdk/vm/ci/meta/Value;)Z
ifne 8
new java.lang.AssertionError
dup
ldc "moveTempTo() call missing"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 2 8: StackMap locals:
StackMap stack:
iinc 1 -1
StackMap locals:
StackMap stack:
9: iload 1
ifge 2
end local 1 10: aload 0
getfield org.graalvm.compiler.lir.gen.PhiResolver.otherOperands:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
iconst_1
isub
istore 1
start local 1 11: goto 19
12: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.lir.gen.PhiResolver.otherOperands:Ljava/util/ArrayList;
iload 1
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast org.graalvm.compiler.lir.gen.PhiResolver$PhiResolverNode
astore 2
start local 2 13: aload 2
getfield org.graalvm.compiler.lir.gen.PhiResolver$PhiResolverNode.destinations:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
iconst_1
isub
istore 3
start local 3 14: goto 17
15: StackMap locals: org.graalvm.compiler.lir.gen.PhiResolver$PhiResolverNode int
StackMap stack:
aload 0
aload 2
getfield org.graalvm.compiler.lir.gen.PhiResolver$PhiResolverNode.destinations:Ljava/util/ArrayList;
iload 3
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast org.graalvm.compiler.lir.gen.PhiResolver$PhiResolverNode
getfield org.graalvm.compiler.lir.gen.PhiResolver$PhiResolverNode.operand:Ljdk/vm/ci/meta/Value;
aload 2
getfield org.graalvm.compiler.lir.gen.PhiResolver$PhiResolverNode.operand:Ljdk/vm/ci/meta/Value;
invokevirtual org.graalvm.compiler.lir.gen.PhiResolver.emitMove:(Ljdk/vm/ci/meta/Value;Ljdk/vm/ci/meta/Value;)V
16: iinc 3 -1
StackMap locals:
StackMap stack:
17: iload 3
ifge 15
end local 3 end local 2 18: iinc 1 -1
StackMap locals:
StackMap stack:
19: iload 1
ifge 12
end local 1 20: aload 0
getfield org.graalvm.compiler.lir.gen.PhiResolver.buffer:Lorg/graalvm/compiler/lir/LIRInsertionBuffer;
invokevirtual org.graalvm.compiler.lir.LIRInsertionBuffer.finish:()V
21: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lorg/graalvm/compiler/lir/gen/PhiResolver;
1 10 1 i I
3 8 2 node Lorg/graalvm/compiler/lir/gen/PhiResolver$PhiResolverNode;
11 20 1 i I
13 18 2 node Lorg/graalvm/compiler/lir/gen/PhiResolver$PhiResolverNode;
14 18 3 j I
public void move(jdk.vm.ci.meta.Value, jdk.vm.ci.meta.Value);
descriptor: (Ljdk/vm/ci/meta/Value;Ljdk/vm/ci/meta/Value;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.graalvm.compiler.lir.gen.PhiResolver.$assertionsDisabled:Z
ifne 1
aload 1
invokestatic org.graalvm.compiler.lir.LIRValueUtil.isVariable:(Ljdk/vm/ci/meta/Value;)Z
ifne 1
new java.lang.AssertionError
dup
ldc "destination must be virtual"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
1: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.lir.gen.PhiResolver.$assertionsDisabled:Z
ifne 2
aload 2
invokestatic jdk.vm.ci.code.ValueUtil.isLegal:(Ljdk/vm/ci/meta/Value;)Z
ifne 2
new java.lang.AssertionError
dup
ldc "source for phi move is illegal"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
2: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.lir.gen.PhiResolver.$assertionsDisabled:Z
ifne 3
aload 1
invokestatic jdk.vm.ci.code.ValueUtil.isLegal:(Ljdk/vm/ci/meta/Value;)Z
ifne 3
new java.lang.AssertionError
dup
ldc "destination for phi move is illegal"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
3: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual org.graalvm.compiler.lir.gen.PhiResolver.sourceNode:(Ljdk/vm/ci/meta/Value;)Lorg/graalvm/compiler/lir/gen/PhiResolver$PhiResolverNode;
astore 3
start local 3 4: aload 0
aload 1
invokevirtual org.graalvm.compiler.lir.gen.PhiResolver.destinationNode:(Ljdk/vm/ci/meta/Value;)Lorg/graalvm/compiler/lir/gen/PhiResolver$PhiResolverNode;
astore 4
start local 4 5: aload 3
getfield org.graalvm.compiler.lir.gen.PhiResolver$PhiResolverNode.destinations:Ljava/util/ArrayList;
aload 4
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
6: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/graalvm/compiler/lir/gen/PhiResolver;
0 7 1 dest Ljdk/vm/ci/meta/Value;
0 7 2 src Ljdk/vm/ci/meta/Value;
4 7 3 srcNode Lorg/graalvm/compiler/lir/gen/PhiResolver$PhiResolverNode;
5 7 4 destNode Lorg/graalvm/compiler/lir/gen/PhiResolver$PhiResolverNode;
MethodParameters:
Name Flags
dest
src
private org.graalvm.compiler.lir.gen.PhiResolver$PhiResolverNode createNode(jdk.vm.ci.meta.Value, boolean);
descriptor: (Ljdk/vm/ci/meta/Value;Z)Lorg/graalvm/compiler/lir/gen/PhiResolver$PhiResolverNode;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic org.graalvm.compiler.lir.LIRValueUtil.isVariable:(Ljdk/vm/ci/meta/Value;)Z
ifeq 10
1: aload 0
getfield org.graalvm.compiler.lir.gen.PhiResolver.operandToNodeMap:Ljdk/internal/vm/compiler/collections/EconomicMap;
aload 1
invokeinterface jdk.internal.vm.compiler.collections.EconomicMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.graalvm.compiler.lir.gen.PhiResolver$PhiResolverNode
astore 3
start local 3 2: getstatic org.graalvm.compiler.lir.gen.PhiResolver.$assertionsDisabled:Z
ifne 3
aload 3
ifnull 3
aload 3
getfield org.graalvm.compiler.lir.gen.PhiResolver$PhiResolverNode.operand:Ljdk/vm/ci/meta/Value;
aload 1
invokevirtual jdk.vm.ci.meta.Value.equals:(Ljava/lang/Object;)Z
ifne 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals: org.graalvm.compiler.lir.gen.PhiResolver$PhiResolverNode
StackMap stack:
aload 3
ifnonnull 6
4: new org.graalvm.compiler.lir.gen.PhiResolver$PhiResolverNode
dup
aload 1
invokespecial org.graalvm.compiler.lir.gen.PhiResolver$PhiResolverNode.<init>:(Ljdk/vm/ci/meta/Value;)V
astore 3
5: aload 0
getfield org.graalvm.compiler.lir.gen.PhiResolver.operandToNodeMap:Ljdk/internal/vm/compiler/collections/EconomicMap;
aload 1
aload 3
invokeinterface jdk.internal.vm.compiler.collections.EconomicMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: StackMap locals:
StackMap stack:
iload 2
ifeq 13
7: aload 0
getfield org.graalvm.compiler.lir.gen.PhiResolver.variableOperands:Ljava/util/ArrayList;
aload 3
invokevirtual java.util.ArrayList.contains:(Ljava/lang/Object;)Z
ifne 13
8: aload 0
getfield org.graalvm.compiler.lir.gen.PhiResolver.variableOperands:Ljava/util/ArrayList;
aload 3
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
9: goto 13
end local 3 10: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.lir.gen.PhiResolver.$assertionsDisabled:Z
ifne 11
iload 2
ifne 11
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
11: StackMap locals:
StackMap stack:
new org.graalvm.compiler.lir.gen.PhiResolver$PhiResolverNode
dup
aload 1
invokespecial org.graalvm.compiler.lir.gen.PhiResolver$PhiResolverNode.<init>:(Ljdk/vm/ci/meta/Value;)V
astore 3
start local 3 12: aload 0
getfield org.graalvm.compiler.lir.gen.PhiResolver.otherOperands:Ljava/util/ArrayList;
aload 3
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
13: StackMap locals: org.graalvm.compiler.lir.gen.PhiResolver$PhiResolverNode
StackMap stack:
aload 3
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/lir/gen/PhiResolver;
0 14 1 operand Ljdk/vm/ci/meta/Value;
0 14 2 source Z
2 10 3 node Lorg/graalvm/compiler/lir/gen/PhiResolver$PhiResolverNode;
12 14 3 node Lorg/graalvm/compiler/lir/gen/PhiResolver$PhiResolverNode;
MethodParameters:
Name Flags
operand
source
private org.graalvm.compiler.lir.gen.PhiResolver$PhiResolverNode destinationNode(jdk.vm.ci.meta.Value);
descriptor: (Ljdk/vm/ci/meta/Value;)Lorg/graalvm/compiler/lir/gen/PhiResolver$PhiResolverNode;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokevirtual org.graalvm.compiler.lir.gen.PhiResolver.createNode:(Ljdk/vm/ci/meta/Value;Z)Lorg/graalvm/compiler/lir/gen/PhiResolver$PhiResolverNode;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/lir/gen/PhiResolver;
0 1 1 opr Ljdk/vm/ci/meta/Value;
MethodParameters:
Name Flags
opr
private void emitMove(jdk.vm.ci.meta.Value, jdk.vm.ci.meta.Value);
descriptor: (Ljdk/vm/ci/meta/Value;Ljdk/vm/ci/meta/Value;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.graalvm.compiler.lir.gen.PhiResolver.$assertionsDisabled:Z
ifne 1
aload 2
invokestatic jdk.vm.ci.code.ValueUtil.isLegal:(Ljdk/vm/ci/meta/Value;)Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.lir.gen.PhiResolver.$assertionsDisabled:Z
ifne 2
aload 1
invokestatic jdk.vm.ci.code.ValueUtil.isLegal:(Ljdk/vm/ci/meta/Value;)Z
ifne 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.lir.gen.PhiResolver.moveFactory:Lorg/graalvm/compiler/lir/gen/LIRGeneratorTool$MoveFactory;
aload 1
checkcast jdk.vm.ci.meta.AllocatableValue
aload 2
invokeinterface org.graalvm.compiler.lir.gen.LIRGeneratorTool$MoveFactory.createMove:(Ljdk/vm/ci/meta/AllocatableValue;Ljdk/vm/ci/meta/Value;)Lorg/graalvm/compiler/lir/LIRInstruction;
astore 3
start local 3 3: aload 0
getfield org.graalvm.compiler.lir.gen.PhiResolver.buffer:Lorg/graalvm/compiler/lir/LIRInsertionBuffer;
aload 0
getfield org.graalvm.compiler.lir.gen.PhiResolver.insertBefore:I
aload 3
invokevirtual org.graalvm.compiler.lir.LIRInsertionBuffer.append:(ILorg/graalvm/compiler/lir/LIRInstruction;)V
4: return
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/lir/gen/PhiResolver;
0 5 1 dest Ljdk/vm/ci/meta/Value;
0 5 2 src Ljdk/vm/ci/meta/Value;
3 5 3 move Lorg/graalvm/compiler/lir/LIRInstruction;
MethodParameters:
Name Flags
dest
src
private void move(org.graalvm.compiler.lir.gen.PhiResolver$PhiResolverNode, org.graalvm.compiler.lir.gen.PhiResolver$PhiResolverNode);
descriptor: (Lorg/graalvm/compiler/lir/gen/PhiResolver$PhiResolverNode;Lorg/graalvm/compiler/lir/gen/PhiResolver$PhiResolverNode;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
getfield org.graalvm.compiler.lir.gen.PhiResolver$PhiResolverNode.visited:Z
ifne 8
1: aload 1
iconst_1
putfield org.graalvm.compiler.lir.gen.PhiResolver$PhiResolverNode.visited:Z
2: aload 1
getfield org.graalvm.compiler.lir.gen.PhiResolver$PhiResolverNode.destinations:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
iconst_1
isub
istore 3
start local 3 3: goto 6
4: StackMap locals: int
StackMap stack:
aload 0
aload 1
getfield org.graalvm.compiler.lir.gen.PhiResolver$PhiResolverNode.destinations:Ljava/util/ArrayList;
iload 3
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast org.graalvm.compiler.lir.gen.PhiResolver$PhiResolverNode
aload 1
invokevirtual org.graalvm.compiler.lir.gen.PhiResolver.move:(Lorg/graalvm/compiler/lir/gen/PhiResolver$PhiResolverNode;Lorg/graalvm/compiler/lir/gen/PhiResolver$PhiResolverNode;)V
5: iinc 3 -1
StackMap locals:
StackMap stack:
6: iload 3
ifge 4
end local 3 7: goto 13
StackMap locals:
StackMap stack:
8: aload 1
getfield org.graalvm.compiler.lir.gen.PhiResolver$PhiResolverNode.startNode:Z
ifne 13
9: getstatic org.graalvm.compiler.lir.gen.PhiResolver.$assertionsDisabled:Z
ifne 10
aload 0
getfield org.graalvm.compiler.lir.gen.PhiResolver.loop:Lorg/graalvm/compiler/lir/gen/PhiResolver$PhiResolverNode;
ifnull 10
new java.lang.AssertionError
dup
ldc "only one loop valid!"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
10: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.graalvm.compiler.lir.gen.PhiResolver.loop:Lorg/graalvm/compiler/lir/gen/PhiResolver$PhiResolverNode;
11: aload 0
aload 2
getfield org.graalvm.compiler.lir.gen.PhiResolver$PhiResolverNode.operand:Ljdk/vm/ci/meta/Value;
invokevirtual org.graalvm.compiler.lir.gen.PhiResolver.moveToTemp:(Ljdk/vm/ci/meta/Value;)V
12: return
13: StackMap locals:
StackMap stack:
aload 1
getfield org.graalvm.compiler.lir.gen.PhiResolver$PhiResolverNode.assigned:Z
ifne 21
14: aload 0
getfield org.graalvm.compiler.lir.gen.PhiResolver.loop:Lorg/graalvm/compiler/lir/gen/PhiResolver$PhiResolverNode;
aload 1
if_acmpne 18
15: aload 0
aload 1
getfield org.graalvm.compiler.lir.gen.PhiResolver$PhiResolverNode.operand:Ljdk/vm/ci/meta/Value;
invokevirtual org.graalvm.compiler.lir.gen.PhiResolver.moveTempTo:(Ljdk/vm/ci/meta/Value;)V
16: aload 1
iconst_1
putfield org.graalvm.compiler.lir.gen.PhiResolver$PhiResolverNode.assigned:Z
17: goto 21
StackMap locals:
StackMap stack:
18: aload 2
ifnull 21
19: aload 0
aload 1
getfield org.graalvm.compiler.lir.gen.PhiResolver$PhiResolverNode.operand:Ljdk/vm/ci/meta/Value;
aload 2
getfield org.graalvm.compiler.lir.gen.PhiResolver$PhiResolverNode.operand:Ljdk/vm/ci/meta/Value;
invokevirtual org.graalvm.compiler.lir.gen.PhiResolver.emitMove:(Ljdk/vm/ci/meta/Value;Ljdk/vm/ci/meta/Value;)V
20: aload 1
iconst_1
putfield org.graalvm.compiler.lir.gen.PhiResolver$PhiResolverNode.assigned:Z
21: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lorg/graalvm/compiler/lir/gen/PhiResolver;
0 22 1 dest Lorg/graalvm/compiler/lir/gen/PhiResolver$PhiResolverNode;
0 22 2 src Lorg/graalvm/compiler/lir/gen/PhiResolver$PhiResolverNode;
3 7 3 i I
MethodParameters:
Name Flags
dest
src
private void moveTempTo(jdk.vm.ci.meta.Value);
descriptor: (Ljdk/vm/ci/meta/Value;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.graalvm.compiler.lir.gen.PhiResolver.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.graalvm.compiler.lir.gen.PhiResolver.temp:Ljdk/vm/ci/meta/Value;
invokestatic jdk.vm.ci.code.ValueUtil.isLegal:(Ljdk/vm/ci/meta/Value;)Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 0
getfield org.graalvm.compiler.lir.gen.PhiResolver.temp:Ljdk/vm/ci/meta/Value;
invokevirtual org.graalvm.compiler.lir.gen.PhiResolver.emitMove:(Ljdk/vm/ci/meta/Value;Ljdk/vm/ci/meta/Value;)V
2: aload 0
getstatic jdk.vm.ci.meta.Value.ILLEGAL:Ljdk/vm/ci/meta/AllocatableValue;
putfield org.graalvm.compiler.lir.gen.PhiResolver.temp:Ljdk/vm/ci/meta/Value;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/lir/gen/PhiResolver;
0 4 1 dest Ljdk/vm/ci/meta/Value;
MethodParameters:
Name Flags
dest
private void moveToTemp(jdk.vm.ci.meta.Value);
descriptor: (Ljdk/vm/ci/meta/Value;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.graalvm.compiler.lir.gen.PhiResolver.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.graalvm.compiler.lir.gen.PhiResolver.temp:Ljdk/vm/ci/meta/Value;
invokestatic jdk.vm.ci.code.ValueUtil.isIllegal:(Ljdk/vm/ci/meta/Value;)Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.graalvm.compiler.lir.gen.PhiResolver.gen:Lorg/graalvm/compiler/lir/gen/LIRGeneratorTool;
aload 1
invokevirtual jdk.vm.ci.meta.Value.getValueKind:()Ljdk/vm/ci/meta/ValueKind;
invokeinterface org.graalvm.compiler.lir.gen.LIRGeneratorTool.newVariable:(Ljdk/vm/ci/meta/ValueKind;)Lorg/graalvm/compiler/lir/Variable;
putfield org.graalvm.compiler.lir.gen.PhiResolver.temp:Ljdk/vm/ci/meta/Value;
2: aload 0
aload 0
getfield org.graalvm.compiler.lir.gen.PhiResolver.temp:Ljdk/vm/ci/meta/Value;
aload 1
invokevirtual org.graalvm.compiler.lir.gen.PhiResolver.emitMove:(Ljdk/vm/ci/meta/Value;Ljdk/vm/ci/meta/Value;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/lir/gen/PhiResolver;
0 4 1 src Ljdk/vm/ci/meta/Value;
MethodParameters:
Name Flags
src
private org.graalvm.compiler.lir.gen.PhiResolver$PhiResolverNode sourceNode(jdk.vm.ci.meta.Value);
descriptor: (Ljdk/vm/ci/meta/Value;)Lorg/graalvm/compiler/lir/gen/PhiResolver$PhiResolverNode;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_1
invokevirtual org.graalvm.compiler.lir.gen.PhiResolver.createNode:(Ljdk/vm/ci/meta/Value;Z)Lorg/graalvm/compiler/lir/gen/PhiResolver$PhiResolverNode;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/lir/gen/PhiResolver;
0 1 1 opr Ljdk/vm/ci/meta/Value;
MethodParameters:
Name Flags
opr
}
SourceFile: "PhiResolver.java"
NestMembers:
org.graalvm.compiler.lir.gen.PhiResolver$PhiResolverNode
InnerClasses:
public abstract MoveFactory = org.graalvm.compiler.lir.gen.LIRGeneratorTool$MoveFactory of org.graalvm.compiler.lir.gen.LIRGeneratorTool
PhiResolverNode = org.graalvm.compiler.lir.gen.PhiResolver$PhiResolverNode of org.graalvm.compiler.lir.gen.PhiResolver