| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | APFixedPoint.cpp | 140 APFloat::opStatus Status = F.convertFromAPInt(MaxInt, MaxInt.isSigned(), in fitsInFloatSemantics() 146 Status = F.convertFromAPInt(MinInt, MinInt.isSigned(), in fitsInFloatSemantics() 473 APFloat::opStatus S = Flt.convertFromAPInt(Val, Sema.isSigned(), RM); in convertToFloat()
|
| H A D | APFloat.cpp | 2086 fs = MagicConstant.convertFromAPInt(IntegerConstant, false, in roundToIntegral() 2478 IEEEFloat::opStatus IEEEFloat::convertFromAPInt(const APInt &Val, bool isSigned, in convertFromAPInt() function in llvm::detail::IEEEFloat 4700 APFloat::opStatus DoubleAPFloat::convertFromAPInt(const APInt &Input, in convertFromAPInt() function in llvm::detail::DoubleAPFloat 4705 auto Ret = Tmp.convertFromAPInt(Input, IsSigned, RM); in convertFromAPInt()
|
| /llvm-project-15.0.7/llvm/include/llvm/ADT/ |
| H A D | APFloat.h | 303 opStatus convertFromAPInt(const APInt &, bool, roundingMode); 670 opStatus convertFromAPInt(const APInt &Input, bool IsSigned, roundingMode RM); 1113 opStatus convertFromAPInt(const APInt &Input, bool IsSigned, in convertFromAPInt() function 1115 APFLOAT_DISPATCH_ON_SEMANTICS(convertFromAPInt(Input, IsSigned, RM)); in convertFromAPInt()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Arithmetic/IR/ |
| H A D | ArithmeticOps.cpp | 1069 apf.convertFromAPInt(a, /*IsSigned=*/false, in fold() 1095 apf.convertFromAPInt(a, /*IsSigned=*/true, in fold() 1562 signedMax.convertFromAPInt(APInt::getSignedMaxValue(intWidth), true, in matchAndRewrite() 1578 unsignedMax.convertFromAPInt(APInt::getMaxValue(intWidth), false, in matchAndRewrite() 1595 signedMin.convertFromAPInt(APInt::getSignedMinValue(intWidth), true, in matchAndRewrite() 1610 unsignedMin.convertFromAPInt(APInt::getMinValue(intWidth), false, in matchAndRewrite() 1640 apf.convertFromAPInt(rhsInt, !isUnsigned, APFloat::rmNearestTiesToEven); in matchAndRewrite()
|
| /llvm-project-15.0.7/llvm/lib/ExecutionEngine/ |
| H A D | ExecutionEngine.cpp | 688 (void)apf.convertFromAPInt(GV.IntVal, in getConstantValue() 703 (void)apf.convertFromAPInt(GV.IntVal, in getConstantValue()
|
| /llvm-project-15.0.7/lldb/source/Utility/ |
| H A D | Scalar.cpp | 200 m_float.convertFromAPInt(m_integer, m_integer.isSigned(), in FloatPromote()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/ |
| H A D | Utils.cpp | 768 DstVal.convertFromAPInt(*MaybeSrcVal, Opcode == TargetOpcode::G_SITOFP, in ConstantFoldIntToFloat()
|
| H A D | LegalizerHelper.cpp | 6080 TwoPExpFP.convertFromAPInt(TwoPExpInt, false, APFloat::rmNearestTiesToEven); in lowerFPTOUI()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCompares.cpp | 6493 SMax.convertFromAPInt(APInt::getSignedMaxValue(IntWidth), true, in foldFCmpIntToFPConst() 6505 UMax.convertFromAPInt(APInt::getMaxValue(IntWidth), false, in foldFCmpIntToFPConst() 6518 SMin.convertFromAPInt(APInt::getSignedMinValue(IntWidth), true, in foldFCmpIntToFPConst() 6529 UMin.convertFromAPInt(APInt::getMinValue(IntWidth), false, in foldFCmpIntToFPConst()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | ConstantFold.cpp | 475 apf.convertFromAPInt(api, opc==Instruction::SIToFP, in ConstantFoldCastInstruction()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGExprScalar.cpp | 921 if (MinSrc.convertFromAPInt(Min, !Unsigned, APFloat::rmTowardZero) & in EmitFloatConversionCheck() 933 if (MaxSrc.convertFromAPInt(Max, !Unsigned, APFloat::rmTowardZero) & in EmitFloatConversionCheck()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | TargetLowering.cpp | 7425 APF.convertFromAPInt(SignMask, false, APFloat::rmNearestTiesToEven)) { in expandFP_TO_UINT() 9565 MinFloat.convertFromAPInt(MinInt, IsSigned, APFloat::rmTowardZero); in expandFP_TO_INT_SAT() 9567 MaxFloat.convertFromAPInt(MaxInt, IsSigned, APFloat::rmTowardZero); in expandFP_TO_INT_SAT()
|
| H A D | SelectionDAG.cpp | 4998 (void)apf.convertFromAPInt(Val, in getNode()
|
| /llvm-project-15.0.7/llvm/lib/Target/RISCV/ |
| H A D | RISCVISelLowering.cpp | 1868 MaxVal.convertFromAPInt(APInt::getOneBitSet(Precision, Precision - 1), in lowerFTRUNC_FCEIL_FFLOOR() 1920 MaxVal.convertFromAPInt(APInt::getOneBitSet(Precision, Precision - 1), in lowerFROUND()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaOverload.cpp | 361 Result.convertFromAPInt(*IntConstantValue, IntConstantValue->isSigned(), in getNarrowingKind()
|
| H A D | SemaChecking.cpp | 13847 TargetFloatValue.convertFromAPInt( in CheckImplicitConversion()
|
| H A D | SemaExpr.cpp | 10275 Float.convertFromAPInt(Result, IntTy->hasSignedIntegerRepresentation(), in canConvertIntTyToFloatTy()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | ExprConstant.cpp | 2639 APFloat::opStatus St = Result.convertFromAPInt(Value, Value.isSigned(), in HandleIntToFloatCast()
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.cpp | 22793 APFloat::opStatus MinStatus = MinFloat.convertFromAPInt( in LowerFP_TO_INT_SAT() 22795 APFloat::opStatus MaxStatus = MaxFloat.convertFromAPInt( in LowerFP_TO_INT_SAT()
|