Searched refs:roundMode (Results 1 – 3 of 3) sorted by relevance
79 roundMode(APFloat::rmNearestTiesToAway) {} in UniformQuantizedValueConverter()89 roundMode(APFloat::rmNearestTiesToAway) {} in UniformQuantizedValueConverter()98 roundMode == llvm::APFloatBase::rmNearestTiesToAway) { in quantizeFloatToInt()103 expressedValue.convert(scale.getSemantics(), roundMode, &lossy); in quantizeFloatToInt()107 scaled.roundToIntegral(roundMode); in quantizeFloatToInt()108 scaled.add(zeroPoint, roundMode); in quantizeFloatToInt()113 fixedpoint.convertToInteger(result, roundMode, &lossy); in quantizeFloatToInt()131 assert(roundMode == llvm::APFloatBase::rmNearestTiesToAway); in quantizeF32ToInt8()166 const llvm::APFloat::roundingMode roundMode; variable
2365 auto roundMode = APFloat::rmNearestTiesToEven; in parseImm() local2366 if (errorToBool(RealVal.convertFromString(Num, roundMode).takeError())) { in parseImm()
2592 auto roundMode = APFloat::rmNearestTiesToEven; in parseImm() local2593 if (errorToBool(RealVal.convertFromString(Num, roundMode).takeError())) { in parseImm()