public class org.graalvm.compiler.loop.CountedLoopInfo
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.loop.CountedLoopInfo
super_class: java.lang.Object
{
private final org.graalvm.compiler.loop.LoopEx loop;
descriptor: Lorg/graalvm/compiler/loop/LoopEx;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private org.graalvm.compiler.loop.InductionVariable iv;
descriptor: Lorg/graalvm/compiler/loop/InductionVariable;
flags: (0x0002) ACC_PRIVATE
private org.graalvm.compiler.nodes.ValueNode end;
descriptor: Lorg/graalvm/compiler/nodes/ValueNode;
flags: (0x0002) ACC_PRIVATE
private boolean oneOff;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private org.graalvm.compiler.nodes.AbstractBeginNode body;
descriptor: Lorg/graalvm/compiler/nodes/AbstractBeginNode;
flags: (0x0002) ACC_PRIVATE
private org.graalvm.compiler.nodes.IfNode ifNode;
descriptor: Lorg/graalvm/compiler/nodes/IfNode;
flags: (0x0002) ACC_PRIVATE
private final boolean unsigned;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, 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/loop/CountedLoopInfo;
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.loop.CountedLoopInfo.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(org.graalvm.compiler.loop.LoopEx, org.graalvm.compiler.loop.InductionVariable, org.graalvm.compiler.nodes.IfNode, org.graalvm.compiler.nodes.ValueNode, boolean, org.graalvm.compiler.nodes.AbstractBeginNode, boolean);
descriptor: (Lorg/graalvm/compiler/loop/LoopEx;Lorg/graalvm/compiler/loop/InductionVariable;Lorg/graalvm/compiler/nodes/IfNode;Lorg/graalvm/compiler/nodes/ValueNode;ZLorg/graalvm/compiler/nodes/AbstractBeginNode;Z)V
flags: (0x0000)
Code:
stack=2, 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
invokespecial java.lang.Object.<init>:()V
1: getstatic org.graalvm.compiler.loop.CountedLoopInfo.$assertionsDisabled:Z
ifne 2
aload 2
invokevirtual org.graalvm.compiler.loop.InductionVariable.direction:()Lorg/graalvm/compiler/loop/InductionVariable$Direction;
ifnonnull 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals: org.graalvm.compiler.loop.CountedLoopInfo org.graalvm.compiler.loop.LoopEx org.graalvm.compiler.loop.InductionVariable org.graalvm.compiler.nodes.IfNode org.graalvm.compiler.nodes.ValueNode int org.graalvm.compiler.nodes.AbstractBeginNode int
StackMap stack:
aload 0
aload 1
putfield org.graalvm.compiler.loop.CountedLoopInfo.loop:Lorg/graalvm/compiler/loop/LoopEx;
3: aload 0
aload 2
putfield org.graalvm.compiler.loop.CountedLoopInfo.iv:Lorg/graalvm/compiler/loop/InductionVariable;
4: aload 0
aload 4
putfield org.graalvm.compiler.loop.CountedLoopInfo.end:Lorg/graalvm/compiler/nodes/ValueNode;
5: aload 0
iload 5
putfield org.graalvm.compiler.loop.CountedLoopInfo.oneOff:Z
6: aload 0
aload 6
putfield org.graalvm.compiler.loop.CountedLoopInfo.body:Lorg/graalvm/compiler/nodes/AbstractBeginNode;
7: aload 0
aload 3
putfield org.graalvm.compiler.loop.CountedLoopInfo.ifNode:Lorg/graalvm/compiler/nodes/IfNode;
8: aload 0
iload 7
putfield org.graalvm.compiler.loop.CountedLoopInfo.unsigned:Z
9: 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 10 0 this Lorg/graalvm/compiler/loop/CountedLoopInfo;
0 10 1 loop Lorg/graalvm/compiler/loop/LoopEx;
0 10 2 iv Lorg/graalvm/compiler/loop/InductionVariable;
0 10 3 ifNode Lorg/graalvm/compiler/nodes/IfNode;
0 10 4 end Lorg/graalvm/compiler/nodes/ValueNode;
0 10 5 oneOff Z
0 10 6 body Lorg/graalvm/compiler/nodes/AbstractBeginNode;
0 10 7 unsigned Z
MethodParameters:
Name Flags
loop
iv
ifNode
end
oneOff
body
unsigned
public org.graalvm.compiler.nodes.ValueNode maxTripCountNode();
descriptor: ()Lorg/graalvm/compiler/nodes/ValueNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokevirtual org.graalvm.compiler.loop.CountedLoopInfo.maxTripCountNode:(Z)Lorg/graalvm/compiler/nodes/ValueNode;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/loop/CountedLoopInfo;
public boolean isUnsignedCheck();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.loop.CountedLoopInfo.unsigned:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/loop/CountedLoopInfo;
public org.graalvm.compiler.nodes.ValueNode maxTripCountNode(boolean);
descriptor: (Z)Lorg/graalvm/compiler/nodes/ValueNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=13, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.loop.CountedLoopInfo.iv:Lorg/graalvm/compiler/loop/InductionVariable;
invokevirtual org.graalvm.compiler.loop.InductionVariable.valueNode:()Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.nodes.ValueNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
astore 2
start local 2 1: aload 0
getfield org.graalvm.compiler.loop.CountedLoopInfo.iv:Lorg/graalvm/compiler/loop/InductionVariable;
invokevirtual org.graalvm.compiler.loop.InductionVariable.valueNode:()Lorg/graalvm/compiler/nodes/ValueNode;
getstatic org.graalvm.compiler.nodes.NodeView.DEFAULT:Lorg/graalvm/compiler/nodes/NodeView;
invokevirtual org.graalvm.compiler.nodes.ValueNode.stamp:(Lorg/graalvm/compiler/nodes/NodeView;)Lorg/graalvm/compiler/core/common/type/Stamp;
astore 3
start local 3 2: aload 0
getfield org.graalvm.compiler.loop.CountedLoopInfo.iv:Lorg/graalvm/compiler/loop/InductionVariable;
invokevirtual org.graalvm.compiler.loop.InductionVariable.direction:()Lorg/graalvm/compiler/loop/InductionVariable$Direction;
getstatic org.graalvm.compiler.loop.InductionVariable$Direction.Up:Lorg/graalvm/compiler/loop/InductionVariable$Direction;
if_acmpne 7
3: aload 0
getfield org.graalvm.compiler.loop.CountedLoopInfo.iv:Lorg/graalvm/compiler/loop/InductionVariable;
invokevirtual org.graalvm.compiler.loop.InductionVariable.strideNode:()Lorg/graalvm/compiler/nodes/ValueNode;
astore 6
start local 6 4: aload 0
getfield org.graalvm.compiler.loop.CountedLoopInfo.end:Lorg/graalvm/compiler/nodes/ValueNode;
astore 4
start local 4 5: aload 0
getfield org.graalvm.compiler.loop.CountedLoopInfo.iv:Lorg/graalvm/compiler/loop/InductionVariable;
invokevirtual org.graalvm.compiler.loop.InductionVariable.initNode:()Lorg/graalvm/compiler/nodes/ValueNode;
astore 5
start local 5 6: goto 11
end local 6 end local 5 end local 4 7: StackMap locals: org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.core.common.type.Stamp
StackMap stack:
getstatic org.graalvm.compiler.loop.CountedLoopInfo.$assertionsDisabled:Z
ifne 8
aload 0
getfield org.graalvm.compiler.loop.CountedLoopInfo.iv:Lorg/graalvm/compiler/loop/InductionVariable;
invokevirtual org.graalvm.compiler.loop.InductionVariable.direction:()Lorg/graalvm/compiler/loop/InductionVariable$Direction;
getstatic org.graalvm.compiler.loop.InductionVariable$Direction.Down:Lorg/graalvm/compiler/loop/InductionVariable$Direction;
if_acmpeq 8
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
8: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.loop.CountedLoopInfo.iv:Lorg/graalvm/compiler/loop/InductionVariable;
invokevirtual org.graalvm.compiler.loop.InductionVariable.strideNode:()Lorg/graalvm/compiler/nodes/ValueNode;
getstatic org.graalvm.compiler.nodes.NodeView.DEFAULT:Lorg/graalvm/compiler/nodes/NodeView;
invokestatic org.graalvm.compiler.nodes.calc.NegateNode.create:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/NodeView;)Lorg/graalvm/compiler/nodes/ValueNode;
astore 6
start local 6 9: aload 0
getfield org.graalvm.compiler.loop.CountedLoopInfo.iv:Lorg/graalvm/compiler/loop/InductionVariable;
invokevirtual org.graalvm.compiler.loop.InductionVariable.initNode:()Lorg/graalvm/compiler/nodes/ValueNode;
astore 4
start local 4 10: aload 0
getfield org.graalvm.compiler.loop.CountedLoopInfo.end:Lorg/graalvm/compiler/nodes/ValueNode;
astore 5
start local 5 11: StackMap locals: org.graalvm.compiler.nodes.ValueNode org.graalvm.compiler.nodes.ValueNode org.graalvm.compiler.nodes.ValueNode
StackMap stack:
aload 4
aload 5
invokestatic org.graalvm.compiler.nodes.calc.BinaryArithmeticNode.sub:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/ValueNode;
astore 7
start local 7 12: aload 3
lconst_1
aload 2
invokestatic org.graalvm.compiler.nodes.ConstantNode.forIntegerStamp:(Lorg/graalvm/compiler/core/common/type/Stamp;JLorg/graalvm/compiler/nodes/StructuredGraph;)Lorg/graalvm/compiler/nodes/ConstantNode;
astore 8
start local 8 13: aload 0
getfield org.graalvm.compiler.loop.CountedLoopInfo.oneOff:Z
ifeq 15
14: aload 7
aload 8
invokestatic org.graalvm.compiler.nodes.calc.BinaryArithmeticNode.add:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/ValueNode;
astore 7
15: StackMap locals: org.graalvm.compiler.nodes.ValueNode org.graalvm.compiler.nodes.ConstantNode
StackMap stack:
aload 2
aload 7
aload 6
aload 8
invokestatic org.graalvm.compiler.nodes.calc.BinaryArithmeticNode.sub:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/ValueNode;
getstatic org.graalvm.compiler.nodes.NodeView.DEFAULT:Lorg/graalvm/compiler/nodes/NodeView;
invokestatic org.graalvm.compiler.nodes.calc.BinaryArithmeticNode.add:(Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/NodeView;)Lorg/graalvm/compiler/nodes/ValueNode;
astore 9
start local 9 16: aload 2
aload 0
getfield org.graalvm.compiler.loop.CountedLoopInfo.loop:Lorg/graalvm/compiler/loop/LoopEx;
invokevirtual org.graalvm.compiler.loop.LoopEx.entryPoint:()Lorg/graalvm/compiler/nodes/FixedNode;
aload 9
aload 6
aconst_null
invokestatic org.graalvm.compiler.loop.MathUtil.unsignedDivBefore:(Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/nodes/FixedNode;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/extended/GuardingNode;)Lorg/graalvm/compiler/nodes/ValueNode;
astore 10
start local 10 17: iload 1
ifeq 19
18: aload 2
aload 10
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.addOrUniqueWithInputs:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
checkcast org.graalvm.compiler.nodes.ValueNode
areturn
19: StackMap locals: org.graalvm.compiler.nodes.ValueNode org.graalvm.compiler.nodes.ValueNode
StackMap stack:
aload 3
lconst_0
aload 2
invokestatic org.graalvm.compiler.nodes.ConstantNode.forIntegerStamp:(Lorg/graalvm/compiler/core/common/type/Stamp;JLorg/graalvm/compiler/nodes/StructuredGraph;)Lorg/graalvm/compiler/nodes/ConstantNode;
astore 11
start local 11 20: aload 0
invokevirtual org.graalvm.compiler.loop.CountedLoopInfo.getCounterIntegerHelper:()Lorg/graalvm/compiler/nodes/util/IntegerHelper;
aload 4
aload 5
getstatic org.graalvm.compiler.nodes.NodeView.DEFAULT:Lorg/graalvm/compiler/nodes/NodeView;
invokevirtual org.graalvm.compiler.nodes.util.IntegerHelper.createCompareNode:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/NodeView;)Lorg/graalvm/compiler/nodes/LogicNode;
astore 12
start local 12 21: aload 2
aload 12
aload 11
aload 10
getstatic org.graalvm.compiler.nodes.NodeView.DEFAULT:Lorg/graalvm/compiler/nodes/NodeView;
invokestatic org.graalvm.compiler.nodes.calc.ConditionalNode.create:(Lorg/graalvm/compiler/nodes/LogicNode;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/NodeView;)Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.addOrUniqueWithInputs:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
checkcast org.graalvm.compiler.nodes.ValueNode
areturn
end local 12 end local 11 end local 10 end local 9 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 22 0 this Lorg/graalvm/compiler/loop/CountedLoopInfo;
0 22 1 assumeLoopEntered Z
1 22 2 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
2 22 3 stamp Lorg/graalvm/compiler/core/common/type/Stamp;
5 7 4 max Lorg/graalvm/compiler/nodes/ValueNode;
10 22 4 max Lorg/graalvm/compiler/nodes/ValueNode;
6 7 5 min Lorg/graalvm/compiler/nodes/ValueNode;
11 22 5 min Lorg/graalvm/compiler/nodes/ValueNode;
4 7 6 absStride Lorg/graalvm/compiler/nodes/ValueNode;
9 22 6 absStride Lorg/graalvm/compiler/nodes/ValueNode;
12 22 7 range Lorg/graalvm/compiler/nodes/ValueNode;
13 22 8 one Lorg/graalvm/compiler/nodes/ConstantNode;
16 22 9 denominator Lorg/graalvm/compiler/nodes/ValueNode;
17 22 10 div Lorg/graalvm/compiler/nodes/ValueNode;
20 22 11 zero Lorg/graalvm/compiler/nodes/ConstantNode;
21 22 12 noEntryCheck Lorg/graalvm/compiler/nodes/LogicNode;
MethodParameters:
Name Flags
assumeLoopEntered
public boolean loopMightBeEntered();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.loop.CountedLoopInfo.iv:Lorg/graalvm/compiler/loop/InductionVariable;
invokevirtual org.graalvm.compiler.loop.InductionVariable.valueNode:()Lorg/graalvm/compiler/nodes/ValueNode;
getstatic org.graalvm.compiler.nodes.NodeView.DEFAULT:Lorg/graalvm/compiler/nodes/NodeView;
invokevirtual org.graalvm.compiler.nodes.ValueNode.stamp:(Lorg/graalvm/compiler/nodes/NodeView;)Lorg/graalvm/compiler/core/common/type/Stamp;
astore 1
start local 1 1: aload 0
getfield org.graalvm.compiler.loop.CountedLoopInfo.iv:Lorg/graalvm/compiler/loop/InductionVariable;
invokevirtual org.graalvm.compiler.loop.InductionVariable.direction:()Lorg/graalvm/compiler/loop/InductionVariable$Direction;
getstatic org.graalvm.compiler.loop.InductionVariable$Direction.Up:Lorg/graalvm/compiler/loop/InductionVariable$Direction;
if_acmpne 5
2: aload 0
getfield org.graalvm.compiler.loop.CountedLoopInfo.end:Lorg/graalvm/compiler/nodes/ValueNode;
astore 2
start local 2 3: aload 0
getfield org.graalvm.compiler.loop.CountedLoopInfo.iv:Lorg/graalvm/compiler/loop/InductionVariable;
invokevirtual org.graalvm.compiler.loop.InductionVariable.initNode:()Lorg/graalvm/compiler/nodes/ValueNode;
astore 3
start local 3 4: goto 8
end local 3 end local 2 5: StackMap locals: org.graalvm.compiler.core.common.type.Stamp
StackMap stack:
getstatic org.graalvm.compiler.loop.CountedLoopInfo.$assertionsDisabled:Z
ifne 6
aload 0
getfield org.graalvm.compiler.loop.CountedLoopInfo.iv:Lorg/graalvm/compiler/loop/InductionVariable;
invokevirtual org.graalvm.compiler.loop.InductionVariable.direction:()Lorg/graalvm/compiler/loop/InductionVariable$Direction;
getstatic org.graalvm.compiler.loop.InductionVariable$Direction.Down:Lorg/graalvm/compiler/loop/InductionVariable$Direction;
if_acmpeq 6
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
6: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.loop.CountedLoopInfo.iv:Lorg/graalvm/compiler/loop/InductionVariable;
invokevirtual org.graalvm.compiler.loop.InductionVariable.initNode:()Lorg/graalvm/compiler/nodes/ValueNode;
astore 2
start local 2 7: aload 0
getfield org.graalvm.compiler.loop.CountedLoopInfo.end:Lorg/graalvm/compiler/nodes/ValueNode;
astore 3
start local 3 8: StackMap locals: org.graalvm.compiler.nodes.ValueNode org.graalvm.compiler.nodes.ValueNode
StackMap stack:
aload 0
getfield org.graalvm.compiler.loop.CountedLoopInfo.oneOff:Z
ifeq 10
9: aload 2
aload 1
lconst_1
invokestatic org.graalvm.compiler.nodes.ConstantNode.forIntegerStamp:(Lorg/graalvm/compiler/core/common/type/Stamp;J)Lorg/graalvm/compiler/nodes/ConstantNode;
invokestatic org.graalvm.compiler.nodes.calc.BinaryArithmeticNode.add:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/ValueNode;
astore 2
10: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.graalvm.compiler.loop.CountedLoopInfo.getCounterIntegerHelper:()Lorg/graalvm/compiler/nodes/util/IntegerHelper;
aload 3
aload 2
getstatic org.graalvm.compiler.nodes.NodeView.DEFAULT:Lorg/graalvm/compiler/nodes/NodeView;
invokevirtual org.graalvm.compiler.nodes.util.IntegerHelper.createCompareNode:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/NodeView;)Lorg/graalvm/compiler/nodes/LogicNode;
astore 4
start local 4 11: aload 4
invokevirtual org.graalvm.compiler.nodes.LogicNode.isContradiction:()Z
ifeq 13
12: iconst_0
ireturn
13: StackMap locals: org.graalvm.compiler.nodes.LogicNode
StackMap stack:
iconst_1
ireturn
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/loop/CountedLoopInfo;
1 14 1 stamp Lorg/graalvm/compiler/core/common/type/Stamp;
3 5 2 max Lorg/graalvm/compiler/nodes/ValueNode;
7 14 2 max Lorg/graalvm/compiler/nodes/ValueNode;
4 5 3 min Lorg/graalvm/compiler/nodes/ValueNode;
8 14 3 min Lorg/graalvm/compiler/nodes/ValueNode;
11 14 4 entryCheck Lorg/graalvm/compiler/nodes/LogicNode;
public boolean isConstantMaxTripCount();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.loop.CountedLoopInfo.end:Lorg/graalvm/compiler/nodes/ValueNode;
instanceof org.graalvm.compiler.nodes.ConstantNode
ifeq 1
aload 0
getfield org.graalvm.compiler.loop.CountedLoopInfo.iv:Lorg/graalvm/compiler/loop/InductionVariable;
invokevirtual org.graalvm.compiler.loop.InductionVariable.isConstantInit:()Z
ifeq 1
aload 0
getfield org.graalvm.compiler.loop.CountedLoopInfo.iv:Lorg/graalvm/compiler/loop/InductionVariable;
invokevirtual org.graalvm.compiler.loop.InductionVariable.isConstantStride:()Z
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/loop/CountedLoopInfo;
public org.graalvm.compiler.core.common.util.UnsignedLong constantMaxTripCount();
descriptor: ()Lorg/graalvm/compiler/core/common/util/UnsignedLong;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.loop.CountedLoopInfo.$assertionsDisabled:Z
ifne 1
aload 0
invokevirtual org.graalvm.compiler.loop.CountedLoopInfo.isConstantMaxTripCount:()Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
new org.graalvm.compiler.core.common.util.UnsignedLong
dup
aload 0
invokevirtual org.graalvm.compiler.loop.CountedLoopInfo.rawConstantMaxTripCount:()J
invokespecial org.graalvm.compiler.core.common.util.UnsignedLong.<init>:(J)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/loop/CountedLoopInfo;
private long rawConstantMaxTripCount();
descriptor: ()J
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=12, args_size=1
start local 0 0: getstatic org.graalvm.compiler.loop.CountedLoopInfo.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.graalvm.compiler.loop.CountedLoopInfo.iv:Lorg/graalvm/compiler/loop/InductionVariable;
invokevirtual org.graalvm.compiler.loop.InductionVariable.direction:()Lorg/graalvm/compiler/loop/InductionVariable$Direction;
ifnonnull 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.loop.CountedLoopInfo.end:Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.nodes.ValueNode.asJavaConstant:()Ljdk/vm/ci/meta/JavaConstant;
invokeinterface jdk.vm.ci.meta.JavaConstant.asLong:()J
lstore 1
start local 1 2: aload 0
getfield org.graalvm.compiler.loop.CountedLoopInfo.iv:Lorg/graalvm/compiler/loop/InductionVariable;
invokevirtual org.graalvm.compiler.loop.InductionVariable.constantInit:()J
lstore 3
start local 3 3: aload 0
bipush 64
invokevirtual org.graalvm.compiler.loop.CountedLoopInfo.getCounterIntegerHelper:(I)Lorg/graalvm/compiler/nodes/util/IntegerHelper;
astore 9
start local 9 4: aload 0
getfield org.graalvm.compiler.loop.CountedLoopInfo.iv:Lorg/graalvm/compiler/loop/InductionVariable;
invokevirtual org.graalvm.compiler.loop.InductionVariable.direction:()Lorg/graalvm/compiler/loop/InductionVariable$Direction;
getstatic org.graalvm.compiler.loop.InductionVariable$Direction.Up:Lorg/graalvm/compiler/loop/InductionVariable$Direction;
if_acmpne 10
5: aload 9
lload 1
lload 3
invokevirtual org.graalvm.compiler.nodes.util.IntegerHelper.compare:(JJ)I
ifge 7
6: lconst_0
lreturn
7: StackMap locals: org.graalvm.compiler.loop.CountedLoopInfo long long top top top top org.graalvm.compiler.nodes.util.IntegerHelper
StackMap stack:
lload 1
aload 0
getfield org.graalvm.compiler.loop.CountedLoopInfo.iv:Lorg/graalvm/compiler/loop/InductionVariable;
invokevirtual org.graalvm.compiler.loop.InductionVariable.constantInit:()J
lsub
lstore 5
start local 5 8: aload 0
getfield org.graalvm.compiler.loop.CountedLoopInfo.iv:Lorg/graalvm/compiler/loop/InductionVariable;
invokevirtual org.graalvm.compiler.loop.InductionVariable.constantStride:()J
lstore 7
start local 7 9: goto 15
end local 7 end local 5 10: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.loop.CountedLoopInfo.$assertionsDisabled:Z
ifne 11
aload 0
getfield org.graalvm.compiler.loop.CountedLoopInfo.iv:Lorg/graalvm/compiler/loop/InductionVariable;
invokevirtual org.graalvm.compiler.loop.InductionVariable.direction:()Lorg/graalvm/compiler/loop/InductionVariable$Direction;
getstatic org.graalvm.compiler.loop.InductionVariable$Direction.Down:Lorg/graalvm/compiler/loop/InductionVariable$Direction;
if_acmpeq 11
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
11: StackMap locals:
StackMap stack:
aload 9
lload 3
lload 1
invokevirtual org.graalvm.compiler.nodes.util.IntegerHelper.compare:(JJ)I
ifge 13
12: lconst_0
lreturn
13: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.loop.CountedLoopInfo.iv:Lorg/graalvm/compiler/loop/InductionVariable;
invokevirtual org.graalvm.compiler.loop.InductionVariable.constantInit:()J
lload 1
lsub
lstore 5
start local 5 14: aload 0
getfield org.graalvm.compiler.loop.CountedLoopInfo.iv:Lorg/graalvm/compiler/loop/InductionVariable;
invokevirtual org.graalvm.compiler.loop.InductionVariable.constantStride:()J
lneg
lstore 7
start local 7 15: StackMap locals: org.graalvm.compiler.loop.CountedLoopInfo long long long long org.graalvm.compiler.nodes.util.IntegerHelper
StackMap stack:
aload 0
getfield org.graalvm.compiler.loop.CountedLoopInfo.oneOff:Z
ifeq 17
16: lload 5
lconst_1
ladd
lstore 5
17: StackMap locals:
StackMap stack:
lload 5
lload 7
ladd
lconst_1
lsub
lstore 10
start local 10 18: lload 10
lload 7
invokestatic java.lang.Long.divideUnsigned:(JJ)J
lreturn
end local 10 end local 9 end local 7 end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/graalvm/compiler/loop/CountedLoopInfo;
2 19 1 endValue J
3 19 3 initValue J
8 10 5 range J
14 19 5 range J
9 10 7 absStride J
15 19 7 absStride J
4 19 9 helper Lorg/graalvm/compiler/nodes/util/IntegerHelper;
18 19 10 denominator J
public org.graalvm.compiler.nodes.util.IntegerHelper getCounterIntegerHelper();
descriptor: ()Lorg/graalvm/compiler/nodes/util/IntegerHelper;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.loop.CountedLoopInfo.iv:Lorg/graalvm/compiler/loop/InductionVariable;
invokevirtual org.graalvm.compiler.loop.InductionVariable.valueNode:()Lorg/graalvm/compiler/nodes/ValueNode;
getstatic org.graalvm.compiler.nodes.NodeView.DEFAULT:Lorg/graalvm/compiler/nodes/NodeView;
invokevirtual org.graalvm.compiler.nodes.ValueNode.stamp:(Lorg/graalvm/compiler/nodes/NodeView;)Lorg/graalvm/compiler/core/common/type/Stamp;
checkcast org.graalvm.compiler.core.common.type.IntegerStamp
astore 1
start local 1 1: aload 0
aload 1
invokevirtual org.graalvm.compiler.core.common.type.IntegerStamp.getBits:()I
invokevirtual org.graalvm.compiler.loop.CountedLoopInfo.getCounterIntegerHelper:(I)Lorg/graalvm/compiler/nodes/util/IntegerHelper;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/loop/CountedLoopInfo;
1 2 1 stamp Lorg/graalvm/compiler/core/common/type/IntegerStamp;
public org.graalvm.compiler.nodes.util.IntegerHelper getCounterIntegerHelper(int);
descriptor: (I)Lorg/graalvm/compiler/nodes/util/IntegerHelper;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.graalvm.compiler.loop.CountedLoopInfo.isUnsignedCheck:()Z
ifeq 3
1: new org.graalvm.compiler.nodes.util.UnsignedIntegerHelper
dup
iload 1
invokespecial org.graalvm.compiler.nodes.util.UnsignedIntegerHelper.<init>:(I)V
astore 2
start local 2 2: goto 4
end local 2 3: StackMap locals:
StackMap stack:
new org.graalvm.compiler.nodes.util.SignedIntegerHelper
dup
iload 1
invokespecial org.graalvm.compiler.nodes.util.SignedIntegerHelper.<init>:(I)V
astore 2
start local 2 4: StackMap locals: org.graalvm.compiler.nodes.util.IntegerHelper
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/loop/CountedLoopInfo;
0 5 1 bits I
2 3 2 helper Lorg/graalvm/compiler/nodes/util/IntegerHelper;
4 5 2 helper Lorg/graalvm/compiler/nodes/util/IntegerHelper;
MethodParameters:
Name Flags
bits
public boolean isExactTripCount();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.loop.CountedLoopInfo.loop:Lorg/graalvm/compiler/loop/LoopEx;
invokevirtual org.graalvm.compiler.loop.LoopEx.loop:()Lorg/graalvm/compiler/core/common/cfg/Loop;
invokevirtual org.graalvm.compiler.core.common.cfg.Loop.getNaturalExits:()Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
iconst_1
if_icmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/loop/CountedLoopInfo;
public org.graalvm.compiler.nodes.ValueNode exactTripCountNode();
descriptor: ()Lorg/graalvm/compiler/nodes/ValueNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.loop.CountedLoopInfo.$assertionsDisabled:Z
ifne 1
aload 0
invokevirtual org.graalvm.compiler.loop.CountedLoopInfo.isExactTripCount:()Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.graalvm.compiler.loop.CountedLoopInfo.maxTripCountNode:()Lorg/graalvm/compiler/nodes/ValueNode;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/loop/CountedLoopInfo;
public boolean isConstantExactTripCount();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.loop.CountedLoopInfo.$assertionsDisabled:Z
ifne 1
aload 0
invokevirtual org.graalvm.compiler.loop.CountedLoopInfo.isExactTripCount:()Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.graalvm.compiler.loop.CountedLoopInfo.isConstantMaxTripCount:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/loop/CountedLoopInfo;
public org.graalvm.compiler.core.common.util.UnsignedLong constantExactTripCount();
descriptor: ()Lorg/graalvm/compiler/core/common/util/UnsignedLong;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.loop.CountedLoopInfo.$assertionsDisabled:Z
ifne 1
aload 0
invokevirtual org.graalvm.compiler.loop.CountedLoopInfo.isExactTripCount:()Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.graalvm.compiler.loop.CountedLoopInfo.constantMaxTripCount:()Lorg/graalvm/compiler/core/common/util/UnsignedLong;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/loop/CountedLoopInfo;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "iv="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.graalvm.compiler.loop.CountedLoopInfo.iv:Lorg/graalvm/compiler/loop/InductionVariable;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " until "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.graalvm.compiler.loop.CountedLoopInfo.end:Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
aload 0
getfield org.graalvm.compiler.loop.CountedLoopInfo.oneOff:Z
ifeq 2
aload 0
getfield org.graalvm.compiler.loop.CountedLoopInfo.iv:Lorg/graalvm/compiler/loop/InductionVariable;
invokevirtual org.graalvm.compiler.loop.InductionVariable.direction:()Lorg/graalvm/compiler/loop/InductionVariable$Direction;
getstatic org.graalvm.compiler.loop.InductionVariable$Direction.Up:Lorg/graalvm/compiler/loop/InductionVariable$Direction;
if_acmpne 1
ldc "+1"
goto 3
StackMap locals:
StackMap stack: java.lang.StringBuilder
1: ldc "-1"
goto 3
StackMap locals:
StackMap stack: java.lang.StringBuilder
2: ldc ""
StackMap locals: org.graalvm.compiler.loop.CountedLoopInfo
StackMap stack: java.lang.StringBuilder java.lang.String
3: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/loop/CountedLoopInfo;
public org.graalvm.compiler.nodes.ValueNode getLimit();
descriptor: ()Lorg/graalvm/compiler/nodes/ValueNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.loop.CountedLoopInfo.end:Lorg/graalvm/compiler/nodes/ValueNode;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/loop/CountedLoopInfo;
public org.graalvm.compiler.nodes.IfNode getLimitTest();
descriptor: ()Lorg/graalvm/compiler/nodes/IfNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.loop.CountedLoopInfo.ifNode:Lorg/graalvm/compiler/nodes/IfNode;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/loop/CountedLoopInfo;
public org.graalvm.compiler.nodes.ValueNode getStart();
descriptor: ()Lorg/graalvm/compiler/nodes/ValueNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.loop.CountedLoopInfo.iv:Lorg/graalvm/compiler/loop/InductionVariable;
invokevirtual org.graalvm.compiler.loop.InductionVariable.initNode:()Lorg/graalvm/compiler/nodes/ValueNode;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/loop/CountedLoopInfo;
public boolean isLimitIncluded();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.loop.CountedLoopInfo.oneOff:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/loop/CountedLoopInfo;
public org.graalvm.compiler.nodes.AbstractBeginNode getBody();
descriptor: ()Lorg/graalvm/compiler/nodes/AbstractBeginNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.loop.CountedLoopInfo.body:Lorg/graalvm/compiler/nodes/AbstractBeginNode;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/loop/CountedLoopInfo;
public org.graalvm.compiler.nodes.AbstractBeginNode getCountedExit();
descriptor: ()Lorg/graalvm/compiler/nodes/AbstractBeginNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.graalvm.compiler.loop.CountedLoopInfo.getLimitTest:()Lorg/graalvm/compiler/nodes/IfNode;
invokevirtual org.graalvm.compiler.nodes.IfNode.trueSuccessor:()Lorg/graalvm/compiler/nodes/AbstractBeginNode;
aload 0
invokevirtual org.graalvm.compiler.loop.CountedLoopInfo.getBody:()Lorg/graalvm/compiler/nodes/AbstractBeginNode;
if_acmpne 2
1: aload 0
invokevirtual org.graalvm.compiler.loop.CountedLoopInfo.getLimitTest:()Lorg/graalvm/compiler/nodes/IfNode;
invokevirtual org.graalvm.compiler.nodes.IfNode.falseSuccessor:()Lorg/graalvm/compiler/nodes/AbstractBeginNode;
areturn
2: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.loop.CountedLoopInfo.$assertionsDisabled:Z
ifne 3
aload 0
invokevirtual org.graalvm.compiler.loop.CountedLoopInfo.getLimitTest:()Lorg/graalvm/compiler/nodes/IfNode;
invokevirtual org.graalvm.compiler.nodes.IfNode.falseSuccessor:()Lorg/graalvm/compiler/nodes/AbstractBeginNode;
aload 0
invokevirtual org.graalvm.compiler.loop.CountedLoopInfo.getBody:()Lorg/graalvm/compiler/nodes/AbstractBeginNode;
if_acmpeq 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.graalvm.compiler.loop.CountedLoopInfo.getLimitTest:()Lorg/graalvm/compiler/nodes/IfNode;
invokevirtual org.graalvm.compiler.nodes.IfNode.trueSuccessor:()Lorg/graalvm/compiler/nodes/AbstractBeginNode;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/loop/CountedLoopInfo;
public org.graalvm.compiler.loop.InductionVariable$Direction getDirection();
descriptor: ()Lorg/graalvm/compiler/loop/InductionVariable$Direction;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.loop.CountedLoopInfo.iv:Lorg/graalvm/compiler/loop/InductionVariable;
invokevirtual org.graalvm.compiler.loop.InductionVariable.direction:()Lorg/graalvm/compiler/loop/InductionVariable$Direction;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/loop/CountedLoopInfo;
public org.graalvm.compiler.loop.InductionVariable getCounter();
descriptor: ()Lorg/graalvm/compiler/loop/InductionVariable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.loop.CountedLoopInfo.iv:Lorg/graalvm/compiler/loop/InductionVariable;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/loop/CountedLoopInfo;
public org.graalvm.compiler.nodes.extended.GuardingNode getOverFlowGuard();
descriptor: ()Lorg/graalvm/compiler/nodes/extended/GuardingNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.loop.CountedLoopInfo.loop:Lorg/graalvm/compiler/loop/LoopEx;
invokevirtual org.graalvm.compiler.loop.LoopEx.loopBegin:()Lorg/graalvm/compiler/nodes/LoopBeginNode;
invokevirtual org.graalvm.compiler.nodes.LoopBeginNode.getOverflowGuard:()Lorg/graalvm/compiler/nodes/extended/GuardingNode;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/loop/CountedLoopInfo;
public boolean counterNeverOverflows();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=7, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.loop.CountedLoopInfo.iv:Lorg/graalvm/compiler/loop/InductionVariable;
invokevirtual org.graalvm.compiler.loop.InductionVariable.isConstantStride:()Z
ifeq 2
aload 0
getfield org.graalvm.compiler.loop.CountedLoopInfo.iv:Lorg/graalvm/compiler/loop/InductionVariable;
invokevirtual org.graalvm.compiler.loop.InductionVariable.constantStride:()J
invokestatic java.lang.Math.abs:(J)J
lconst_1
lcmp
ifne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.loop.CountedLoopInfo.end:Lorg/graalvm/compiler/nodes/ValueNode;
getstatic org.graalvm.compiler.nodes.NodeView.DEFAULT:Lorg/graalvm/compiler/nodes/NodeView;
invokevirtual org.graalvm.compiler.nodes.ValueNode.stamp:(Lorg/graalvm/compiler/nodes/NodeView;)Lorg/graalvm/compiler/core/common/type/Stamp;
checkcast org.graalvm.compiler.core.common.type.IntegerStamp
astore 1
start local 1 3: aload 0
getfield org.graalvm.compiler.loop.CountedLoopInfo.iv:Lorg/graalvm/compiler/loop/InductionVariable;
invokevirtual org.graalvm.compiler.loop.InductionVariable.strideNode:()Lorg/graalvm/compiler/nodes/ValueNode;
astore 2
start local 2 4: aload 2
getstatic org.graalvm.compiler.nodes.NodeView.DEFAULT:Lorg/graalvm/compiler/nodes/NodeView;
invokevirtual org.graalvm.compiler.nodes.ValueNode.stamp:(Lorg/graalvm/compiler/nodes/NodeView;)Lorg/graalvm/compiler/core/common/type/Stamp;
checkcast org.graalvm.compiler.core.common.type.IntegerStamp
astore 3
start local 3 5: aload 2
invokestatic org.graalvm.compiler.nodes.util.GraphUtil.tryKillUnused:(Lorg/graalvm/compiler/graph/Node;)Z
pop
6: aload 0
invokevirtual org.graalvm.compiler.loop.CountedLoopInfo.getCounterIntegerHelper:()Lorg/graalvm/compiler/nodes/util/IntegerHelper;
astore 4
start local 4 7: aload 0
invokevirtual org.graalvm.compiler.loop.CountedLoopInfo.getDirection:()Lorg/graalvm/compiler/loop/InductionVariable$Direction;
getstatic org.graalvm.compiler.loop.InductionVariable$Direction.Up:Lorg/graalvm/compiler/loop/InductionVariable$Direction;
if_acmpne 13
8: aload 4
invokevirtual org.graalvm.compiler.nodes.util.IntegerHelper.maxValue:()J
lstore 5
start local 5 9: aload 4
aload 1
invokevirtual org.graalvm.compiler.core.common.type.IntegerStamp.upperBound:()J
lload 5
aload 3
invokevirtual org.graalvm.compiler.core.common.type.IntegerStamp.upperBound:()J
lconst_1
lsub
lsub
aload 0
getfield org.graalvm.compiler.loop.CountedLoopInfo.oneOff:Z
ifeq 10
iconst_1
goto 11
StackMap locals: org.graalvm.compiler.loop.CountedLoopInfo org.graalvm.compiler.core.common.type.IntegerStamp org.graalvm.compiler.nodes.ValueNode org.graalvm.compiler.core.common.type.IntegerStamp org.graalvm.compiler.nodes.util.IntegerHelper long
StackMap stack: org.graalvm.compiler.nodes.util.IntegerHelper long long
10: iconst_0
StackMap locals: org.graalvm.compiler.loop.CountedLoopInfo org.graalvm.compiler.core.common.type.IntegerStamp org.graalvm.compiler.nodes.ValueNode org.graalvm.compiler.core.common.type.IntegerStamp org.graalvm.compiler.nodes.util.IntegerHelper long
StackMap stack: org.graalvm.compiler.nodes.util.IntegerHelper long long int
11: i2l
lsub
invokevirtual org.graalvm.compiler.nodes.util.IntegerHelper.compare:(JJ)I
ifgt 12
iconst_1
ireturn
StackMap locals:
StackMap stack:
12: iconst_0
ireturn
end local 5 13: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.graalvm.compiler.loop.CountedLoopInfo.getDirection:()Lorg/graalvm/compiler/loop/InductionVariable$Direction;
getstatic org.graalvm.compiler.loop.InductionVariable$Direction.Down:Lorg/graalvm/compiler/loop/InductionVariable$Direction;
if_acmpne 19
14: aload 4
invokevirtual org.graalvm.compiler.nodes.util.IntegerHelper.minValue:()J
lstore 5
start local 5 15: aload 4
lload 5
lconst_1
aload 3
invokevirtual org.graalvm.compiler.core.common.type.IntegerStamp.lowerBound:()J
lsub
ladd
aload 0
getfield org.graalvm.compiler.loop.CountedLoopInfo.oneOff:Z
ifeq 16
iconst_1
goto 17
StackMap locals: org.graalvm.compiler.loop.CountedLoopInfo org.graalvm.compiler.core.common.type.IntegerStamp org.graalvm.compiler.nodes.ValueNode org.graalvm.compiler.core.common.type.IntegerStamp org.graalvm.compiler.nodes.util.IntegerHelper long
StackMap stack: org.graalvm.compiler.nodes.util.IntegerHelper long
16: iconst_0
StackMap locals: org.graalvm.compiler.loop.CountedLoopInfo org.graalvm.compiler.core.common.type.IntegerStamp org.graalvm.compiler.nodes.ValueNode org.graalvm.compiler.core.common.type.IntegerStamp org.graalvm.compiler.nodes.util.IntegerHelper long
StackMap stack: org.graalvm.compiler.nodes.util.IntegerHelper long int
17: i2l
ladd
aload 1
invokevirtual org.graalvm.compiler.core.common.type.IntegerStamp.lowerBound:()J
invokevirtual org.graalvm.compiler.nodes.util.IntegerHelper.compare:(JJ)I
ifgt 18
iconst_1
ireturn
StackMap locals:
StackMap stack:
18: iconst_0
ireturn
end local 5 19: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lorg/graalvm/compiler/loop/CountedLoopInfo;
3 20 1 endStamp Lorg/graalvm/compiler/core/common/type/IntegerStamp;
4 20 2 strideNode Lorg/graalvm/compiler/nodes/ValueNode;
5 20 3 strideStamp Lorg/graalvm/compiler/core/common/type/IntegerStamp;
7 20 4 integerHelper Lorg/graalvm/compiler/nodes/util/IntegerHelper;
9 13 5 max J
15 19 5 min J
public org.graalvm.compiler.nodes.extended.GuardingNode createOverFlowGuard();
descriptor: ()Lorg/graalvm/compiler/nodes/extended/GuardingNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=10, locals=11, args_size=1
start local 0 0: aload 0
invokevirtual org.graalvm.compiler.loop.CountedLoopInfo.getOverFlowGuard:()Lorg/graalvm/compiler/nodes/extended/GuardingNode;
astore 1
start local 1 1: aload 1
ifnonnull 2
aload 0
invokevirtual org.graalvm.compiler.loop.CountedLoopInfo.counterNeverOverflows:()Z
ifeq 3
2: StackMap locals: org.graalvm.compiler.nodes.extended.GuardingNode
StackMap stack:
aload 1
areturn
3: StackMap locals:
StackMap stack:
aconst_null
astore 2
aconst_null
astore 3
4: aload 0
getfield org.graalvm.compiler.loop.CountedLoopInfo.loop:Lorg/graalvm/compiler/loop/LoopEx;
invokevirtual org.graalvm.compiler.loop.LoopEx.loopBegin:()Lorg/graalvm/compiler/nodes/LoopBeginNode;
invokevirtual org.graalvm.compiler.nodes.LoopBeginNode.withNodeSourcePosition:()Lorg/graalvm/compiler/debug/DebugCloseable;
astore 4
start local 4 5: aload 0
getfield org.graalvm.compiler.loop.CountedLoopInfo.iv:Lorg/graalvm/compiler/loop/InductionVariable;
invokevirtual org.graalvm.compiler.loop.InductionVariable.valueNode:()Lorg/graalvm/compiler/nodes/ValueNode;
getstatic org.graalvm.compiler.nodes.NodeView.DEFAULT:Lorg/graalvm/compiler/nodes/NodeView;
invokevirtual org.graalvm.compiler.nodes.ValueNode.stamp:(Lorg/graalvm/compiler/nodes/NodeView;)Lorg/graalvm/compiler/core/common/type/Stamp;
checkcast org.graalvm.compiler.core.common.type.IntegerStamp
astore 5
start local 5 6: aload 0
invokevirtual org.graalvm.compiler.loop.CountedLoopInfo.getCounterIntegerHelper:()Lorg/graalvm/compiler/nodes/util/IntegerHelper;
astore 6
start local 6 7: aload 0
getfield org.graalvm.compiler.loop.CountedLoopInfo.iv:Lorg/graalvm/compiler/loop/InductionVariable;
invokevirtual org.graalvm.compiler.loop.InductionVariable.valueNode:()Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.nodes.ValueNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
astore 7
start local 7 8: aload 5
lconst_1
aload 7
invokestatic org.graalvm.compiler.nodes.ConstantNode.forIntegerStamp:(Lorg/graalvm/compiler/core/common/type/Stamp;JLorg/graalvm/compiler/nodes/StructuredGraph;)Lorg/graalvm/compiler/nodes/ConstantNode;
astore 9
start local 9 9: aload 0
getfield org.graalvm.compiler.loop.CountedLoopInfo.iv:Lorg/graalvm/compiler/loop/InductionVariable;
invokevirtual org.graalvm.compiler.loop.InductionVariable.direction:()Lorg/graalvm/compiler/loop/InductionVariable$Direction;
getstatic org.graalvm.compiler.loop.InductionVariable$Direction.Up:Lorg/graalvm/compiler/loop/InductionVariable$Direction;
if_acmpne 15
10: aload 5
aload 6
invokevirtual org.graalvm.compiler.nodes.util.IntegerHelper.maxValue:()J
invokestatic org.graalvm.compiler.nodes.ConstantNode.forIntegerStamp:(Lorg/graalvm/compiler/core/common/type/Stamp;J)Lorg/graalvm/compiler/nodes/ConstantNode;
aload 0
getfield org.graalvm.compiler.loop.CountedLoopInfo.iv:Lorg/graalvm/compiler/loop/InductionVariable;
invokevirtual org.graalvm.compiler.loop.InductionVariable.strideNode:()Lorg/graalvm/compiler/nodes/ValueNode;
aload 9
invokestatic org.graalvm.compiler.nodes.calc.BinaryArithmeticNode.sub:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/ValueNode;
invokestatic org.graalvm.compiler.nodes.calc.BinaryArithmeticNode.sub:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/ValueNode;
astore 10
start local 10 11: aload 0
getfield org.graalvm.compiler.loop.CountedLoopInfo.oneOff:Z
ifeq 13
12: aload 10
aload 9
invokestatic org.graalvm.compiler.nodes.calc.BinaryArithmeticNode.sub:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/ValueNode;
astore 10
13: StackMap locals: org.graalvm.compiler.loop.CountedLoopInfo org.graalvm.compiler.nodes.extended.GuardingNode java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugCloseable org.graalvm.compiler.core.common.type.IntegerStamp org.graalvm.compiler.nodes.util.IntegerHelper org.graalvm.compiler.nodes.StructuredGraph top org.graalvm.compiler.nodes.ConstantNode org.graalvm.compiler.nodes.ValueNode
StackMap stack:
aload 7
aload 6
aload 10
aload 0
getfield org.graalvm.compiler.loop.CountedLoopInfo.end:Lorg/graalvm/compiler/nodes/ValueNode;
getstatic org.graalvm.compiler.nodes.NodeView.DEFAULT:Lorg/graalvm/compiler/nodes/NodeView;
invokevirtual org.graalvm.compiler.nodes.util.IntegerHelper.createCompareNode:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/NodeView;)Lorg/graalvm/compiler/nodes/LogicNode;
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.addOrUniqueWithInputs:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
checkcast org.graalvm.compiler.nodes.LogicNode
astore 8
end local 10 start local 8 14: goto 20
end local 8 15: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.loop.CountedLoopInfo.$assertionsDisabled:Z
ifne 16
aload 0
getfield org.graalvm.compiler.loop.CountedLoopInfo.iv:Lorg/graalvm/compiler/loop/InductionVariable;
invokevirtual org.graalvm.compiler.loop.InductionVariable.direction:()Lorg/graalvm/compiler/loop/InductionVariable$Direction;
getstatic org.graalvm.compiler.loop.InductionVariable$Direction.Down:Lorg/graalvm/compiler/loop/InductionVariable$Direction;
if_acmpeq 16
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
16: StackMap locals:
StackMap stack:
aload 5
aload 6
invokevirtual org.graalvm.compiler.nodes.util.IntegerHelper.minValue:()J
invokestatic org.graalvm.compiler.nodes.ConstantNode.forIntegerStamp:(Lorg/graalvm/compiler/core/common/type/Stamp;J)Lorg/graalvm/compiler/nodes/ConstantNode;
aload 9
aload 0
getfield org.graalvm.compiler.loop.CountedLoopInfo.iv:Lorg/graalvm/compiler/loop/InductionVariable;
invokevirtual org.graalvm.compiler.loop.InductionVariable.strideNode:()Lorg/graalvm/compiler/nodes/ValueNode;
invokestatic org.graalvm.compiler.nodes.calc.BinaryArithmeticNode.sub:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/ValueNode;
invokestatic org.graalvm.compiler.nodes.calc.BinaryArithmeticNode.add:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/ValueNode;
astore 10
start local 10 17: aload 0
getfield org.graalvm.compiler.loop.CountedLoopInfo.oneOff:Z
ifeq 19
18: aload 10
aload 9
invokestatic org.graalvm.compiler.nodes.calc.BinaryArithmeticNode.add:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/ValueNode;
astore 10
19: StackMap locals: org.graalvm.compiler.nodes.ValueNode
StackMap stack:
aload 7
aload 6
aload 0
getfield org.graalvm.compiler.loop.CountedLoopInfo.end:Lorg/graalvm/compiler/nodes/ValueNode;
aload 10
getstatic org.graalvm.compiler.nodes.NodeView.DEFAULT:Lorg/graalvm/compiler/nodes/NodeView;
invokevirtual org.graalvm.compiler.nodes.util.IntegerHelper.createCompareNode:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/NodeView;)Lorg/graalvm/compiler/nodes/LogicNode;
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.addOrUniqueWithInputs:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
checkcast org.graalvm.compiler.nodes.LogicNode
astore 8
end local 10 start local 8 20: StackMap locals: org.graalvm.compiler.loop.CountedLoopInfo org.graalvm.compiler.nodes.extended.GuardingNode java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugCloseable org.graalvm.compiler.core.common.type.IntegerStamp org.graalvm.compiler.nodes.util.IntegerHelper org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.LogicNode org.graalvm.compiler.nodes.ConstantNode
StackMap stack:
getstatic org.graalvm.compiler.loop.CountedLoopInfo.$assertionsDisabled:Z
ifne 21
aload 7
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getGuardsStage:()Lorg/graalvm/compiler/nodes/StructuredGraph$GuardsStage;
invokevirtual org.graalvm.compiler.nodes.StructuredGraph$GuardsStage.allowsFloatingGuards:()Z
ifne 21
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
21: StackMap locals:
StackMap stack:
aload 7
new org.graalvm.compiler.nodes.GuardNode
dup
aload 8
aload 0
getfield org.graalvm.compiler.loop.CountedLoopInfo.loop:Lorg/graalvm/compiler/loop/LoopEx;
invokevirtual org.graalvm.compiler.loop.LoopEx.entryPoint:()Lorg/graalvm/compiler/nodes/FixedNode;
invokestatic org.graalvm.compiler.nodes.AbstractBeginNode.prevBegin:(Lorg/graalvm/compiler/nodes/FixedNode;)Lorg/graalvm/compiler/nodes/AbstractBeginNode;
getstatic jdk.vm.ci.meta.DeoptimizationReason.LoopLimitCheck:Ljdk/vm/ci/meta/DeoptimizationReason;
getstatic jdk.vm.ci.meta.DeoptimizationAction.InvalidateRecompile:Ljdk/vm/ci/meta/DeoptimizationAction;
iconst_1
22: getstatic jdk.vm.ci.meta.SpeculationLog.NO_SPECULATION:Ljdk/vm/ci/meta/SpeculationLog$Speculation;
aconst_null
invokespecial org.graalvm.compiler.nodes.GuardNode.<init>:(Lorg/graalvm/compiler/nodes/LogicNode;Lorg/graalvm/compiler/nodes/extended/AnchoringNode;Ljdk/vm/ci/meta/DeoptimizationReason;Ljdk/vm/ci/meta/DeoptimizationAction;ZLjdk/vm/ci/meta/SpeculationLog$Speculation;Lorg/graalvm/compiler/graph/NodeSourcePosition;)V
23: invokevirtual org.graalvm.compiler.nodes.StructuredGraph.unique:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
checkcast org.graalvm.compiler.nodes.extended.GuardingNode
astore 1
24: aload 0
getfield org.graalvm.compiler.loop.CountedLoopInfo.loop:Lorg/graalvm/compiler/loop/LoopEx;
invokevirtual org.graalvm.compiler.loop.LoopEx.loopBegin:()Lorg/graalvm/compiler/nodes/LoopBeginNode;
aload 1
invokevirtual org.graalvm.compiler.nodes.LoopBeginNode.setOverflowGuard:(Lorg/graalvm/compiler/nodes/extended/GuardingNode;)V
25: aload 1
26: aload 4
ifnull 27
aload 4
invokeinterface org.graalvm.compiler.debug.DebugCloseable.close:()V
27: StackMap locals:
StackMap stack: org.graalvm.compiler.nodes.extended.GuardingNode
areturn
end local 9 end local 8 end local 7 end local 6 end local 5 StackMap locals: org.graalvm.compiler.loop.CountedLoopInfo org.graalvm.compiler.nodes.extended.GuardingNode java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugCloseable
StackMap stack: java.lang.Throwable
28: astore 2
29: aload 4
ifnull 30
aload 4
invokeinterface org.graalvm.compiler.debug.DebugCloseable.close:()V
end local 4 StackMap locals:
StackMap stack:
30: aload 2
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
31: astore 3
aload 2
ifnonnull 32
aload 3
astore 2
goto 33
StackMap locals:
StackMap stack:
32: aload 2
aload 3
if_acmpeq 33
aload 2
aload 3
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
33: aload 2
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 34 0 this Lorg/graalvm/compiler/loop/CountedLoopInfo;
1 34 1 overflowGuard Lorg/graalvm/compiler/nodes/extended/GuardingNode;
5 30 4 position Lorg/graalvm/compiler/debug/DebugCloseable;
6 28 5 stamp Lorg/graalvm/compiler/core/common/type/IntegerStamp;
7 28 6 integerHelper Lorg/graalvm/compiler/nodes/util/IntegerHelper;
8 28 7 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
14 15 8 cond Lorg/graalvm/compiler/nodes/LogicNode;
20 28 8 cond Lorg/graalvm/compiler/nodes/LogicNode;
9 28 9 one Lorg/graalvm/compiler/nodes/ConstantNode;
11 14 10 v1 Lorg/graalvm/compiler/nodes/ValueNode;
17 20 10 v1 Lorg/graalvm/compiler/nodes/ValueNode;
Exception table:
from to target type
5 26 28 any
4 27 31 any
28 31 31 any
public org.graalvm.compiler.core.common.type.IntegerStamp getStamp();
descriptor: ()Lorg/graalvm/compiler/core/common/type/IntegerStamp;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.loop.CountedLoopInfo.iv:Lorg/graalvm/compiler/loop/InductionVariable;
invokevirtual org.graalvm.compiler.loop.InductionVariable.valueNode:()Lorg/graalvm/compiler/nodes/ValueNode;
getstatic org.graalvm.compiler.nodes.NodeView.DEFAULT:Lorg/graalvm/compiler/nodes/NodeView;
invokevirtual org.graalvm.compiler.nodes.ValueNode.stamp:(Lorg/graalvm/compiler/nodes/NodeView;)Lorg/graalvm/compiler/core/common/type/Stamp;
checkcast org.graalvm.compiler.core.common.type.IntegerStamp
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/loop/CountedLoopInfo;
}
SourceFile: "CountedLoopInfo.java"
InnerClasses:
public Speculation = jdk.vm.ci.meta.SpeculationLog$Speculation of jdk.vm.ci.meta.SpeculationLog
public abstract ValueNumberable = org.graalvm.compiler.graph.Node$ValueNumberable of org.graalvm.compiler.graph.Node
public final Direction = org.graalvm.compiler.loop.InductionVariable$Direction of org.graalvm.compiler.loop.InductionVariable
public final GuardsStage = org.graalvm.compiler.nodes.StructuredGraph$GuardsStage of org.graalvm.compiler.nodes.StructuredGraph