MLIR  20.0.0git
Public Member Functions | List of all members
mlir::DenseElementsAttr::ElementIterator< T > Class Template Reference

Iterator for walking raw element values of the specified type 'T', which may be any c++ data type matching the stored representation: int32_t, float, etc. More...

#include "mlir/IR/BuiltinAttributes.h"

+ Inheritance diagram for mlir::DenseElementsAttr::ElementIterator< T >:

Public Member Functions

const T & operator* () const
 Accesses the raw value at this iterator position. More...
 

Additional Inherited Members

- Protected Member Functions inherited from mlir::detail::DenseElementIndexedIteratorImpl< ElementIterator< T >, const T >
 DenseElementIndexedIteratorImpl (const char *data, bool isSplat, size_t dataIndex)
 
ptrdiff_t getDataIndex () const
 Return the current index for this iterator, adjusted for the case of a splat. More...
 
const char * getData () const
 Return the data base pointer. More...
 

Detailed Description

template<typename T>
class mlir::DenseElementsAttr::ElementIterator< T >

Iterator for walking raw element values of the specified type 'T', which may be any c++ data type matching the stored representation: int32_t, float, etc.

Definition at line 259 of file BuiltinAttributes.h.

Member Function Documentation

◆ operator*()

template<typename T >
const T& mlir::DenseElementsAttr::ElementIterator< T >::operator* ( ) const
inline

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