MLIR  15.0.0git
Public Member Functions | List of all members
mlir::ValueTypeRange< ValueRangeT > Class Template Reference

This class implements iteration on the types of a given range of values. More...

#include "mlir/IR/Block.h"

+ Inheritance diagram for mlir::ValueTypeRange< ValueRangeT >:
+ Collaboration diagram for mlir::ValueTypeRange< ValueRangeT >:

Public Member Functions

template<typename Container >
 ValueTypeRange (Container &&c)
 
Type operator[] (size_t index) const
 Return the type at the given index. More...
 
size_t size () const
 Return the size of this range. More...
 
Type front ()
 Return first type in the range. More...
 
template<typename OtherT >
bool operator== (const OtherT &other) const
 Compare this range with another. More...
 
template<typename OtherT >
bool operator!= (const OtherT &other) const
 

Detailed Description

template<typename ValueRangeT>
class mlir::ValueTypeRange< ValueRangeT >

This class implements iteration on the types of a given range of values.

Definition at line 26 of file Block.h.

Constructor & Destructor Documentation

◆ ValueTypeRange()

template<typename ValueRangeT>
template<typename Container >
mlir::ValueTypeRange< ValueRangeT >::ValueTypeRange ( Container &&  c)
inline

Definition at line 146 of file TypeRange.h.

Member Function Documentation

◆ front()

template<typename ValueRangeT>
Type mlir::ValueTypeRange< ValueRangeT >::front ( )
inline

Return first type in the range.

Definition at line 158 of file TypeRange.h.

Referenced by insertCasts(), verifyShapeOrExtentTensorOp(), and verifySizeOrIndexOp().

◆ operator!=()

template<typename ValueRangeT>
template<typename OtherT >
bool mlir::ValueTypeRange< ValueRangeT >::operator!= ( const OtherT &  other) const
inline

Definition at line 167 of file TypeRange.h.

◆ operator==()

template<typename ValueRangeT>
template<typename OtherT >
bool mlir::ValueTypeRange< ValueRangeT >::operator== ( const OtherT &  other) const
inline

Compare this range with another.

Definition at line 162 of file TypeRange.h.

◆ operator[]()

template<typename ValueRangeT>
Type mlir::ValueTypeRange< ValueRangeT >::operator[] ( size_t  index) const
inline

Return the type at the given index.

Definition at line 149 of file TypeRange.h.

◆ size()

template<typename ValueRangeT>
size_t mlir::ValueTypeRange< ValueRangeT >::size ( ) const
inline

Return the size of this range.

Definition at line 155 of file TypeRange.h.


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