|
MLIR 22.0.0git
|
A utility iterator that allows walking over the internal bool values. More...
#include "mlir/IR/BuiltinAttributes.h"
Public Member Functions | |
| bool | operator* () const |
| Accesses the bool value at this iterator position. | |
Additional Inherited Members | |
| Protected Member Functions inherited from mlir::detail::DenseElementIndexedIteratorImpl< BoolElementIterator, bool, bool, bool > | |
| 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 bool values.
Definition at line 278 of file BuiltinAttributes.h.
| bool DenseElementsAttr::BoolElementIterator::operator* | ( | ) | const |
Accesses the bool value at this iterator position.
Definition at line 666 of file BuiltinAttributes.cpp.
References getBit(), mlir::detail::DenseElementIndexedIteratorImpl< BoolElementIterator, bool, bool, bool >::getData(), and mlir::detail::DenseElementIndexedIteratorImpl< BoolElementIterator, bool, bool, bool >::getDataIndex().