MLIR  19.0.0git
Classes | Public Member Functions | Static Public Member Functions | List of all members
mlir::quant::detail::AnyQuantizedTypeStorage Struct Reference

#include "Dialect/Quant/IR/TypeDetail.h"

+ Inheritance diagram for mlir::quant::detail::AnyQuantizedTypeStorage:

Classes

struct  KeyTy
 

Public Member Functions

 AnyQuantizedTypeStorage (const KeyTy &key)
 
bool operator== (const KeyTy &key) const
 
- Public Member Functions inherited from mlir::quant::detail::QuantizedTypeStorage
 QuantizedTypeStorage (unsigned flags, Type storageType, Type expressedType, int64_t storageTypeMin, int64_t storageTypeMax)
 
- Public Member Functions inherited from mlir::TypeStorage
const AbstractTypegetAbstractType ()
 Return the abstract type descriptor for this type. More...
 

Static Public Member Functions

static AnyQuantizedTypeStorageconstruct (TypeStorageAllocator &allocator, const KeyTy &key)
 Construction. More...
 
static unsigned hashKey (const KeyTy &key)
 

Additional Inherited Members

- Public Attributes inherited from mlir::quant::detail::QuantizedTypeStorage
unsigned flags
 Flags corresponding to the bitmapped enum QuantizationFlags::FlagValue. More...
 
Type storageType
 
Type expressedType
 
int64_t storageTypeMin
 
int64_t storageTypeMax
 
- 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 45 of file TypeDetail.h.

Constructor & Destructor Documentation

◆ AnyQuantizedTypeStorage()

mlir::quant::detail::AnyQuantizedTypeStorage::AnyQuantizedTypeStorage ( const KeyTy key)
inline

Definition at line 77 of file TypeDetail.h.

Referenced by construct().

Member Function Documentation

◆ construct()

static AnyQuantizedTypeStorage* mlir::quant::detail::AnyQuantizedTypeStorage::construct ( TypeStorageAllocator allocator,
const KeyTy key 
)
inlinestatic

Construction.

Definition at line 86 of file TypeDetail.h.

References mlir::StorageUniquer::StorageAllocator::allocate(), and AnyQuantizedTypeStorage().

◆ hashKey()

static unsigned mlir::quant::detail::AnyQuantizedTypeStorage::hashKey ( const KeyTy key)
inlinestatic

◆ operator==()

bool mlir::quant::detail::AnyQuantizedTypeStorage::operator== ( const KeyTy key) const
inline

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