My Project
Public Member Functions | List of all members
mlir::DenseElementsAttr::IntElementIterator Class Reference

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

#include <Attributes.h>

Inheritance diagram for mlir::DenseElementsAttr::IntElementIterator:
Inheritance graph
[legend]
Collaboration diagram for mlir::DenseElementsAttr::IntElementIterator:
Collaboration graph
[legend]

Public Member Functions

APInt operator* () const
 Accesses the raw APInt value at this iterator position. More...
 
- Public Member Functions inherited from mlir::indexed_accessor_iterator< IntElementIterator, DenseIterPtrAndSplat, APInt, APInt, APInt >
ptrdiff_t operator- (const indexed_accessor_iterator &rhs) const
 
bool operator== (const indexed_accessor_iterator &rhs) const
 
bool operator< (const indexed_accessor_iterator &rhs) const
 
IntElementIterator & operator+= (ptrdiff_t offset)
 
IntElementIterator & operator-= (ptrdiff_t offset)
 
ptrdiff_t getIndex () const
 Returns the current index of the iterator. More...
 
const DenseIterPtrAndSplat & getBase () const
 Returns the current base of the iterator. More...
 

Additional Inherited Members

- Protected Member Functions inherited from mlir::detail::DenseElementIndexedIteratorImpl< IntElementIterator, APInt, APInt, APInt >
 DenseElementIndexedIteratorImpl (const char *data, bool isSplat, size_t dataIndex)
 
ptrdiff_t getDataIndex () const
 
const char * getData () const
 Return the data base pointer. More...
 
- Protected Member Functions inherited from mlir::indexed_accessor_iterator< IntElementIterator, DenseIterPtrAndSplat, APInt, APInt, APInt >
 indexed_accessor_iterator (DenseIterPtrAndSplat base, ptrdiff_t index)
 
- Protected Attributes inherited from mlir::indexed_accessor_iterator< IntElementIterator, DenseIterPtrAndSplat, APInt, APInt, APInt >
DenseIterPtrAndSplat base
 
ptrdiff_t index
 

Detailed Description

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

Member Function Documentation

◆ operator*()

APInt DenseElementsAttr::IntElementIterator::operator* ( void  ) const

Accesses the raw APInt value at this iterator position.


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