My Project
|
#include <AttributeDetail.h>
Public Types | |
using | KeyTy = std::tuple< Type, Dialect *, StringRef > |
Public Member Functions | |
OpaqueElementsAttributeStorage (Type type, Dialect *dialect, StringRef bytes) | |
bool | operator== (const KeyTy &key) const |
Key equality and hash functions. More... | |
![]() | |
Type | getType () const |
Get the type of this attribute. More... | |
Dialect & | getDialect () const |
Get the dialect of this attribute. More... | |
![]() | |
unsigned | getKind () const |
Get the kind classification of this storage. More... | |
Static Public Member Functions | |
static unsigned | hashKey (const KeyTy &key) |
static OpaqueElementsAttributeStorage * | construct (AttributeStorageAllocator &allocator, KeyTy key) |
Construct a new storage instance. More... | |
Public Attributes | |
Dialect * | dialect |
StringRef | bytes |
Additional Inherited Members | |
![]() | |
AttributeStorage (Type type) | |
AttributeStorage () | |
void | setType (Type type) |
Set the type of this attribute. More... | |
void | initializeDialect (Dialect &newDialect) |
![]() | |
BaseStorage () | |
An attribute representing a reference to a tensor constant with opaque content.
using mlir::detail::OpaqueElementsAttributeStorage::KeyTy = std::tuple<Type, Dialect *, StringRef> |
|
inline |
|
inlinestatic |
Construct a new storage instance.
|
inlinestatic |
|
inline |
Key equality and hash functions.
StringRef mlir::detail::OpaqueElementsAttributeStorage::bytes |
Dialect* mlir::detail::OpaqueElementsAttributeStorage::dialect |