My Project
|
A reference to a value, suitable for use as an operand of an operation. More...
#include <UseDefLists.h>
Public Member Functions | |
Value | get () const |
Return the current value being used by this operand. More... | |
void | set (Value value) |
Set the operand to the given value. More... | |
unsigned | getOperandNumber () |
Return which operand this is in the operand list of the User. More... | |
![]() | |
IROperand (Operation *owner) | |
IROperand (Operation *owner, ValueType value) | |
IROperand (IROperand &&other) | |
ValueType | get () const |
Return the current value being used by this operand. More... | |
void | set (ValueType newValue) |
Set the current value being used by this operand. More... | |
Operation * | getOwner () |
Return the owner of this operand. More... | |
Operation * | getOwner () const |
void | drop () |
Remove this use of the operand. More... | |
~IROperand () | |
OpOperand * | getNextOperandUsingThisValue () |
IROperand & | operator= (IROperand &&other) |
Static Public Member Functions | |
static IRObjectWithUseList< OpOperand > * | getUseList (Value value) |
Provide the use list that is attached to the given value. More... | |
Additional Inherited Members | |
![]() | |
using | ValueType = detail::OpaqueValue |
A reference to a value, suitable for use as an operand of an operation.
Value OpOperand::get | ( | ) | const |
Return the current value being used by this operand.
unsigned OpOperand::getOperandNumber | ( | ) |
Return which operand this is in the operand list of the User.
Return which operand this is in the operand list.
|
static |
Provide the use list that is attached to the given value.
void OpOperand::set | ( | Value | value | ) |
Set the operand to the given value.