public interface NodeValueMap
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasOperand(Node node) |
Value |
operand(Node node)
Returns the operand that has been previously initialized by
setResult(ValueNode, Value) with the result of an instruction. |
Value |
setResult(ValueNode node,
Value operand)
Associates
operand with the node in the current block. |
ValueNode |
valueForOperand(Value value)
Gets the the
ValueNode that produced a value. |
Value operand(Node node)
setResult(ValueNode, Value) with the result of an instruction. It's a code
generation error to ask for the operand of ValueNode that doesn't have one yet.node - A node that produces a result value.boolean hasOperand(Node node)
true if there is an operand associated with the node in
the current block.Value setResult(ValueNode node, Value operand)
operand with the node in the current block.operandValueNode valueForOperand(Value value)