MLIR 22.0.0git
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 >:

Public Member Functions

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

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 141 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 146 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 151 of file BlockSupport.h.


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