MLIR 23.0.0git
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.

Static Public Member Functions

static AnyQuantizedTypeStorageconstruct (TypeStorageAllocator &allocator, const KeyTy &key)
 Construction.
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.
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.
Protected Member Functions inherited from mlir::StorageUniquer::BaseStorage
 BaseStorage ()=default

Detailed Description

Definition at line 46 of file TypeDetail.h.

Constructor & Destructor Documentation

◆ AnyQuantizedTypeStorage()

Member Function Documentation

◆ construct()

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

Construction.

Definition at line 87 of file TypeDetail.h.

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

◆ hashKey()

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: