MLIR
20.0.0git
|
Iterate over all elements in a dynamic memref. More...
#include "mlir/ExecutionEngine/CRunnerUtils.h"
Public Types | |
using | iterator_category = std::forward_iterator_tag |
using | value_type = T |
using | difference_type = std::ptrdiff_t |
using | pointer = T * |
using | reference = T & |
Public Member Functions | |
DynamicMemRefIterator (DynamicMemRefType< T > &descriptor, int64_t offset=0) | |
DynamicMemRefIterator< T > & | operator++ () |
reference | operator* () |
pointer | operator-> () |
const std::vector< int64_t > & | getIndices () |
bool | operator== (const DynamicMemRefIterator &other) const |
bool | operator!= (const DynamicMemRefIterator &other) const |
Iterate over all elements in a dynamic memref.
Definition at line 392 of file CRunnerUtils.h.
using DynamicMemRefIterator< T >::difference_type = std::ptrdiff_t |
Definition at line 396 of file CRunnerUtils.h.
using DynamicMemRefIterator< T >::iterator_category = std::forward_iterator_tag |
Definition at line 394 of file CRunnerUtils.h.
using DynamicMemRefIterator< T >::pointer = T * |
Definition at line 397 of file CRunnerUtils.h.
using DynamicMemRefIterator< T >::reference = T & |
Definition at line 398 of file CRunnerUtils.h.
using DynamicMemRefIterator< T >::value_type = T |
Definition at line 395 of file CRunnerUtils.h.
|
inline |
Definition at line 400 of file CRunnerUtils.h.
References DynamicMemRefType< T >::rank.
|
inline |
Definition at line 432 of file CRunnerUtils.h.
|
inline |
Definition at line 438 of file CRunnerUtils.h.
|
inline |
Definition at line 429 of file CRunnerUtils.h.
|
inline |
Definition at line 405 of file CRunnerUtils.h.
|
inline |
Definition at line 430 of file CRunnerUtils.h.
|
inline |
Definition at line 434 of file CRunnerUtils.h.