MLIR
20.0.0git
|
Storage of DynamicType. More...
Public Types | |
using | KeyTy = std::pair< DynamicTypeDefinition *, ArrayRef< Attribute > > |
Public Member Functions | |
DynamicTypeStorage (DynamicTypeDefinition *typeDef, ArrayRef< Attribute > params) | |
bool | operator== (const KeyTy &key) const |
Public Member Functions inherited from mlir::TypeStorage | |
const AbstractType & | getAbstractType () |
Return the abstract type descriptor for this type. More... | |
Static Public Member Functions | |
static llvm::hash_code | hashKey (const KeyTy &key) |
static DynamicTypeStorage * | construct (TypeStorageAllocator &alloc, const KeyTy &key) |
Public Attributes | |
DynamicTypeDefinition * | typeDef |
Definition of the type. More... | |
ArrayRef< Attribute > | params |
The type parameters. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from mlir::TypeStorage | |
TypeStorage () | |
This constructor is used by derived classes as part of the TypeUniquer. More... | |
Protected Member Functions inherited from mlir::StorageUniquer::BaseStorage | |
BaseStorage ()=default | |
Storage of DynamicType.
Contains a pointer to the type definition and type parameters.
Definition at line 96 of file ExtensibleDialect.cpp.
using mlir::detail::DynamicTypeStorage::KeyTy = std::pair<DynamicTypeDefinition *, ArrayRef<Attribute> > |
Definition at line 98 of file ExtensibleDialect.cpp.
|
inlineexplicit |
Definition at line 100 of file ExtensibleDialect.cpp.
Referenced by construct().
|
inlinestatic |
Definition at line 112 of file ExtensibleDialect.cpp.
References mlir::StorageUniquer::StorageAllocator::allocate(), mlir::StorageUniquer::StorageAllocator::copyInto(), and DynamicTypeStorage().
|
inlinestatic |
Definition at line 108 of file ExtensibleDialect.cpp.
References mlir::polynomial::hash_value().
|
inline |
Definition at line 104 of file ExtensibleDialect.cpp.
The type parameters.
Definition at line 122 of file ExtensibleDialect.cpp.
Referenced by operator==().
DynamicTypeDefinition* mlir::detail::DynamicTypeStorage::typeDef |
Definition of the type.
Definition at line 119 of file ExtensibleDialect.cpp.
Referenced by operator==().