|
MLIR 22.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. | |
| 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 348 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 599 of file OperationSupport.cpp.
References mlir::ResultRange::ResultRange().
Referenced by operator!=(), and operator==().
|
inline |
Definition at line 363 of file ValueRange.h.
References rhs, and UseIterator().
|
inline |
Definition at line 360 of file ValueRange.h.
| ResultRange::UseIterator & ResultRange::UseIterator::operator++ | ( | ) |
Definition at line 606 of file OperationSupport.cpp.
|
inline |
Definition at line 359 of file ValueRange.h.
|
inline |
Definition at line 362 of file ValueRange.h.
References rhs, and UseIterator().