| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | APFixedPoint.cpp | 515 APFloat::roundingMode LosslessRM = APFloat::rmTowardZero; in convertToFloat() 562 APFloat::roundingMode RM = APFloat::rmTowardZero; in getFromFloatValue() 563 APFloat::roundingMode LosslessRM = APFloat::rmTowardZero; in getFromFloatValue()
|
| H A D | APFloat.cpp | 303 constexpr RoundingMode APFloatBase::rmTowardZero; member in llvm::APFloatBase 1174 truncated.roundToIntegral(rmTowardZero); in isInteger() 1371 status = extendedAddend.convert(extendedSemantics, APFloat::rmTowardZero, in multiplySignificand() 1648 case rmTowardZero: in roundAwayFromZero()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMMCInstLower.cpp | 125 Val.convert(APFloat::IEEEdouble(), APFloat::rmTowardZero, &ignored); in lowerOperand()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | NVVMIntrinsicUtils.h | 250 return APFloat::rmTowardZero; in GetFPToIntegerRoundingMode()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/ |
| H A D | Floating.h | 72 return getValue().convertToInteger(Result, llvm::APFloat::rmTowardZero, in convertToInteger()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | APFloat.h | 308 static constexpr roundingMode rmTowardZero = RoundingMode::TowardZero; member 388 static constexpr roundingMode rmTowardZero = APFloatBase::rmTowardZero; variable
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ConstantFolding.cpp | 2089 APFloat::roundingMode mode = roundTowardZero? APFloat::rmTowardZero in ConstantFoldSSEConvertToInt() 2292 U.convertToInteger(Int, APFloat::rmTowardZero, &IsExact); in ConstantFoldScalarCall1() 2306 U.convertToInteger(Int, APFloat::rmTowardZero, &IsExact); in ConstantFoldScalarCall1() 2359 U.roundToIntegral(APFloat::rmTowardZero); in ConstantFoldScalarCall1() 2406 RM = APFloat::rmTowardZero; in ConstantFoldScalarCall1() 2751 U.roundToIntegral(APFloat::rmTowardZero); in ConstantFoldScalarCall1()
|
| /freebsd/contrib/llvm-project/lldb/source/Utility/ |
| H A D | Scalar.cpp | 282 f.convertToInteger(result, llvm::APFloat::rmTowardZero, &isExact); in ToAPInt()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUInstCombineIntrinsic.cpp | 79 FloatValue.convert(APFloat::IEEEhalf(), APFloat::rmTowardZero, in canSafelyConvertTo16Bit() 846 Val.convert(APFloat::IEEEhalf(), APFloat::rmTowardZero, &LosesInfo); in instCombineIntrinsic()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.h | 1011 rmTowardZero = 3 << 10, // FE_TOWARDZERO enumerator
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGExprScalar.cpp | 1020 if (MinSrc.convertFromAPInt(Min, !Unsigned, APFloat::rmTowardZero) & in EmitFloatConversionCheck() 1032 if (MaxSrc.convertFromAPInt(Max, !Unsigned, APFloat::rmTowardZero) & in EmitFloatConversionCheck() 1048 MinSrc.convert(Sema, APFloat::rmTowardZero, &IsInexact); in EmitFloatConversionCheck() 1049 MaxSrc.convert(Sema, APFloat::rmTowardZero, &IsInexact); in EmitFloatConversionCheck() 3302 F.convert(*FS, llvm::APFloat::rmTowardZero, &ignored); in EmitScalarPrePostIncDec()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | ConstantFold.cpp | 214 V.convertToInteger(IntVal, APFloat::rmTowardZero, &ignored)) { in ConstantFoldCastInstruction()
|
| /freebsd/contrib/llvm-project/lldb/source/ValueObject/ |
| H A D | ValueObject.cpp | 3208 integer, llvm::APFloat::rmTowardZero, &is_exact); in CastToBasicType() 3311 integer, llvm::APFloat::rmTowardZero, &is_exact); in CastToEnumType()
|
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/ |
| H A D | ExecutionEngine.cpp | 735 APFloat::rmTowardZero, &ignored); in getConstantValue()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | SimplifyLibCalls.cpp | 2158 BaseR.convert(BaseF->getSemantics(), APFloat::rmTowardZero, &Ignored); in replacePowWithExp() 2164 NF->convertToInteger(NI, APFloat::rmTowardZero, &Ignored) == in replacePowWithExp() 2382 ExpoF->convertToInteger(IntExpo, APFloat::rmTowardZero, &Ignored) == in optimizePow()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | IndVarSimplify.cpp | 190 APFloat::rmTowardZero, &isExact) != APFloat::opOK || in ConvertToSInt()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | NumericalStabilitySanitizer.cpp | 458 CV.convert(To, APFloatBase::rmTowardZero, &LosesInfo); in extendConstantFP()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | FastISel.cpp | 306 (void)Flt.convertToInteger(SIntVal, APFloat::rmTowardZero, &isExact); in materializeConstant()
|
| H A D | SelectionDAG.cpp | 6908 APFloat::opStatus fs = V.roundToIntegral(APFloat::rmTowardZero); in FoldConstantArithmetic() 6933 V.convertToInteger(IntVal, APFloat::rmTowardZero, &ignored); in FoldConstantArithmetic() 13500 if (APF.convertToInteger(IntVal, APFloat::rmTowardZero, &IsExact) != in getConstantFPSplatPow2ToLog2Int()
|
| H A D | TargetLowering.cpp | 11674 MinFloat.convertFromAPInt(MinInt, IsSigned, APFloat::rmTowardZero); in expandFP_TO_INT_SAT() 11676 MaxFloat.convertFromAPInt(MaxInt, IsSigned, APFloat::rmTowardZero); in expandFP_TO_INT_SAT()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/AsmParser/ |
| H A D | RISCVAsmParser.cpp | 2050 RealVal.convertFromString(Tok.getString(), APFloat::rmTowardZero); in parseFPImm()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/AsmParser/ |
| H A D | AArch64AsmParser.cpp | 1537 RealVal.convertFromString(Desc->Repr, APFloat::rmTowardZero); in isExactFPImm() 3401 RealVal.convertFromString(Tok.getString(), APFloat::rmTowardZero); in tryParseFPImm()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | LegalizerHelper.cpp | 7917 MinFloat.convertFromAPInt(MinInt, IsSigned, APFloat::rmTowardZero); in lowerFPTOINT_SAT() 7919 MaxFloat.convertFromAPInt(MaxInt, IsSigned, APFloat::rmTowardZero); in lowerFPTOINT_SAT()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCInstrInfo.td | 446 FloatValue.convertToInteger(IntResult, APFloat::rmTowardZero, &IsExact); 454 FloatValue.convertToInteger(IntResult, APFloat::rmTowardZero, &IsExact);
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | ExprConstant.cpp | 2791 if (Value.convertToInteger(Result, llvm::APFloat::rmTowardZero, &ignored) in HandleFloatToIntCast() 17618 llvm::APFloat::rmTowardZero, in CheckICE()
|