MLIR  16.0.0git
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
mlir::spirv::detail::VerCapExtAttributeStorage Struct Reference
+ Inheritance diagram for mlir::spirv::detail::VerCapExtAttributeStorage:
+ Collaboration diagram for mlir::spirv::detail::VerCapExtAttributeStorage:

Public Types

using KeyTy = std::tuple< Attribute, Attribute, Attribute >
 

Public Member Functions

 VerCapExtAttributeStorage (Attribute version, Attribute capabilities, Attribute extensions)
 
bool operator== (const KeyTy &key) const
 
- Public Member Functions inherited from mlir::AttributeStorage
const AbstractAttributegetAbstractAttribute () const
 Return the abstract descriptor for this attribute. More...
 

Static Public Member Functions

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

Public Attributes

Attribute version
 
Attribute capabilities
 
Attribute extensions
 

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 60 of file SPIRVAttributes.cpp.

Member Typedef Documentation

◆ KeyTy

Definition at line 61 of file SPIRVAttributes.cpp.

Constructor & Destructor Documentation

◆ VerCapExtAttributeStorage()

mlir::spirv::detail::VerCapExtAttributeStorage::VerCapExtAttributeStorage ( Attribute  version,
Attribute  capabilities,
Attribute  extensions 
)
inline

Definition at line 63 of file SPIRVAttributes.cpp.

Member Function Documentation

◆ construct()

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

◆ operator==()

bool mlir::spirv::detail::VerCapExtAttributeStorage::operator== ( const KeyTy key) const
inline

Definition at line 67 of file SPIRVAttributes.cpp.

Member Data Documentation

◆ capabilities

Attribute mlir::spirv::detail::VerCapExtAttributeStorage::capabilities

Definition at line 80 of file SPIRVAttributes.cpp.

◆ extensions

Attribute mlir::spirv::detail::VerCapExtAttributeStorage::extensions

Definition at line 81 of file SPIRVAttributes.cpp.

◆ version

Attribute mlir::spirv::detail::VerCapExtAttributeStorage::version

Definition at line 79 of file SPIRVAttributes.cpp.


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