MLIR
20.0.0git
|
Storage of DynamicAttr. More...
Public Types | |
using | KeyTy = std::pair< DynamicAttrDefinition *, ArrayRef< Attribute > > |
Public Member Functions | |
DynamicAttrStorage (DynamicAttrDefinition *attrDef, ArrayRef< Attribute > params) | |
bool | operator== (const KeyTy &key) const |
Public Member Functions inherited from mlir::AttributeStorage | |
const AbstractAttribute & | getAbstractAttribute () const |
Return the abstract descriptor for this attribute. More... | |
Static Public Member Functions | |
static llvm::hash_code | hashKey (const KeyTy &key) |
static DynamicAttrStorage * | construct (AttributeStorageAllocator &alloc, const KeyTy &key) |
Public Attributes | |
DynamicAttrDefinition * | attrDef |
Definition of the type. More... | |
ArrayRef< Attribute > | params |
The type parameters. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from mlir::AttributeStorage | |
void | initializeAbstractAttribute (const AbstractAttribute &abstractAttr) |
Set the abstract attribute for this storage instance. More... | |
void | initialize (MLIRContext *context) |
Default initialization for attribute storage classes that require no additional initialization. More... | |
Protected Member Functions inherited from mlir::StorageUniquer::BaseStorage | |
BaseStorage ()=default | |
Storage of DynamicAttr.
Contains a pointer to the attribute definition and attribute parameters.
Definition at line 214 of file ExtensibleDialect.cpp.
using mlir::detail::DynamicAttrStorage::KeyTy = std::pair<DynamicAttrDefinition *, ArrayRef<Attribute> > |
Definition at line 215 of file ExtensibleDialect.cpp.
|
inlineexplicit |
Definition at line 217 of file ExtensibleDialect.cpp.
Referenced by construct().
|
inlinestatic |
Definition at line 229 of file ExtensibleDialect.cpp.
References mlir::StorageUniquer::StorageAllocator::allocate(), mlir::StorageUniquer::StorageAllocator::copyInto(), and DynamicAttrStorage().
|
inlinestatic |
Definition at line 225 of file ExtensibleDialect.cpp.
References mlir::polynomial::hash_value().
|
inline |
Definition at line 221 of file ExtensibleDialect.cpp.
DynamicAttrDefinition* mlir::detail::DynamicAttrStorage::attrDef |
Definition of the type.
Definition at line 236 of file ExtensibleDialect.cpp.
Referenced by operator==().
The type parameters.
Definition at line 239 of file ExtensibleDialect.cpp.
Referenced by operator==().