MLIR  16.0.0git
Public Member Functions | List of all members
mlir::ValueUserIterator< UseIteratorT, OperandType > Class Template Reference

An iterator over the users of an IRObject. More...

#include "mlir/IR/UseDefLists.h"

+ Inheritance diagram for mlir::ValueUserIterator< UseIteratorT, OperandType >:
+ Collaboration diagram for mlir::ValueUserIterator< UseIteratorT, OperandType >:

Public Member Functions

OperationmapElement (OperandType &value) const
 Map the element to the iterator result type. More...
 
Operationoperator-> ()
 Provide access to the underlying operation. More...
 

Detailed Description

template<typename UseIteratorT, typename OperandType>
class mlir::ValueUserIterator< UseIteratorT, OperandType >

An iterator over the users of an IRObject.

This is a wrapper iterator around a specific use iterator.

Definition at line 28 of file UseDefLists.h.

Member Function Documentation

◆ mapElement()

template<typename UseIteratorT , typename OperandType >
Operation* mlir::ValueUserIterator< UseIteratorT, OperandType >::mapElement ( OperandType &  value) const
inline

Map the element to the iterator result type.

Definition at line 298 of file UseDefLists.h.

◆ operator->()

template<typename UseIteratorT , typename OperandType >
Operation* mlir::ValueUserIterator< UseIteratorT, OperandType >::operator-> ( )
inline

Provide access to the underlying operation.

Definition at line 301 of file UseDefLists.h.


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