My Project
|
#include <UseDefLists.h>
Public Types | |
using | ValueType = IRValueTy |
Public Member Functions | |
IROperand (Operation *owner) | |
IROperand (Operation *owner, ValueType value) | |
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 () | |
DerivedT * | getNextOperandUsingThisValue () |
IROperand (IROperand &&other) | |
IROperand & | operator= (IROperand &&other) |
A reference to a value, suitable for use as an operand of an operation. IRValueTy is the root type to use for values this tracks. Derived operand types are expected to provide the following:
using mlir::IROperand< DerivedT, IRValueTy >::ValueType = IRValueTy |
|
inline |
|
inline |
|
inline |
|
inline |
We support a move constructor so IROperand's can be in vectors, but this shouldn't be used by general clients.
|
inline |
Remove this use of the operand.
|
inline |
Return the current value being used by this operand.
|
inline |
Return the next operand on the use-list of the value we are referring to. This should generally only be used by the internal implementation details of the SSA machinery.
|
inline |
Return the owner of this operand.
|
inline |
|
inline |
|
inline |
Set the current value being used by this operand.