Searched refs:expressedValue (Results 1 – 2 of 2) sorted by relevance
91 virtual APInt quantizeFloatToInt(APFloat expressedValue) const { in quantizeFloatToInt() argument96 if (&expressedValue.getSemantics() == &APFloat::IEEEsingle() && in quantizeFloatToInt()99 return quantizeF32ToInt8(expressedValue); in quantizeFloatToInt()103 expressedValue.convert(scale.getSemantics(), roundMode, &lossy); in quantizeFloatToInt()106 APFloat scaled = (expressedValue / scale); in quantizeFloatToInt()118 int64_t quantizeFloatToInt64(APFloat expressedValue) const { in quantizeFloatToInt64() argument119 APInt qValue = quantizeFloatToInt(expressedValue); in quantizeFloatToInt64()128 virtual APInt quantizeF32ToInt8(APFloat expressedValue) const { in quantizeF32ToInt8() argument129 assert(&expressedValue.getSemantics() == &APFloat::IEEEsingle()); in quantizeF32ToInt8()133 const float realValue = expressedValue.convertToFloat(); in quantizeF32ToInt8()
28 APInt quantizeFloatToInt(APFloat expressedValue) const { in quantizeFloatToInt()