MLIR  16.0.0git
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
mlir::impl::DataLayoutEntryStorage Class Reference
+ Inheritance diagram for mlir::impl::DataLayoutEntryStorage:
+ Collaboration diagram for mlir::impl::DataLayoutEntryStorage:

Public Types

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

Public Member Functions

 DataLayoutEntryStorage (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 DataLayoutEntryStorageconstruct (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 29 of file DLTI.cpp.

Member Typedef Documentation

◆ KeyTy

Definition at line 31 of file DLTI.cpp.

Constructor & Destructor Documentation

◆ DataLayoutEntryStorage()

mlir::impl::DataLayoutEntryStorage::DataLayoutEntryStorage ( DataLayoutEntryKey  entryKey,
Attribute  value 
)
inline

Definition at line 33 of file DLTI.cpp.

Referenced by construct().

Member Function Documentation

◆ construct()

static DataLayoutEntryStorage* mlir::impl::DataLayoutEntryStorage::construct ( AttributeStorageAllocator allocator,
const KeyTy key 
)
inlinestatic

◆ operator==()

bool mlir::impl::DataLayoutEntryStorage::operator== ( const KeyTy other) const
inline

Definition at line 42 of file DLTI.cpp.

References entryKey, and value.

Member Data Documentation

◆ entryKey

DataLayoutEntryKey mlir::impl::DataLayoutEntryStorage::entryKey

Definition at line 46 of file DLTI.cpp.

Referenced by operator==().

◆ value

Attribute mlir::impl::DataLayoutEntryStorage::value

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