MLIR  16.0.0git
Public Member Functions | List of all members
mlir::ResultRange::UseIterator Class Referencefinal

This class implements a use iterator for a range of operation results. More...

#include "mlir/IR/ValueRange.h"

+ Inheritance diagram for mlir::ResultRange::UseIterator:
+ Collaboration diagram for mlir::ResultRange::UseIterator:

Public Member Functions

 UseIterator (ResultRange results, bool end=false)
 Initialize the UseIterator. More...
 
UseIteratoroperator++ ()
 
OpOperandoperator-> () const
 
OpOperandoperator* () const
 
bool operator== (const UseIterator &rhs) const
 
bool operator!= (const UseIterator &rhs) const
 

Detailed Description

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 311 of file ValueRange.h.

Constructor & Destructor Documentation

◆ UseIterator()

ResultRange::UseIterator::UseIterator ( ResultRange  results,
bool  end = false 
)
explicit

Initialize the UseIterator.

Specify end to return iterator to last use, otherwise this is an iterator to the first use.

Definition at line 556 of file OperationSupport.cpp.

Member Function Documentation

◆ operator!=()

bool mlir::ResultRange::UseIterator::operator!= ( const UseIterator rhs) const
inline

Definition at line 326 of file ValueRange.h.

◆ operator*()

OpOperand& mlir::ResultRange::UseIterator::operator* ( ) const
inline

Definition at line 323 of file ValueRange.h.

◆ operator++()

ResultRange::UseIterator & ResultRange::UseIterator::operator++ ( )

Definition at line 563 of file OperationSupport.cpp.

◆ operator->()

OpOperand* mlir::ResultRange::UseIterator::operator-> ( ) const
inline

Definition at line 322 of file ValueRange.h.

◆ operator==()

bool mlir::ResultRange::UseIterator::operator== ( const UseIterator rhs) const
inline

Definition at line 325 of file ValueRange.h.


The documentation for this class was generated from the following files: