MLIR  19.0.0git
Public Member Functions | List of all members
mlir::DenseElementsAttr::ComplexIntElementIterator Class Reference

A utility iterator that allows walking over the internal raw complex APInt values. More...

#include "mlir/IR/BuiltinAttributes.h"

+ Inheritance diagram for mlir::DenseElementsAttr::ComplexIntElementIterator:

Public Member Functions

std::complex< APInt > operator* () const
 Accesses the raw std::complex<APInt> value at this iterator position. More...
 

Additional Inherited Members

- Protected Member Functions inherited from mlir::detail::DenseElementIndexedIteratorImpl< ComplexIntElementIterator, std::complex< APInt >, std::complex< APInt >, std::complex< APInt > >
 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

A utility iterator that allows walking over the internal raw complex APInt values.

Definition at line 312 of file BuiltinAttributes.h.

Member Function Documentation

◆ operator*()

std::complex< APInt > DenseElementsAttr::ComplexIntElementIterator::operator* ( ) const

Accesses the raw std::complex<APInt> value at this iterator position.

Definition at line 685 of file BuiltinAttributes.cpp.

References getDenseElementStorageWidth(), and readBits().


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