MLIR
20.0.0git
|
Iterate over all elements in a 0-ranked strided 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 | |
StridedMemrefIterator (StridedMemRefType< T, 0 > &descriptor, int64_t offset=0) | |
StridedMemrefIterator< T, 0 > & | operator++ () |
reference | operator* () |
pointer | operator-> () |
const std::array< int64_t, 0 > & | getIndices () |
bool | operator== (const StridedMemrefIterator &other) const |
bool | operator!= (const StridedMemrefIterator &other) const |
Iterate over all elements in a 0-ranked strided memref.
Definition at line 265 of file CRunnerUtils.h.
using StridedMemrefIterator< T, 0 >::difference_type = std::ptrdiff_t |
Definition at line 269 of file CRunnerUtils.h.
using StridedMemrefIterator< T, 0 >::iterator_category = std::forward_iterator_tag |
Definition at line 267 of file CRunnerUtils.h.
using StridedMemrefIterator< T, 0 >::pointer = T * |
Definition at line 270 of file CRunnerUtils.h.
using StridedMemrefIterator< T, 0 >::reference = T & |
Definition at line 271 of file CRunnerUtils.h.
using StridedMemrefIterator< T, 0 >::value_type = T |
Definition at line 268 of file CRunnerUtils.h.
|
inline |
Definition at line 273 of file CRunnerUtils.h.
|
inline |
Definition at line 286 of file CRunnerUtils.h.
|
inline |
Definition at line 297 of file CRunnerUtils.h.
|
inline |
Definition at line 281 of file CRunnerUtils.h.
|
inline |
Definition at line 276 of file CRunnerUtils.h.
|
inline |
Definition at line 282 of file CRunnerUtils.h.
|
inline |
Definition at line 293 of file CRunnerUtils.h.