MLIR
20.0.0git
|
This class implements a use iterator for a range of operation results. More...
#include "mlir/IR/ValueRange.h"
Public Member Functions | |
UseIterator (ResultRange results, bool end=false) | |
Initialize the UseIterator. More... | |
UseIterator & | operator++ () |
OpOperand * | operator-> () const |
OpOperand & | operator* () const |
bool | operator== (const UseIterator &rhs) const |
bool | operator!= (const UseIterator &rhs) const |
This class implements a use iterator for a range of operation results.
This iterates over all uses of all results within the given result range.
Definition at line 343 of file ValueRange.h.
|
explicit |
Initialize the UseIterator.
Specify end
to return iterator to last use, otherwise this is an iterator to the first use.
Definition at line 603 of file OperationSupport.cpp.
|
inline |
Definition at line 358 of file ValueRange.h.
|
inline |
Definition at line 355 of file ValueRange.h.
References mlir::ValueUseIterator< OperandType >::getOperand().
ResultRange::UseIterator & ResultRange::UseIterator::operator++ | ( | ) |
Definition at line 610 of file OperationSupport.cpp.
|
inline |
Definition at line 354 of file ValueRange.h.
References mlir::ValueUseIterator< OperandType >::getOperand().
|
inline |
Definition at line 357 of file ValueRange.h.