|
MLIR 22.0.0git
|
A utility iterator that allows walking over the internal raw APInt values. More...
#include "mlir/IR/BuiltinAttributes.h"
Public Member Functions | |
| APInt | operator* () const |
| Accesses the raw APInt value at this iterator position. | |
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 |
| Return the current index for this iterator, adjusted for the case of a splat. | |
| const char * | getData () const |
| Return the data base pointer. | |
A utility iterator that allows walking over the internal raw APInt values.
Definition at line 293 of file BuiltinAttributes.h.
| APInt DenseElementsAttr::IntElementIterator::operator* | ( | ) | const |
Accesses the raw APInt value at this iterator position.
Definition at line 680 of file BuiltinAttributes.cpp.
References mlir::detail::DenseElementIndexedIteratorImpl< IntElementIterator, APInt, APInt, APInt >::getData(), mlir::detail::DenseElementIndexedIteratorImpl< IntElementIterator, APInt, APInt, APInt >::getDataIndex(), getDenseElementStorageWidth(), and readBits().