MLIR
20.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. More... | |
OperandType * | getOperand () const |
Returns the current operands. More... | |
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.
References mlir::ValueUseIterator< OperandType >::current.
Referenced by mlirValueGetFirstUse(), mlir::ValueUseIterator< OperandType >::operator*(), mlir::ResultRange::UseIterator::operator*(), and mlir::ResultRange::UseIterator::operator->().
|
inline |
Returns the operation that owns this use.
Definition at line 311 of file UseDefLists.h.
References mlir::ValueUseIterator< OperandType >::current, and mlir::detail::IROperandBase::getOwner().
|
inline |
Definition at line 315 of file UseDefLists.h.
References mlir::ValueUseIterator< OperandType >::getOperand().
|
inline |
Definition at line 320 of file UseDefLists.h.
References mlir::ValueUseIterator< OperandType >::current, and mlir::detail::IROperandBase::getNextOperandUsingThisValue().
|
inline |
Definition at line 326 of file UseDefLists.h.
References mlir::ValueUseIterator< OperandType >::current.
|
protected |
Definition at line 331 of file UseDefLists.h.
Referenced by mlir::ValueUseIterator< OperandType >::getOperand(), mlir::ValueUseIterator< OperandType >::getUser(), mlir::ValueUseIterator< OperandType >::operator++(), and mlir::ValueUseIterator< OperandType >::operator==().