Home
last modified time | relevance | path

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

/external/llvm-project/mlir/test/lib/Dialect/Tosa/
DTosaTestPasses.cpp57 auto outputElementType = in matchAndRewrite() local
59 if (!outputElementType) in matchAndRewrite()
63 if (outputElementType.isSigned() || in matchAndRewrite()
64 outputElementType.getStorageTypeIntegralWidth() != 8) in matchAndRewrite()
67 double typeRangeMin = double(outputElementType.getStorageTypeMin() - in matchAndRewrite()
68 outputElementType.getZeroPoint()) * in matchAndRewrite()
69 outputElementType.getScale(); in matchAndRewrite()
70 double typeRangeMax = double(outputElementType.getStorageTypeMax() - in matchAndRewrite()
71 outputElementType.getZeroPoint()) * in matchAndRewrite()
72 outputElementType.getScale(); in matchAndRewrite()
[all …]