MLIR  21.0.0git
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
mlir::detail::DataLayoutEntryAttrStorage Class Reference
+ Inheritance diagram for mlir::detail::DataLayoutEntryAttrStorage:

Public Types

using KeyTy = std::pair< DataLayoutEntryKey, Attribute >
 

Public Member Functions

 DataLayoutEntryAttrStorage (DataLayoutEntryKey entryKey, Attribute value)
 
bool operator== (const KeyTy &other) const
 
- Public Member Functions inherited from mlir::AttributeStorage
const AbstractAttributegetAbstractAttribute () const
 Return the abstract descriptor for this attribute. More...
 

Static Public Member Functions

static DataLayoutEntryAttrStorageconstruct (AttributeStorageAllocator &allocator, const KeyTy &key)
 

Public Attributes

DataLayoutEntryKey entryKey
 
Attribute value
 

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
 

Detailed Description

Definition at line 165 of file DLTI.cpp.

Member Typedef Documentation

◆ KeyTy

Definition at line 167 of file DLTI.cpp.

Constructor & Destructor Documentation

◆ DataLayoutEntryAttrStorage()

mlir::detail::DataLayoutEntryAttrStorage::DataLayoutEntryAttrStorage ( DataLayoutEntryKey  entryKey,
Attribute  value 
)
inline

Definition at line 169 of file DLTI.cpp.

Referenced by construct().

Member Function Documentation

◆ construct()

static DataLayoutEntryAttrStorage* mlir::detail::DataLayoutEntryAttrStorage::construct ( AttributeStorageAllocator allocator,
const KeyTy key 
)
inlinestatic

◆ operator==()

bool mlir::detail::DataLayoutEntryAttrStorage::operator== ( const KeyTy other) const
inline

Definition at line 178 of file DLTI.cpp.

References entryKey, and value.

Member Data Documentation

◆ entryKey

DataLayoutEntryKey mlir::detail::DataLayoutEntryAttrStorage::entryKey

Definition at line 182 of file DLTI.cpp.

Referenced by operator==().

◆ value

Attribute mlir::detail::DataLayoutEntryAttrStorage::value

Definition at line 183 of file DLTI.cpp.

Referenced by operator==().


The documentation for this class was generated from the following file: