Home
last modified time | relevance | path

Searched refs:storageTypeMin (Results 1 – 8 of 8) sorted by relevance

/llvm-project-15.0.7/mlir/lib/Dialect/Quant/IR/
H A DTypeDetail.h27 storageTypeMin(storageTypeMin), storageTypeMax(storageTypeMax) {} in QuantizedTypeStorage()
39 int64_t storageTypeMin; member
50 storageTypeMin(storageTypeMin), storageTypeMax(storageTypeMax) {} in KeyTy()
54 int64_t storageTypeMin; member
63 lhs.storageTypeMin == rhs.storageTypeMin && in genericIsEqual()
100 scale(scale), zeroPoint(zeroPoint), storageTypeMin(storageTypeMin), in KeyTy()
113 int64_t storageTypeMin; member
123 lhs.storageTypeMin == rhs.storageTypeMin && in genericIsEqual()
169 storageTypeMin(storageTypeMin), storageTypeMax(storageTypeMax) {} in KeyTy()
182 int64_t storageTypeMin; member
[all …]
H A DQuantTypes.cpp54 if (storageTypeMax - storageTypeMin <= 0 || in verify()
55 storageTypeMin < defaultIntegerMin || in verify()
68 return static_cast<ImplType *>(impl)->storageTypeMin; in getStorageTypeMin()
218 int64_t storageTypeMin, in get() argument
221 storageTypeMin, storageTypeMax); in get()
264 int64_t storageTypeMin, int64_t storageTypeMax) { in getChecked() argument
267 storageTypeMin, storageTypeMax); in getChecked()
273 int64_t storageTypeMin, int64_t storageTypeMax) { in verify() argument
306 int32_t quantizedDimension, int64_t storageTypeMin, in get() argument
317 int64_t storageTypeMin, int64_t storageTypeMax) { in getChecked() argument
[all …]
H A DTypeParser.cpp66 int64_t &storageTypeMin, in parseStorageRange() argument
73 storageTypeMin = defaultIntegerMin; in parseStorageRange()
80 if (parser.parseInteger(storageTypeMin) || parser.parseColon() || in parseStorageRange()
84 if (storageTypeMin < defaultIntegerMin) { in parseStorageRange()
86 << storageTypeMin; in parseStorageRange()
125 int64_t storageTypeMin; in parseAnyType() local
143 if (parseStorageRange(parser, storageType, isSigned, storageTypeMin, in parseAnyType()
199 int64_t storageTypeMin; in parseUniformType() local
222 if (parseStorageRange(parser, storageType, isSigned, storageTypeMin, in parseUniformType()
284 quantizedDimension, storageTypeMin, storageTypeMax); in parseUniformType()
[all …]
/llvm-project-15.0.7/mlir/include/mlir/Dialect/Quant/
H A DQuantTypes.h62 Type expressedType, int64_t storageTypeMin,
207 Type expressedType, int64_t storageTypeMin,
214 Type storageType, Type expressedType, int64_t storageTypeMin,
220 Type expressedType, int64_t storageTypeMin,
267 int64_t zeroPoint, int64_t storageTypeMin,
275 int64_t zeroPoint, int64_t storageTypeMin, int64_t storageTypeMax);
281 int64_t zeroPoint, int64_t storageTypeMin,
326 int32_t quantizedDimension, int64_t storageTypeMin,
335 int64_t storageTypeMin, int64_t storageTypeMax);
343 int64_t storageTypeMin, int64_t storageTypeMax);
/llvm-project-15.0.7/mlir/lib/CAPI/Dialect/
H A DQuant.cpp119 MlirType expressedType, int64_t storageTypeMin, in mlirAnyQuantizedTypeGet() argument
123 storageTypeMin, storageTypeMax)); in mlirAnyQuantizedTypeGet()
136 int64_t zeroPoint, int64_t storageTypeMin, in mlirUniformQuantizedTypeGet() argument
140 storageTypeMin, storageTypeMax)); in mlirUniformQuantizedTypeGet()
166 int32_t quantizedDimension, int64_t storageTypeMin, in mlirUniformQuantizedPerAxisTypeGet() argument
171 quantizedDimension, storageTypeMin, storageTypeMax)); in mlirUniformQuantizedPerAxisTypeGet()
/llvm-project-15.0.7/mlir/lib/Bindings/Python/
H A DDialectQuant.cpp164 MlirType expressedType, int64_t storageTypeMin, in populateDialectQuantSubmodule()
167 storageTypeMin, storageTypeMax)); in populateDialectQuantSubmodule()
186 int64_t storageTypeMin, int64_t storageTypeMax) { in populateDialectQuantSubmodule() argument
189 storageTypeMin, storageTypeMax)); in populateDialectQuantSubmodule()
222 int64_t storageTypeMin, int64_t storageTypeMax) { in populateDialectQuantSubmodule() argument
229 zeroPoints.data(), quantizedDimension, storageTypeMin, in populateDialectQuantSubmodule()
/llvm-project-15.0.7/mlir/include/mlir-c/Dialect/
H A DQuant.h112 int64_t storageTypeMin,
127 int64_t zeroPoint, int64_t storageTypeMin, int64_t storageTypeMax);
152 int32_t quantizedDimension, int64_t storageTypeMin, int64_t storageTypeMax);
/llvm-project-15.0.7/mlir/test/Dialect/Quant/
H A Dparse-uniform.mlir5 // [signed] storageType, storageTypeMin, storageTypeMax, expressedType, scale, zeroPoint