MLIR  16.0.0git
Public Member Functions | List of all members
mlir::detail::op_filter_iterator< OpT, IteratorT > Class Template Reference

A utility iterator that filters out operations that are not 'OpT'. More...

#include "mlir/IR/BlockSupport.h"

+ Inheritance diagram for mlir::detail::op_filter_iterator< OpT, IteratorT >:
+ Collaboration diagram for mlir::detail::op_filter_iterator< OpT, IteratorT >:

Public Member Functions

 op_filter_iterator (IteratorT it, IteratorT end)
 
 operator const IteratorT & () const
 Allow implicit conversion to the underlying iterator. More...
 

Detailed Description

template<typename OpT, typename IteratorT>
class mlir::detail::op_filter_iterator< OpT, IteratorT >

A utility iterator that filters out operations that are not 'OpT'.

Definition at line 142 of file BlockSupport.h.

Constructor & Destructor Documentation

◆ op_filter_iterator()

template<typename OpT, typename IteratorT>
mlir::detail::op_filter_iterator< OpT, IteratorT >::op_filter_iterator ( IteratorT  it,
IteratorT  end 
)
inline

Definition at line 147 of file BlockSupport.h.

Member Function Documentation

◆ operator const IteratorT &()

template<typename OpT, typename IteratorT>
mlir::detail::op_filter_iterator< OpT, IteratorT >::operator const IteratorT & ( ) const
inline

Allow implicit conversion to the underlying iterator.

Definition at line 152 of file BlockSupport.h.


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