MLIR  19.0.0git
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
mlir::quant::detail::UniformQuantizedTypeStorage::KeyTy Struct Reference

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

Public Member Functions

 KeyTy (unsigned flags, Type storageType, Type expressedType, double scale, int64_t zeroPoint, int64_t storageTypeMin, int64_t storageTypeMax)
 
bool operator== (const KeyTy &other) const
 
unsigned getHashValue () const
 

Static Public Member Functions

template<typename T , typename U >
static bool genericIsEqual (const T &lhs, const U &rhs)
 

Public Attributes

unsigned flags
 Flags corresponding to the bitmapped enum QuantizationFlags::FlagValue. More...
 
Type storageType
 
Type expressedType
 
double scale
 
int64_t zeroPoint
 
int64_t storageTypeMin
 
int64_t storageTypeMax
 

Detailed Description

Definition at line 96 of file TypeDetail.h.

Constructor & Destructor Documentation

◆ KeyTy()

mlir::quant::detail::UniformQuantizedTypeStorage::KeyTy::KeyTy ( unsigned  flags,
Type  storageType,
Type  expressedType,
double  scale,
int64_t  zeroPoint,
int64_t  storageTypeMin,
int64_t  storageTypeMax 
)
inline

Definition at line 97 of file TypeDetail.h.

Member Function Documentation

◆ genericIsEqual()

template<typename T , typename U >
static bool mlir::quant::detail::UniformQuantizedTypeStorage::KeyTy::genericIsEqual ( const T &  lhs,
const U &  rhs 
)
inlinestatic

◆ getHashValue()

unsigned mlir::quant::detail::UniformQuantizedTypeStorage::KeyTy::getHashValue ( ) const
inline

◆ operator==()

bool mlir::quant::detail::UniformQuantizedTypeStorage::KeyTy::operator== ( const KeyTy other) const
inline

Definition at line 127 of file TypeDetail.h.

References genericIsEqual().

Member Data Documentation

◆ expressedType

Type mlir::quant::detail::UniformQuantizedTypeStorage::KeyTy::expressedType

Definition at line 109 of file TypeDetail.h.

Referenced by getHashValue().

◆ flags

unsigned mlir::quant::detail::UniformQuantizedTypeStorage::KeyTy::flags

Flags corresponding to the bitmapped enum QuantizationFlags::FlagValue.

Definition at line 103 of file TypeDetail.h.

Referenced by getHashValue().

◆ scale

double mlir::quant::detail::UniformQuantizedTypeStorage::KeyTy::scale

Definition at line 111 of file TypeDetail.h.

Referenced by getHashValue().

◆ storageType

Type mlir::quant::detail::UniformQuantizedTypeStorage::KeyTy::storageType

Definition at line 106 of file TypeDetail.h.

Referenced by getHashValue().

◆ storageTypeMax

int64_t mlir::quant::detail::UniformQuantizedTypeStorage::KeyTy::storageTypeMax

Definition at line 114 of file TypeDetail.h.

Referenced by getHashValue().

◆ storageTypeMin

int64_t mlir::quant::detail::UniformQuantizedTypeStorage::KeyTy::storageTypeMin

Definition at line 113 of file TypeDetail.h.

Referenced by getHashValue().

◆ zeroPoint

int64_t mlir::quant::detail::UniformQuantizedTypeStorage::KeyTy::zeroPoint

Definition at line 112 of file TypeDetail.h.

Referenced by getHashValue().


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