MLIR
20.0.0git
|
This class provides iterator utilities for an ElementsAttr range. More...
#include "mlir/IR/BuiltinAttributeInterfaces.h"
Public Types | |
using | reference = typename IteratorT::reference |
Public Member Functions | |
ElementsAttrRange (ShapedType shapeType, const llvm::iterator_range< IteratorT > &range) | |
ElementsAttrRange (ShapedType shapeType, IteratorT beginIt, IteratorT endIt) | |
reference | operator[] (ArrayRef< uint64_t > index) const |
Return the value at the given index. More... | |
reference | operator[] (uint64_t index) const |
size_t | size () const |
Return the size of this range. More... | |
This class provides iterator utilities for an ElementsAttr range.
Definition at line 235 of file BuiltinAttributeInterfaces.h.
using mlir::detail::ElementsAttrRange< IteratorT >::reference = typename IteratorT::reference |
Definition at line 237 of file BuiltinAttributeInterfaces.h.
|
inline |
Definition at line 239 of file BuiltinAttributeInterfaces.h.
|
inline |
Definition at line 242 of file BuiltinAttributeInterfaces.h.
auto mlir::detail::ElementsAttrRange< IteratorT >::operator[] | ( | ArrayRef< uint64_t > | index | ) | const |
Return the value at the given index.
Definition at line 291 of file BuiltinAttributeInterfaces.h.
|
inline |
Definition at line 247 of file BuiltinAttributeInterfaces.h.
|
inline |
Return the size of this range.
Definition at line 252 of file BuiltinAttributeInterfaces.h.