My Project
|
An attribute representing a string value. More...
#include <AttributeDetail.h>
Public Types | |
using | KeyTy = std::pair< StringRef, Type > |
Public Member Functions | |
StringAttributeStorage (StringRef value, Type type) | |
bool | operator== (const KeyTy &key) const |
Key equality function. 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 StringAttributeStorage * | construct (AttributeStorageAllocator &allocator, const KeyTy &key) |
Construct a new storage instance. More... | |
Public Attributes | |
StringRef | value |
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 string value.
using mlir::detail::StringAttributeStorage::KeyTy = std::pair<StringRef, Type> |
|
inline |
|
inlinestatic |
Construct a new storage instance.
|
inline |
Key equality function.
StringRef mlir::detail::StringAttributeStorage::value |