|
MLIR 22.0.0git
|
An iterator class that allows for iterating over the uses of an IR operand type. More...
#include "mlir/IR/UseDefLists.h"
Public Member Functions | |
| ValueUseIterator (detail::IROperandBase *use=nullptr) | |
| Operation * | getUser () const |
| Returns the operation that owns this use. | |
| OperandType * | getOperand () const |
| Returns the current operands. | |
| OperandType & | operator* () const |
| ValueUseIterator & | operator++ () |
| bool | operator== (const ValueUseIterator &rhs) const |
Protected Attributes | |
| detail::IROperandBase * | current |
An iterator class that allows for iterating over the uses of an IR operand type.
Definition at line 303 of file UseDefLists.h.
|
inline |
Definition at line 308 of file UseDefLists.h.
|
inline |
Returns the current operands.
Definition at line 314 of file UseDefLists.h.
Referenced by mlirValueGetFirstUse(), and mlir::ValueUseIterator< OpOperand >::operator*().
|
inline |
Returns the operation that owns this use.
Definition at line 311 of file UseDefLists.h.
|
inline |
Definition at line 315 of file UseDefLists.h.
|
inline |
Definition at line 320 of file UseDefLists.h.
|
inline |
Definition at line 326 of file UseDefLists.h.
|
protected |
Definition at line 331 of file UseDefLists.h.