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

Public Types

using KeyTy = std::tuple< Type, Dim, ImageDepthInfo, ImageArrayedInfo, ImageSamplingInfo, ImageSamplerUseInfo, ImageFormat >
 

Public Member Functions

bool operator== (const KeyTy &key) const
 
 ImageTypeStorage (const KeyTy &key)
 
- Public Member Functions inherited from mlir::TypeStorage
const AbstractTypegetAbstractType ()
 Return the abstract type descriptor for this type. More...
 

Static Public Member Functions

static ImageTypeStorageconstruct (TypeStorageAllocator &allocator, const KeyTy &key)
 

Public Attributes

Type elementType
 
Dim dim: getNumBits<Dim>()
 
ImageDepthInfo depthInfo: getNumBits<ImageDepthInfo>()
 
ImageArrayedInfo arrayedInfo: getNumBits<ImageArrayedInfo>()
 
ImageSamplingInfo samplingInfo: getNumBits<ImageSamplingInfo>()
 
ImageSamplerUseInfo samplerUseInfo: getNumBits<ImageSamplerUseInfo>()
 
ImageFormat format: getNumBits<ImageFormat>()
 

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
 

Detailed Description

Definition at line 377 of file SPIRVTypes.cpp.

Member Typedef Documentation

◆ KeyTy

using mlir::spirv::detail::ImageTypeStorage::KeyTy = std::tuple<Type, Dim, ImageDepthInfo, ImageArrayedInfo, ImageSamplingInfo, ImageSamplerUseInfo, ImageFormat>

Definition at line 380 of file SPIRVTypes.cpp.

Constructor & Destructor Documentation

◆ ImageTypeStorage()

mlir::spirv::detail::ImageTypeStorage::ImageTypeStorage ( const KeyTy key)
inline

Definition at line 392 of file SPIRVTypes.cpp.

Member Function Documentation

◆ construct()

static ImageTypeStorage* mlir::spirv::detail::ImageTypeStorage::construct ( TypeStorageAllocator allocator,
const KeyTy key 
)
inlinestatic

◆ operator==()

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

Definition at line 387 of file SPIRVTypes.cpp.

Member Data Documentation

◆ arrayedInfo

ImageArrayedInfo mlir::spirv::detail::ImageTypeStorage::arrayedInfo

Definition at line 401 of file SPIRVTypes.cpp.

◆ depthInfo

ImageDepthInfo mlir::spirv::detail::ImageTypeStorage::depthInfo

Definition at line 400 of file SPIRVTypes.cpp.

◆ dim

Dim mlir::spirv::detail::ImageTypeStorage::dim

Definition at line 399 of file SPIRVTypes.cpp.

◆ elementType

Type mlir::spirv::detail::ImageTypeStorage::elementType

Definition at line 398 of file SPIRVTypes.cpp.

◆ format

ImageFormat mlir::spirv::detail::ImageTypeStorage::format

Definition at line 404 of file SPIRVTypes.cpp.

◆ samplerUseInfo

ImageSamplerUseInfo mlir::spirv::detail::ImageTypeStorage::samplerUseInfo

Definition at line 403 of file SPIRVTypes.cpp.

◆ samplingInfo

ImageSamplingInfo mlir::spirv::detail::ImageTypeStorage::samplingInfo

Definition at line 402 of file SPIRVTypes.cpp.


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