class org.graalvm.compiler.lir.constopt.DefUseTree
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.graalvm.compiler.lir.constopt.DefUseTree
super_class: java.lang.Object
{
private final org.graalvm.compiler.lir.StandardOp$LoadConstantOp instruction;
descriptor: Lorg/graalvm/compiler/lir/StandardOp$LoadConstantOp;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.compiler.core.common.cfg.AbstractBlockBase<?> block;
descriptor: Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
private final java.util.List<org.graalvm.compiler.lir.constopt.UseEntry> uses;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lorg/graalvm/compiler/lir/constopt/UseEntry;>;
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/constopt/DefUseTree;
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.constopt.DefUseTree.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(org.graalvm.compiler.lir.LIRInstruction, org.graalvm.compiler.core.common.cfg.AbstractBlockBase<?>);
descriptor: (Lorg/graalvm/compiler/lir/LIRInstruction;Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)V
flags: (0x0000)
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: getstatic org.graalvm.compiler.lir.constopt.DefUseTree.$assertionsDisabled:Z
ifne 2
aload 1
invokestatic org.graalvm.compiler.lir.StandardOp$LoadConstantOp.isLoadConstantOp:(Lorg/graalvm/compiler/lir/LIRInstruction;)Z
ifne 2
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "Not a LoadConstantOp: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
2: StackMap locals: org.graalvm.compiler.lir.constopt.DefUseTree org.graalvm.compiler.lir.LIRInstruction org.graalvm.compiler.core.common.cfg.AbstractBlockBase
StackMap stack:
aload 0
aload 1
invokestatic org.graalvm.compiler.lir.StandardOp$LoadConstantOp.asLoadConstantOp:(Lorg/graalvm/compiler/lir/LIRInstruction;)Lorg/graalvm/compiler/lir/StandardOp$LoadConstantOp;
putfield org.graalvm.compiler.lir.constopt.DefUseTree.instruction:Lorg/graalvm/compiler/lir/StandardOp$LoadConstantOp;
3: aload 0
aload 2
putfield org.graalvm.compiler.lir.constopt.DefUseTree.block:Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
4: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.graalvm.compiler.lir.constopt.DefUseTree.uses:Ljava/util/List;
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/graalvm/compiler/lir/constopt/DefUseTree;
0 6 1 instruction Lorg/graalvm/compiler/lir/LIRInstruction;
0 6 2 block Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
Signature: (Lorg/graalvm/compiler/lir/LIRInstruction;Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;)V
MethodParameters:
Name Flags
instruction
block
public org.graalvm.compiler.lir.Variable getVariable();
descriptor: ()Lorg/graalvm/compiler/lir/Variable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.lir.constopt.DefUseTree.instruction:Lorg/graalvm/compiler/lir/StandardOp$LoadConstantOp;
invokeinterface org.graalvm.compiler.lir.StandardOp$LoadConstantOp.getResult:()Ljdk/vm/ci/meta/AllocatableValue;
checkcast org.graalvm.compiler.lir.Variable
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/lir/constopt/DefUseTree;
public jdk.vm.ci.meta.Constant getConstant();
descriptor: ()Ljdk/vm/ci/meta/Constant;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.lir.constopt.DefUseTree.instruction:Lorg/graalvm/compiler/lir/StandardOp$LoadConstantOp;
invokeinterface org.graalvm.compiler.lir.StandardOp$LoadConstantOp.getConstant:()Ljdk/vm/ci/meta/Constant;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/lir/constopt/DefUseTree;
public org.graalvm.compiler.lir.LIRInstruction getInstruction();
descriptor: ()Lorg/graalvm/compiler/lir/LIRInstruction;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.lir.constopt.DefUseTree.instruction:Lorg/graalvm/compiler/lir/StandardOp$LoadConstantOp;
checkcast org.graalvm.compiler.lir.LIRInstruction
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/lir/constopt/DefUseTree;
public org.graalvm.compiler.core.common.cfg.AbstractBlockBase<?> getBlock();
descriptor: ()Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.lir.constopt.DefUseTree.block:Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/lir/constopt/DefUseTree;
Signature: ()Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
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 "DefUseTree ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.graalvm.compiler.lir.constopt.DefUseTree.instruction:Lorg/graalvm/compiler/lir/StandardOp$LoadConstantOp;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "|"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.graalvm.compiler.lir.constopt.DefUseTree.block:Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ","
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.graalvm.compiler.lir.constopt.DefUseTree.uses:Ljava/util/List;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)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/DefUseTree;
public void addUsage(org.graalvm.compiler.core.common.cfg.AbstractBlockBase<?>, org.graalvm.compiler.lir.LIRInstruction, jdk.vm.ci.meta.Value);
descriptor: (Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;Lorg/graalvm/compiler/lir/LIRInstruction;Ljdk/vm/ci/meta/Value;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.graalvm.compiler.lir.constopt.DefUseTree.uses:Ljava/util/List;
new org.graalvm.compiler.lir.constopt.UseEntry
dup
aload 1
aload 2
aload 3
invokespecial org.graalvm.compiler.lir.constopt.UseEntry.<init>:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;Lorg/graalvm/compiler/lir/LIRInstruction;Ljdk/vm/ci/meta/Value;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/lir/constopt/DefUseTree;
0 2 1 b Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
0 2 2 inst Lorg/graalvm/compiler/lir/LIRInstruction;
0 2 3 value Ljdk/vm/ci/meta/Value;
Signature: (Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;Lorg/graalvm/compiler/lir/LIRInstruction;Ljdk/vm/ci/meta/Value;)V
MethodParameters:
Name Flags
b
inst
value
public int usageCount();
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.DefUseTree.uses:Ljava/util/List;
invokeinterface java.util.List.size:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/lir/constopt/DefUseTree;
public void forEach(java.util.function.Consumer<? super org.graalvm.compiler.lir.constopt.UseEntry>);
descriptor: (Ljava/util/function/Consumer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.lir.constopt.DefUseTree.uses:Ljava/util/List;
aload 1
invokeinterface java.util.List.forEach:(Ljava/util/function/Consumer;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/lir/constopt/DefUseTree;
0 2 1 action Ljava/util/function/Consumer<-Lorg/graalvm/compiler/lir/constopt/UseEntry;>;
Signature: (Ljava/util/function/Consumer<-Lorg/graalvm/compiler/lir/constopt/UseEntry;>;)V
MethodParameters:
Name Flags
action
}
SourceFile: "DefUseTree.java"
InnerClasses:
public abstract LoadConstantOp = org.graalvm.compiler.lir.StandardOp$LoadConstantOp of org.graalvm.compiler.lir.StandardOp