class DefUseTree extends Object
Modifier and Type | Field and Description |
---|---|
private AbstractBlockBase<?> |
block |
private LIRInstruction |
instruction |
private List<UseEntry> |
uses |
Constructor and Description |
---|
DefUseTree(LIRInstruction instruction,
AbstractBlockBase<?> block) |
Modifier and Type | Method and Description |
---|---|
void |
addUsage(AbstractBlockBase<?> b,
LIRInstruction inst,
Value value) |
void |
forEach(Consumer<? super UseEntry> action) |
AbstractBlockBase<?> |
getBlock() |
JavaConstant |
getConstant() |
LIRInstruction |
getInstruction() |
Variable |
getVariable() |
String |
toString() |
int |
usageCount() |
private final LIRInstruction instruction
private final AbstractBlockBase<?> block
public DefUseTree(LIRInstruction instruction, AbstractBlockBase<?> block)
public Variable getVariable()
public JavaConstant getConstant()
public LIRInstruction getInstruction()
public AbstractBlockBase<?> getBlock()
public void addUsage(AbstractBlockBase<?> b, LIRInstruction inst, Value value)
public int usageCount()