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

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

Public Member Functions

 KeyTy (unsigned flags, Type storageType, Type expressedType, 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
 
Type storageType
 
Type expressedType
 
int64_t storageTypeMin
 
int64_t storageTypeMax
 

Detailed Description

Definition at line 46 of file TypeDetail.h.

Constructor & Destructor Documentation

◆ KeyTy()

mlir::quant::detail::AnyQuantizedTypeStorage::KeyTy::KeyTy ( unsigned  flags,
Type  storageType,
Type  expressedType,
int64_t  storageTypeMin,
int64_t  storageTypeMax 
)
inline

Definition at line 47 of file TypeDetail.h.

Member Function Documentation

◆ genericIsEqual()

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

◆ getHashValue()

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

◆ operator==()

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

Definition at line 67 of file TypeDetail.h.

References genericIsEqual().

Member Data Documentation

◆ expressedType

Type mlir::quant::detail::AnyQuantizedTypeStorage::KeyTy::expressedType

Definition at line 53 of file TypeDetail.h.

Referenced by getHashValue().

◆ flags

unsigned mlir::quant::detail::AnyQuantizedTypeStorage::KeyTy::flags

Definition at line 51 of file TypeDetail.h.

Referenced by getHashValue().

◆ storageType

Type mlir::quant::detail::AnyQuantizedTypeStorage::KeyTy::storageType

Definition at line 52 of file TypeDetail.h.

Referenced by getHashValue().

◆ storageTypeMax

int64_t mlir::quant::detail::AnyQuantizedTypeStorage::KeyTy::storageTypeMax

Definition at line 55 of file TypeDetail.h.

Referenced by getHashValue().

◆ storageTypeMin

int64_t mlir::quant::detail::AnyQuantizedTypeStorage::KeyTy::storageTypeMin

Definition at line 54 of file TypeDetail.h.

Referenced by getHashValue().


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