public class org.graalvm.compiler.loop.BasicInductionVariable extends org.graalvm.compiler.loop.InductionVariable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.loop.BasicInductionVariable
super_class: org.graalvm.compiler.loop.InductionVariable
{
private final org.graalvm.compiler.nodes.ValuePhiNode phi;
descriptor: Lorg/graalvm/compiler/nodes/ValuePhiNode;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.compiler.nodes.ValueNode init;
descriptor: Lorg/graalvm/compiler/nodes/ValueNode;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private org.graalvm.compiler.nodes.ValueNode rawStride;
descriptor: Lorg/graalvm/compiler/nodes/ValueNode;
flags: (0x0002) ACC_PRIVATE
private org.graalvm.compiler.nodes.calc.BinaryArithmeticNode<?> op;
descriptor: Lorg/graalvm/compiler/nodes/calc/BinaryArithmeticNode;
flags: (0x0002) ACC_PRIVATE
Signature: Lorg/graalvm/compiler/nodes/calc/BinaryArithmeticNode<*>;
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/BasicInductionVariable;
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.BasicInductionVariable.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.graalvm.compiler.loop.LoopEx, org.graalvm.compiler.nodes.ValuePhiNode, org.graalvm.compiler.nodes.ValueNode, org.graalvm.compiler.nodes.ValueNode, org.graalvm.compiler.nodes.calc.BinaryArithmeticNode<?>);
descriptor: (Lorg/graalvm/compiler/loop/LoopEx;Lorg/graalvm/compiler/nodes/ValuePhiNode;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/calc/BinaryArithmeticNode;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
invokespecial org.graalvm.compiler.loop.InductionVariable.<init>:(Lorg/graalvm/compiler/loop/LoopEx;)V
1: aload 0
aload 2
putfield org.graalvm.compiler.loop.BasicInductionVariable.phi:Lorg/graalvm/compiler/nodes/ValuePhiNode;
2: aload 0
aload 3
putfield org.graalvm.compiler.loop.BasicInductionVariable.init:Lorg/graalvm/compiler/nodes/ValueNode;
3: aload 0
aload 4
putfield org.graalvm.compiler.loop.BasicInductionVariable.rawStride:Lorg/graalvm/compiler/nodes/ValueNode;
4: aload 0
aload 5
putfield org.graalvm.compiler.loop.BasicInductionVariable.op:Lorg/graalvm/compiler/nodes/calc/BinaryArithmeticNode;
5: 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 6 0 this Lorg/graalvm/compiler/loop/BasicInductionVariable;
0 6 1 loop Lorg/graalvm/compiler/loop/LoopEx;
0 6 2 phi Lorg/graalvm/compiler/nodes/ValuePhiNode;
0 6 3 init Lorg/graalvm/compiler/nodes/ValueNode;
0 6 4 rawStride Lorg/graalvm/compiler/nodes/ValueNode;
0 6 5 op Lorg/graalvm/compiler/nodes/calc/BinaryArithmeticNode<*>;
Signature: (Lorg/graalvm/compiler/loop/LoopEx;Lorg/graalvm/compiler/nodes/ValuePhiNode;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/calc/BinaryArithmeticNode<*>;)V
MethodParameters:
Name Flags
loop
phi
init
rawStride
op
public org.graalvm.compiler.nodes.StructuredGraph graph();
descriptor: ()Lorg/graalvm/compiler/nodes/StructuredGraph;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.loop.BasicInductionVariable.phi:Lorg/graalvm/compiler/nodes/ValuePhiNode;
invokevirtual org.graalvm.compiler.nodes.ValuePhiNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/loop/BasicInductionVariable;
public org.graalvm.compiler.nodes.calc.BinaryArithmeticNode<?> getOp();
descriptor: ()Lorg/graalvm/compiler/nodes/calc/BinaryArithmeticNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.loop.BasicInductionVariable.op:Lorg/graalvm/compiler/nodes/calc/BinaryArithmeticNode;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/loop/BasicInductionVariable;
Signature: ()Lorg/graalvm/compiler/nodes/calc/BinaryArithmeticNode<*>;
public void setOP(org.graalvm.compiler.nodes.calc.BinaryArithmeticNode<?>);
descriptor: (Lorg/graalvm/compiler/nodes/calc/BinaryArithmeticNode;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.graalvm.compiler.nodes.calc.BinaryArithmeticNode.getY:()Lorg/graalvm/compiler/nodes/ValueNode;
putfield org.graalvm.compiler.loop.BasicInductionVariable.rawStride:Lorg/graalvm/compiler/nodes/ValueNode;
1: aload 0
aload 1
putfield org.graalvm.compiler.loop.BasicInductionVariable.op:Lorg/graalvm/compiler/nodes/calc/BinaryArithmeticNode;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/loop/BasicInductionVariable;
0 3 1 newOp Lorg/graalvm/compiler/nodes/calc/BinaryArithmeticNode<*>;
Signature: (Lorg/graalvm/compiler/nodes/calc/BinaryArithmeticNode<*>;)V
MethodParameters:
Name Flags
newOp
public org.graalvm.compiler.loop.InductionVariable$Direction direction();
descriptor: ()Lorg/graalvm/compiler/loop/InductionVariable$Direction;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.loop.BasicInductionVariable.rawStride: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 1
instanceof org.graalvm.compiler.core.common.type.IntegerStamp
ifeq 14
2: aload 1
checkcast org.graalvm.compiler.core.common.type.IntegerStamp
astore 2
start local 2 3: aconst_null
astore 3
start local 3 4: aload 2
invokevirtual org.graalvm.compiler.core.common.type.IntegerStamp.isStrictlyPositive:()Z
ifeq 7
5: getstatic org.graalvm.compiler.loop.InductionVariable$Direction.Up:Lorg/graalvm/compiler/loop/InductionVariable$Direction;
astore 3
6: goto 9
StackMap locals: org.graalvm.compiler.core.common.type.Stamp org.graalvm.compiler.core.common.type.IntegerStamp org.graalvm.compiler.loop.InductionVariable$Direction
StackMap stack:
7: aload 2
invokevirtual org.graalvm.compiler.core.common.type.IntegerStamp.isStrictlyNegative:()Z
ifeq 9
8: getstatic org.graalvm.compiler.loop.InductionVariable$Direction.Down:Lorg/graalvm/compiler/loop/InductionVariable$Direction;
astore 3
9: StackMap locals:
StackMap stack:
aload 3
ifnull 14
10: aload 0
getfield org.graalvm.compiler.loop.BasicInductionVariable.op:Lorg/graalvm/compiler/nodes/calc/BinaryArithmeticNode;
instanceof org.graalvm.compiler.nodes.calc.AddNode
ifeq 12
11: aload 3
areturn
12: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.loop.BasicInductionVariable.$assertionsDisabled:Z
ifne 13
aload 0
getfield org.graalvm.compiler.loop.BasicInductionVariable.op:Lorg/graalvm/compiler/nodes/calc/BinaryArithmeticNode;
instanceof org.graalvm.compiler.nodes.calc.SubNode
ifne 13
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
13: StackMap locals:
StackMap stack:
aload 3
invokevirtual org.graalvm.compiler.loop.InductionVariable$Direction.opposite:()Lorg/graalvm/compiler/loop/InductionVariable$Direction;
areturn
end local 3 end local 2 14: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/graalvm/compiler/loop/BasicInductionVariable;
1 15 1 stamp Lorg/graalvm/compiler/core/common/type/Stamp;
3 14 2 integerStamp Lorg/graalvm/compiler/core/common/type/IntegerStamp;
4 14 3 dir Lorg/graalvm/compiler/loop/InductionVariable$Direction;
public org.graalvm.compiler.nodes.ValuePhiNode valueNode();
descriptor: ()Lorg/graalvm/compiler/nodes/ValuePhiNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.loop.BasicInductionVariable.phi:Lorg/graalvm/compiler/nodes/ValuePhiNode;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/loop/BasicInductionVariable;
public org.graalvm.compiler.nodes.ValueNode initNode();
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.BasicInductionVariable.init:Lorg/graalvm/compiler/nodes/ValueNode;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/loop/BasicInductionVariable;
public org.graalvm.compiler.nodes.ValueNode strideNode();
descriptor: ()Lorg/graalvm/compiler/nodes/ValueNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.loop.BasicInductionVariable.op:Lorg/graalvm/compiler/nodes/calc/BinaryArithmeticNode;
instanceof org.graalvm.compiler.nodes.calc.AddNode
ifeq 2
1: aload 0
getfield org.graalvm.compiler.loop.BasicInductionVariable.rawStride:Lorg/graalvm/compiler/nodes/ValueNode;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.loop.BasicInductionVariable.op:Lorg/graalvm/compiler/nodes/calc/BinaryArithmeticNode;
instanceof org.graalvm.compiler.nodes.calc.SubNode
ifeq 4
3: aload 0
invokevirtual org.graalvm.compiler.loop.BasicInductionVariable.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
new org.graalvm.compiler.nodes.calc.NegateNode
dup
aload 0
getfield org.graalvm.compiler.loop.BasicInductionVariable.rawStride:Lorg/graalvm/compiler/nodes/ValueNode;
invokespecial org.graalvm.compiler.nodes.calc.NegateNode.<init>:(Lorg/graalvm/compiler/nodes/ValueNode;)V
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.unique:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
checkcast org.graalvm.compiler.nodes.ValueNode
areturn
4: StackMap locals:
StackMap stack:
invokestatic org.graalvm.compiler.debug.GraalError.shouldNotReachHere:()Ljava/lang/RuntimeException;
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/loop/BasicInductionVariable;
public boolean isConstantInit();
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.BasicInductionVariable.init:Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.nodes.ValueNode.isConstant:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/loop/BasicInductionVariable;
public boolean isConstantStride();
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.BasicInductionVariable.rawStride:Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.nodes.ValueNode.isConstant:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/loop/BasicInductionVariable;
public long constantInit();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.loop.BasicInductionVariable.init: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
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/loop/BasicInductionVariable;
public long constantStride();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.loop.BasicInductionVariable.op:Lorg/graalvm/compiler/nodes/calc/BinaryArithmeticNode;
instanceof org.graalvm.compiler.nodes.calc.AddNode
ifeq 2
1: aload 0
getfield org.graalvm.compiler.loop.BasicInductionVariable.rawStride: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
lreturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.loop.BasicInductionVariable.op:Lorg/graalvm/compiler/nodes/calc/BinaryArithmeticNode;
instanceof org.graalvm.compiler.nodes.calc.SubNode
ifeq 4
3: aload 0
getfield org.graalvm.compiler.loop.BasicInductionVariable.rawStride: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
lneg
lreturn
4: StackMap locals:
StackMap stack:
invokestatic org.graalvm.compiler.debug.GraalError.shouldNotReachHere:()Ljava/lang/RuntimeException;
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/loop/BasicInductionVariable;
public org.graalvm.compiler.nodes.ValueNode extremumNode(boolean, org.graalvm.compiler.core.common.type.Stamp);
descriptor: (ZLorg/graalvm/compiler/core/common/type/Stamp;)Lorg/graalvm/compiler/nodes/ValueNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.graalvm.compiler.loop.BasicInductionVariable.phi:Lorg/graalvm/compiler/nodes/ValuePhiNode;
getstatic org.graalvm.compiler.nodes.NodeView.DEFAULT:Lorg/graalvm/compiler/nodes/NodeView;
invokevirtual org.graalvm.compiler.nodes.ValuePhiNode.stamp:(Lorg/graalvm/compiler/nodes/NodeView;)Lorg/graalvm/compiler/core/common/type/Stamp;
astore 3
start local 3 1: aload 0
invokevirtual org.graalvm.compiler.loop.BasicInductionVariable.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
astore 4
start local 4 2: aload 0
invokevirtual org.graalvm.compiler.loop.BasicInductionVariable.strideNode:()Lorg/graalvm/compiler/nodes/ValueNode;
astore 5
start local 5 3: aload 0
invokevirtual org.graalvm.compiler.loop.BasicInductionVariable.initNode:()Lorg/graalvm/compiler/nodes/ValueNode;
astore 6
start local 6 4: aload 3
aload 2
invokevirtual org.graalvm.compiler.core.common.type.Stamp.isCompatible:(Lorg/graalvm/compiler/core/common/type/Stamp;)Z
ifne 7
5: aload 5
aload 2
aload 0
invokevirtual org.graalvm.compiler.loop.BasicInductionVariable.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
getstatic org.graalvm.compiler.nodes.NodeView.DEFAULT:Lorg/graalvm/compiler/nodes/NodeView;
invokestatic org.graalvm.compiler.nodes.calc.IntegerConvertNode.convert:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/core/common/type/Stamp;Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/nodes/NodeView;)Lorg/graalvm/compiler/nodes/ValueNode;
astore 5
6: aload 6
aload 2
aload 0
invokevirtual org.graalvm.compiler.loop.BasicInductionVariable.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
getstatic org.graalvm.compiler.nodes.NodeView.DEFAULT:Lorg/graalvm/compiler/nodes/NodeView;
invokestatic org.graalvm.compiler.nodes.calc.IntegerConvertNode.convert:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/core/common/type/Stamp;Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/nodes/NodeView;)Lorg/graalvm/compiler/nodes/ValueNode;
astore 6
7: StackMap locals: org.graalvm.compiler.loop.BasicInductionVariable int org.graalvm.compiler.core.common.type.Stamp org.graalvm.compiler.core.common.type.Stamp org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.ValueNode org.graalvm.compiler.nodes.ValueNode
StackMap stack:
aload 0
getfield org.graalvm.compiler.loop.BasicInductionVariable.loop:Lorg/graalvm/compiler/loop/LoopEx;
invokevirtual org.graalvm.compiler.loop.LoopEx.counted:()Lorg/graalvm/compiler/loop/CountedLoopInfo;
iload 1
invokevirtual org.graalvm.compiler.loop.CountedLoopInfo.maxTripCountNode:(Z)Lorg/graalvm/compiler/nodes/ValueNode;
astore 7
start local 7 8: aload 7
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;
aload 2
invokevirtual org.graalvm.compiler.core.common.type.Stamp.isCompatible:(Lorg/graalvm/compiler/core/common/type/Stamp;)Z
ifne 10
9: aload 7
aload 2
aload 0
invokevirtual org.graalvm.compiler.loop.BasicInductionVariable.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
getstatic org.graalvm.compiler.nodes.NodeView.DEFAULT:Lorg/graalvm/compiler/nodes/NodeView;
invokestatic org.graalvm.compiler.nodes.calc.IntegerConvertNode.convert:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/core/common/type/Stamp;Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/nodes/NodeView;)Lorg/graalvm/compiler/nodes/ValueNode;
astore 7
10: StackMap locals: org.graalvm.compiler.nodes.ValueNode
StackMap stack:
aload 4
aload 4
aload 5
aload 4
aload 7
aload 2
lconst_1
aload 4
invokestatic org.graalvm.compiler.nodes.ConstantNode.forIntegerStamp:(Lorg/graalvm/compiler/core/common/type/Stamp;JLorg/graalvm/compiler/nodes/StructuredGraph;)Lorg/graalvm/compiler/nodes/ConstantNode;
invokestatic org.graalvm.compiler.loop.MathUtil.sub:(Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/ValueNode;
invokestatic org.graalvm.compiler.loop.MathUtil.mul:(Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/ValueNode;
aload 6
invokestatic org.graalvm.compiler.loop.MathUtil.add:(Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/ValueNode;
areturn
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 11 0 this Lorg/graalvm/compiler/loop/BasicInductionVariable;
0 11 1 assumePositiveTripCount Z
0 11 2 stamp Lorg/graalvm/compiler/core/common/type/Stamp;
1 11 3 fromStamp Lorg/graalvm/compiler/core/common/type/Stamp;
2 11 4 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
3 11 5 stride Lorg/graalvm/compiler/nodes/ValueNode;
4 11 6 initNode Lorg/graalvm/compiler/nodes/ValueNode;
8 11 7 maxTripCount Lorg/graalvm/compiler/nodes/ValueNode;
MethodParameters:
Name Flags
assumePositiveTripCount
stamp
public org.graalvm.compiler.nodes.ValueNode exitValueNode();
descriptor: ()Lorg/graalvm/compiler/nodes/ValueNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.loop.BasicInductionVariable.phi:Lorg/graalvm/compiler/nodes/ValuePhiNode;
getstatic org.graalvm.compiler.nodes.NodeView.DEFAULT:Lorg/graalvm/compiler/nodes/NodeView;
invokevirtual org.graalvm.compiler.nodes.ValuePhiNode.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.BasicInductionVariable.loop:Lorg/graalvm/compiler/loop/LoopEx;
invokevirtual org.graalvm.compiler.loop.LoopEx.counted:()Lorg/graalvm/compiler/loop/CountedLoopInfo;
invokevirtual org.graalvm.compiler.loop.CountedLoopInfo.maxTripCountNode:()Lorg/graalvm/compiler/nodes/ValueNode;
astore 2
start local 2 2: 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;
aload 1
invokevirtual org.graalvm.compiler.core.common.type.Stamp.isCompatible:(Lorg/graalvm/compiler/core/common/type/Stamp;)Z
ifne 4
3: aload 2
aload 1
aload 0
invokevirtual org.graalvm.compiler.loop.BasicInductionVariable.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
getstatic org.graalvm.compiler.nodes.NodeView.DEFAULT:Lorg/graalvm/compiler/nodes/NodeView;
invokestatic org.graalvm.compiler.nodes.calc.IntegerConvertNode.convert:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/core/common/type/Stamp;Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/nodes/NodeView;)Lorg/graalvm/compiler/nodes/ValueNode;
astore 2
4: StackMap locals: org.graalvm.compiler.core.common.type.Stamp org.graalvm.compiler.nodes.ValueNode
StackMap stack:
aload 0
invokevirtual org.graalvm.compiler.loop.BasicInductionVariable.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
aload 0
invokevirtual org.graalvm.compiler.loop.BasicInductionVariable.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
aload 0
invokevirtual org.graalvm.compiler.loop.BasicInductionVariable.strideNode:()Lorg/graalvm/compiler/nodes/ValueNode;
aload 2
invokestatic org.graalvm.compiler.loop.MathUtil.mul:(Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/ValueNode;
aload 0
invokevirtual org.graalvm.compiler.loop.BasicInductionVariable.initNode:()Lorg/graalvm/compiler/nodes/ValueNode;
invokestatic org.graalvm.compiler.loop.MathUtil.add:(Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/ValueNode;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/loop/BasicInductionVariable;
1 5 1 stamp Lorg/graalvm/compiler/core/common/type/Stamp;
2 5 2 maxTripCount Lorg/graalvm/compiler/nodes/ValueNode;
public boolean isConstantExtremum();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.graalvm.compiler.loop.BasicInductionVariable.isConstantInit:()Z
ifeq 1
aload 0
invokevirtual org.graalvm.compiler.loop.BasicInductionVariable.isConstantStride:()Z
ifeq 1
aload 0
getfield org.graalvm.compiler.loop.BasicInductionVariable.loop:Lorg/graalvm/compiler/loop/LoopEx;
invokevirtual org.graalvm.compiler.loop.LoopEx.counted:()Lorg/graalvm/compiler/loop/CountedLoopInfo;
invokevirtual org.graalvm.compiler.loop.CountedLoopInfo.isConstantMaxTripCount:()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/BasicInductionVariable;
public long constantExtremum();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.loop.BasicInductionVariable.loop:Lorg/graalvm/compiler/loop/LoopEx;
invokevirtual org.graalvm.compiler.loop.LoopEx.counted:()Lorg/graalvm/compiler/loop/CountedLoopInfo;
invokevirtual org.graalvm.compiler.loop.CountedLoopInfo.constantMaxTripCount:()Lorg/graalvm/compiler/core/common/util/UnsignedLong;
astore 1
start local 1 1: aload 1
lconst_1
invokevirtual org.graalvm.compiler.core.common.util.UnsignedLong.isLessThan:(J)Z
ifeq 3
2: aload 0
invokevirtual org.graalvm.compiler.loop.BasicInductionVariable.constantInit:()J
lreturn
3: StackMap locals: org.graalvm.compiler.core.common.util.UnsignedLong
StackMap stack:
aload 1
lconst_1
invokevirtual org.graalvm.compiler.core.common.util.UnsignedLong.minus:(J)Lorg/graalvm/compiler/core/common/util/UnsignedLong;
aload 0
invokevirtual org.graalvm.compiler.loop.BasicInductionVariable.constantStride:()J
invokevirtual org.graalvm.compiler.core.common.util.UnsignedLong.wrappingTimes:(J)Lorg/graalvm/compiler/core/common/util/UnsignedLong;
aload 0
invokevirtual org.graalvm.compiler.loop.BasicInductionVariable.constantInit:()J
invokevirtual org.graalvm.compiler.core.common.util.UnsignedLong.wrappingPlus:(J)Lorg/graalvm/compiler/core/common/util/UnsignedLong;
invokevirtual org.graalvm.compiler.core.common.util.UnsignedLong.asLong:()J
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/loop/BasicInductionVariable;
1 4 1 tripCount Lorg/graalvm/compiler/core/common/util/UnsignedLong;
public void deleteUnusedNodes();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/loop/BasicInductionVariable;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: ldc "BasicInductionVariable %s %s %s %s"
iconst_4
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual org.graalvm.compiler.loop.BasicInductionVariable.initNode:()Lorg/graalvm/compiler/nodes/ValueNode;
aastore
dup
iconst_1
aload 0
getfield org.graalvm.compiler.loop.BasicInductionVariable.phi:Lorg/graalvm/compiler/nodes/ValuePhiNode;
aastore
dup
iconst_2
aload 0
getfield org.graalvm.compiler.loop.BasicInductionVariable.op:Lorg/graalvm/compiler/nodes/calc/BinaryArithmeticNode;
invokevirtual org.graalvm.compiler.nodes.calc.BinaryArithmeticNode.getNodeClass:()Lorg/graalvm/compiler/graph/NodeClass;
invokevirtual org.graalvm.compiler.graph.NodeClass.shortName:()Ljava/lang/String;
aastore
dup
iconst_3
aload 0
invokevirtual org.graalvm.compiler.loop.BasicInductionVariable.strideNode:()Lorg/graalvm/compiler/nodes/ValueNode;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/loop/BasicInductionVariable;
public org.graalvm.compiler.nodes.ValueNode valueNode();
descriptor: ()Lorg/graalvm/compiler/nodes/ValueNode;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual org.graalvm.compiler.loop.BasicInductionVariable.valueNode:()Lorg/graalvm/compiler/nodes/ValuePhiNode;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "BasicInductionVariable.java"
InnerClasses:
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