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

Public Types

using KeyTy = std::tuple< Attribute, ClientAPI, Vendor, DeviceType, uint32_t, Attribute >

Public Member Functions

 TargetEnvAttributeStorage (Attribute triple, ClientAPI clientAPI, Vendor vendorID, DeviceType deviceType, uint32_t deviceID, Attribute limits)
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 TargetEnvAttributeStorageconstruct (AttributeStorageAllocator &allocator, const KeyTy &key)

Public Attributes

Attribute triple
Attribute limits
ClientAPI clientAPI
Vendor vendorID
DeviceType deviceType
uint32_t deviceID

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

Member Typedef Documentation

◆ KeyTy

using mlir::spirv::detail::TargetEnvAttributeStorage::KeyTy = std::tuple<Attribute, ClientAPI, Vendor, DeviceType, uint32_t, Attribute>

Definition at line 85 of file SPIRVAttributes.cpp.

Constructor & Destructor Documentation

◆ TargetEnvAttributeStorage()

mlir::spirv::detail::TargetEnvAttributeStorage::TargetEnvAttributeStorage ( Attribute  triple,
ClientAPI  clientAPI,
Vendor  vendorID,
DeviceType  deviceType,
uint32_t  deviceID,
Attribute  limits 

Definition at line 88 of file SPIRVAttributes.cpp.

Member Function Documentation

◆ construct()

static TargetEnvAttributeStorage* mlir::spirv::detail::TargetEnvAttributeStorage::construct ( AttributeStorageAllocator allocator,
const KeyTy key 

◆ operator==()

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

Definition at line 94 of file SPIRVAttributes.cpp.

Member Data Documentation

◆ clientAPI

ClientAPI mlir::spirv::detail::TargetEnvAttributeStorage::clientAPI

Definition at line 109 of file SPIRVAttributes.cpp.

◆ deviceID

uint32_t mlir::spirv::detail::TargetEnvAttributeStorage::deviceID

Definition at line 112 of file SPIRVAttributes.cpp.

◆ deviceType

DeviceType mlir::spirv::detail::TargetEnvAttributeStorage::deviceType

Definition at line 111 of file SPIRVAttributes.cpp.

◆ limits

Attribute mlir::spirv::detail::TargetEnvAttributeStorage::limits

Definition at line 108 of file SPIRVAttributes.cpp.

◆ triple

Attribute mlir::spirv::detail::TargetEnvAttributeStorage::triple

Definition at line 107 of file SPIRVAttributes.cpp.

◆ vendorID

Vendor mlir::spirv::detail::TargetEnvAttributeStorage::vendorID

Definition at line 110 of file SPIRVAttributes.cpp.

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