MLIR
20.0.0git
|
Impl iterator for indexed DenseElementsAttr iterators that records a data pointer and data index that is adjusted for the case of a splat attribute. More...
#include "mlir/IR/BuiltinAttributes.h"
Protected Member Functions | |
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... | |
Impl iterator for indexed DenseElementsAttr iterators that records a data pointer and data index that is adjusted for the case of a splat attribute.
Definition at line 52 of file BuiltinAttributes.h.
|
inlineprotected |
Definition at line 56 of file BuiltinAttributes.h.
|
inlineprotected |
Return the data base pointer.
Definition at line 70 of file BuiltinAttributes.h.
|
inlineprotected |
Return the current index for this iterator, adjusted for the case of a splat.
Definition at line 64 of file BuiltinAttributes.h.