MLIR 23.0.0git
mlir::spirv::detail::MatrixTypeStorage Struct Reference
Inheritance diagram for mlir::spirv::detail::MatrixTypeStorage:

Public Types

using KeyTy = std::tuple<Type, int64_t>

Public Member Functions

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

Static Public Member Functions

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

Public Attributes

Type columnType
std::array< int64_t, 2 > shape

Additional Inherited Members

Protected Member Functions inherited from mlir::TypeStorage
 TypeStorage ()
 This constructor is used by derived classes as part of the TypeUniquer.
Protected Member Functions inherited from mlir::StorageUniquer::BaseStorage
 BaseStorage ()=default

Detailed Description

Definition at line 1164 of file SPIRVTypes.cpp.

Member Typedef Documentation

◆ KeyTy

Definition at line 1168 of file SPIRVTypes.cpp.

Constructor & Destructor Documentation

◆ MatrixTypeStorage()

mlir::spirv::detail::MatrixTypeStorage::MatrixTypeStorage ( const KeyTy & key)
inline

Definition at line 1170 of file SPIRVTypes.cpp.

References columnType, mlir::get(), and shape.

Referenced by construct().

Member Function Documentation

◆ construct()

MatrixTypeStorage * mlir::spirv::detail::MatrixTypeStorage::construct ( TypeStorageAllocator & allocator,
const KeyTy & key )
inlinestatic

◆ operator==()

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

Definition at line 1182 of file SPIRVTypes.cpp.

References columnType, and shape.

Member Data Documentation

◆ columnType

Type mlir::spirv::detail::MatrixTypeStorage::columnType

Definition at line 1186 of file SPIRVTypes.cpp.

Referenced by MatrixTypeStorage(), and operator==().

◆ shape

std::array<int64_t, 2> mlir::spirv::detail::MatrixTypeStorage::shape

Definition at line 1188 of file SPIRVTypes.cpp.

Referenced by MatrixTypeStorage(), and operator==().


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