| /freebsd/contrib/llvm-project/clang/lib/AST/Interp/ |
| H A D | Floating.h | 50 APFloat::opStatus convertToInteger(APSInt &Result) const { in convertToInteger() function 52 return F.convertToInteger(Result, llvm::APFloat::rmTowardZero, &IsExact); in convertToInteger()
|
| H A D | Interp.h | 2070 auto Status = F.convertToInteger(Result); in CastFloatingIntegral() 2095 auto Status = F.convertToInteger(Result); in CastFloatingIntegralAP() 2115 auto Status = F.convertToInteger(Result); in CastFloatingIntegralAPS()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | APFloat.h | 367 opStatus convertToInteger(MutableArrayRef<integerPart>, unsigned int, bool, 769 opStatus convertToInteger(MutableArrayRef<integerPart> Input, 1235 opStatus convertToInteger(MutableArrayRef<integerPart> Input, in convertToInteger() function 1239 convertToInteger(Input, Width, IsSigned, RM, IsExact)); in convertToInteger() 1241 opStatus convertToInteger(APSInt &Result, roundingMode RM,
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | Float2Int.cpp | 244 CF->getValueAPF().convertToInteger(Int, in calcRange() 420 CF->getValueAPF().convertToInteger(Val, in convert()
|
| H A D | IndVarSimplify.cpp | 191 if (APF.convertToInteger(MutableArrayRef(UIntVal), 64, true, in ConvertToSInt()
|
| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | APFixedPoint.cpp | 580 Val.convertToInteger(Res, RM, &Ignored); in getFromFloatValue()
|
| H A D | APFloat.cpp | 2730 IEEEFloat::convertToInteger(MutableArrayRef<integerPart> parts, in convertToInteger() function in llvm::detail::IEEEFloat 5134 DoubleAPFloat::convertToInteger(MutableArrayRef<integerPart> Input, in convertToInteger() function in llvm::detail::DoubleAPFloat 5139 .convertToInteger(Input, Width, IsSigned, RM, IsExact); in convertToInteger() 5364 APFloat::opStatus APFloat::convertToInteger(APSInt &result, in convertToInteger() function in llvm::APFloat 5369 opStatus status = convertToInteger(parts, bitWidth, result.isSigned(), in convertToInteger()
|
| /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/Analysis/ |
| H A D | ConstantFolding.cpp | 1892 Val.convertToInteger(MutableArrayRef(UIntVal), ResultWidth, in ConstantFoldSSEConvertToInt() 2098 U.convertToInteger(Int, APFloat::rmTowardZero, &IsExact); in ConstantFoldScalarCall1() 2112 U.convertToInteger(Int, APFloat::rmTowardZero, &IsExact); in ConstantFoldScalarCall1()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | ConstantFold.cpp | 213 V.convertToInteger(IntVal, APFloat::rmTowardZero, &ignored)) { in ConstantFoldCastInstruction()
|
| /freebsd/contrib/llvm-project/lldb/source/Core/ |
| H A D | ValueObject.cpp | 3244 float_value_or_err->convertToInteger( in CastToBasicType() 3341 llvm::APFloatBase::opStatus status = value_or_err->convertToInteger( in CastToEnumType()
|
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/ |
| H A D | ExecutionEngine.cpp | 734 (void)apf.convertToInteger(MutableArrayRef(v), BitWidth, in getConstantValue()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | SimplifyLibCalls.cpp | 2153 NF->convertToInteger(NI, APFloat::rmTowardZero, &Ignored) == in replacePowWithExp() 2371 ExpoF->convertToInteger(IntExpo, APFloat::rmTowardZero, &Ignored) == in optimizePow()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | FastISel.cpp | 305 (void)Flt.convertToInteger(SIntVal, APFloat::rmTowardZero, &isExact); in materializeConstant()
|
| H A D | SelectionDAG.cpp | 6520 V.convertToInteger(IntVal, APFloat::rmTowardZero, &ignored); in FoldConstantArithmetic() 12925 if (APF.convertToInteger(IntVal, APFloat::rmTowardZero, &IsExact) != in getConstantFPSplatPow2ToLog2Int()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCompares.cpp | 7623 RHS->convertToInteger(RHSCvt, APFloat::rmNearestTiesToEven, &IsExact); in foldFCmpIntToFPConst() 7766 RHS->convertToInteger(RHSInt, APFloat::rmTowardZero, &IsExact); in foldFCmpIntToFPConst()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCInstrInfo.td | 422 FloatValue.convertToInteger(IntResult, APFloat::rmTowardZero, &IsExact); 430 FloatValue.convertToInteger(IntResult, APFloat::rmTowardZero, &IsExact);
|
| H A D | PPCISelLowering.cpp | 17750 Imm.convertToInteger(IntResult, APFloat::rmTowardZero, &IsExact); in isFPImmLegal()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMISelDAGToDAG.cpp | 3236 ToConvert.convertToInteger(Converted, llvm::RoundingMode::NearestTiesToEven, in transformFixedFloatingPointConversion()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | ExprConstant.cpp | 2649 if (Value.convertToInteger(Result, llvm::APFloat::rmTowardZero, &ignored) in HandleFloatToIntCast() 16695 if (FL->getValue().convertToInteger(IgnoredVal, in CheckICE()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64ISelDAGToDAG.cpp | 3888 FVal.convertToInteger(IntVal, APFloat::rmTowardZero, &IsExact); in checkCVTFixedPointOperandWithFBits()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaOverload.cpp | 418 Result.convertToInteger(ConvertedValue, in getNarrowingKind()
|
| H A D | SemaChecking.cpp | 10442 llvm::APFloat::opStatus Result = Value.convertToInteger( in DiagnoseFloatingImpCast()
|
| H A D | SemaExpr.cpp | 9949 Float.convertToInteger(ConvertBack, llvm::APFloat::rmNearestTiesToEven, in canConvertIntTyToFloatTy()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVISelLowering.cpp | 3353 if ((APF.convertToInteger(ValInt, ArbitraryRM, &IsExact) == in getExactInteger()
|