My Project
|
An attribute representing a integral value. More...
#include <AttributeDetail.h>
Public Types | |
using | KeyTy = std::pair< Type, APInt > |
Public Member Functions | |
IntegerAttributeStorage (Type type, size_t numObjects) | |
bool | operator== (const KeyTy &key) const |
Key equality and hash functions. More... | |
APInt | getValue () const |
Returns an APInt representing the stored value. 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 IntegerAttributeStorage * | construct (AttributeStorageAllocator &allocator, const KeyTy &key) |
Construct a new storage instance. More... | |
Public Attributes | |
size_t | numObjects |
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 integral value.
using mlir::detail::IntegerAttributeStorage::KeyTy = std::pair<Type, APInt> |
|
inline |
|
inlinestatic |
Construct a new storage instance.
|
inline |
Returns an APInt representing the stored value.
|
inlinestatic |
|
inline |
Key equality and hash functions.
size_t mlir::detail::IntegerAttributeStorage::numObjects |