public class org.graalvm.compiler.lir.constopt.ConstantTree$NodeCost implements org.graalvm.compiler.core.common.cfg.PropertyConsumable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.lir.constopt.ConstantTree$NodeCost
super_class: java.lang.Object
{
private java.util.List<org.graalvm.compiler.lir.constopt.UseEntry> usages;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Lorg/graalvm/compiler/lir/constopt/UseEntry;>;
private double bestCost;
descriptor: D
flags: (0x0002) ACC_PRIVATE
private int numMat;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public void <init>(double, java.util.List<org.graalvm.compiler.lir.constopt.UseEntry>, );
descriptor: (DLjava/util/List;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
dload 1
putfield org.graalvm.compiler.lir.constopt.ConstantTree$NodeCost.bestCost:D
2: aload 0
aload 3
putfield org.graalvm.compiler.lir.constopt.ConstantTree$NodeCost.usages:Ljava/util/List;
3: aload 0
iload 4
putfield org.graalvm.compiler.lir.constopt.ConstantTree$NodeCost.numMat:I
4: return
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/lir/constopt/ConstantTree$NodeCost;
0 5 1 bestCost D
0 5 3 usages Ljava/util/List<Lorg/graalvm/compiler/lir/constopt/UseEntry;>;
0 5 4 numMat I
Signature: (DLjava/util/List<Lorg/graalvm/compiler/lir/constopt/UseEntry;>;I)V
MethodParameters:
Name Flags
bestCost
usages
numMat
public void forEachProperty(java.util.function.BiConsumer<java.lang.String, java.lang.String>);
descriptor: (Ljava/util/function/BiConsumer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "bestCost"
aload 0
invokevirtual org.graalvm.compiler.lir.constopt.ConstantTree$NodeCost.getBestCost:()D
invokestatic java.lang.Double.toString:(D)Ljava/lang/String;
invokeinterface java.util.function.BiConsumer.accept:(Ljava/lang/Object;Ljava/lang/Object;)V
1: aload 1
ldc "numMat"
aload 0
invokevirtual org.graalvm.compiler.lir.constopt.ConstantTree$NodeCost.getNumMaterializations:()I
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
invokeinterface java.util.function.BiConsumer.accept:(Ljava/lang/Object;Ljava/lang/Object;)V
2: aload 1
ldc "numUsages"
aload 0
getfield org.graalvm.compiler.lir.constopt.ConstantTree$NodeCost.usages:Ljava/util/List;
invokeinterface java.util.List.size:()I
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
invokeinterface java.util.function.BiConsumer.accept:(Ljava/lang/Object;Ljava/lang/Object;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/lir/constopt/ConstantTree$NodeCost;
0 4 1 action Ljava/util/function/BiConsumer<Ljava/lang/String;Ljava/lang/String;>;
Signature: (Ljava/util/function/BiConsumer<Ljava/lang/String;Ljava/lang/String;>;)V
MethodParameters:
Name Flags
action
public void addUsage(org.graalvm.compiler.lir.constopt.UseEntry);
descriptor: (Lorg/graalvm/compiler/lir/constopt/UseEntry;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.lir.constopt.ConstantTree$NodeCost.usages:Ljava/util/List;
ifnonnull 2
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.graalvm.compiler.lir.constopt.ConstantTree$NodeCost.usages:Ljava/util/List;
2: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.lir.constopt.ConstantTree$NodeCost.usages:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/lir/constopt/ConstantTree$NodeCost;
0 4 1 usage Lorg/graalvm/compiler/lir/constopt/UseEntry;
MethodParameters:
Name Flags
usage
public java.util.List<org.graalvm.compiler.lir.constopt.UseEntry> getUsages();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.lir.constopt.ConstantTree$NodeCost.usages:Ljava/util/List;
ifnonnull 2
1: invokestatic java.util.Collections.emptyList:()Ljava/util/List;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.lir.constopt.ConstantTree$NodeCost.usages:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/lir/constopt/ConstantTree$NodeCost;
Signature: ()Ljava/util/List<Lorg/graalvm/compiler/lir/constopt/UseEntry;>;
public double getBestCost();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.lir.constopt.ConstantTree$NodeCost.bestCost:D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/lir/constopt/ConstantTree$NodeCost;
public int getNumMaterializations();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.lir.constopt.ConstantTree$NodeCost.numMat:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/lir/constopt/ConstantTree$NodeCost;
public void setBestCost(double);
descriptor: (D)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
dload 1
putfield org.graalvm.compiler.lir.constopt.ConstantTree$NodeCost.bestCost:D
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/lir/constopt/ConstantTree$NodeCost;
0 2 1 cost D
MethodParameters:
Name Flags
cost
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 "NodeCost [bestCost="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.graalvm.compiler.lir.constopt.ConstantTree$NodeCost.bestCost:D
invokevirtual java.lang.StringBuilder.append:(D)Ljava/lang/StringBuilder;
ldc ", numUsages="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.graalvm.compiler.lir.constopt.ConstantTree$NodeCost.usages:Ljava/util/List;
invokeinterface java.util.List.size:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ", numMat="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.graalvm.compiler.lir.constopt.ConstantTree$NodeCost.numMat:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "]"
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 1 0 this Lorg/graalvm/compiler/lir/constopt/ConstantTree$NodeCost;
}
SourceFile: "ConstantTree.java"
NestHost: org.graalvm.compiler.lir.constopt.ConstantTree
InnerClasses:
public NodeCost = org.graalvm.compiler.lir.constopt.ConstantTree$NodeCost of org.graalvm.compiler.lir.constopt.ConstantTree