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

Public Types

using KeyTy = std::pair< Type, unsigned >
 

Public Member Functions

bool operator== (const KeyTy &key) const
 
 RuntimeArrayTypeStorage (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 RuntimeArrayTypeStorageconstruct (TypeStorageAllocator &allocator, const KeyTy &key)
 

Public Attributes

Type elementType
 
unsigned stride
 

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 443 of file SPIRVTypes.cpp.

Member Typedef Documentation

◆ KeyTy

Definition at line 444 of file SPIRVTypes.cpp.

Constructor & Destructor Documentation

◆ RuntimeArrayTypeStorage()

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

Definition at line 456 of file SPIRVTypes.cpp.

Member Function Documentation

◆ construct()

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

◆ operator==()

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

Definition at line 452 of file SPIRVTypes.cpp.

Member Data Documentation

◆ elementType

Type mlir::spirv::detail::RuntimeArrayTypeStorage::elementType

Definition at line 459 of file SPIRVTypes.cpp.

◆ stride

unsigned mlir::spirv::detail::RuntimeArrayTypeStorage::stride

Definition at line 460 of file SPIRVTypes.cpp.


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