Home
last modified time | relevance | path

Searched refs:convertFromAPInt (Results 1 – 20 of 20) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DAPFixedPoint.cpp150 APFloat::opStatus Status = F.convertFromAPInt(MaxInt, MaxInt.isSigned(), in fitsInFloatSemantics()
156 Status = F.convertFromAPInt(MinInt, MinInt.isSigned(), in fitsInFloatSemantics()
510 APFloat::opStatus S = Flt.convertFromAPInt(Val, Sema.isSigned(), RM); in convertToFloat()
H A DAPFloat.cpp2369 fs = MagicConstant.convertFromAPInt(IntegerConstant, false, in roundToIntegral()
2790 IEEEFloat::opStatus IEEEFloat::convertFromAPInt(const APInt &Val, bool isSigned, in convertFromAPInt() function in llvm::detail::IEEEFloat
5142 APFloat::opStatus DoubleAPFloat::convertFromAPInt(const APInt &Input, in convertFromAPInt() function in llvm::detail::DoubleAPFloat
5147 auto Ret = Tmp.convertFromAPInt(Input, IsSigned, RM); in convertFromAPInt()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPFloat.h369 opStatus convertFromAPInt(const APInt &, bool, roundingMode);
772 opStatus convertFromAPInt(const APInt &Input, bool IsSigned, roundingMode RM);
1243 opStatus convertFromAPInt(const APInt &Input, bool IsSigned, in convertFromAPInt() function
1245 APFLOAT_DISPATCH_ON_SEMANTICS(convertFromAPInt(Input, IsSigned, RM)); in convertFromAPInt()
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DFloating.h124 APFloat::opStatus Status = F.convertFromAPInt(Val, Val.isSigned(), RM); in fromIntegral()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp700 (void)apf.convertFromAPInt(GV.IntVal, in getConstantValue()
715 (void)apf.convertFromAPInt(GV.IntVal, in getConstantValue()
/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DScalar.cpp201 m_float.convertFromAPInt(m_integer, m_integer.isSigned(), in FloatPromote()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstantFold.cpp227 apf.convertFromAPInt(api, opc==Instruction::SIToFP, in ConstantFoldCastInstruction()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DUtils.cpp982 DstVal.convertFromAPInt(*MaybeSrcVal, Opcode == TargetOpcode::G_SITOFP, in ConstantFoldIntToFloat()
H A DLegalizerHelper.cpp7023 TwoPExpFP.convertFromAPInt(TwoPExpInt, false, APFloat::rmNearestTiesToEven); in lowerFPTOUI()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp7714 SMax.convertFromAPInt(APInt::getSignedMaxValue(IntWidth), true, in foldFCmpIntToFPConst()
7726 UMax.convertFromAPInt(APInt::getMaxValue(IntWidth), false, in foldFCmpIntToFPConst()
7739 SMin.convertFromAPInt(APInt::getSignedMinValue(IntWidth), true, in foldFCmpIntToFPConst()
7750 UMin.convertFromAPInt(APInt::getMinValue(IntWidth), false, in foldFCmpIntToFPConst()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprConstant.cpp1283 Result.convertFromAPInt(Value, Value.isSigned(), RM); in withDestType()
H A DCGExprScalar.cpp980 if (MinSrc.convertFromAPInt(Min, !Unsigned, APFloat::rmTowardZero) & in EmitFloatConversionCheck()
992 if (MaxSrc.convertFromAPInt(Max, !Unsigned, APFloat::rmTowardZero) & in EmitFloatConversionCheck()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp8268 APF.convertFromAPInt(SignMask, false, APFloat::rmNearestTiesToEven)) { in expandFP_TO_UINT()
11166 MinFloat.convertFromAPInt(MinInt, IsSigned, APFloat::rmTowardZero); in expandFP_TO_INT_SAT()
11168 MaxFloat.convertFromAPInt(MaxInt, IsSigned, APFloat::rmTowardZero); in expandFP_TO_INT_SAT()
H A DSelectionDAG.cpp6444 (void)apf.convertFromAPInt(Val, Opcode == ISD::SINT_TO_FP, in FoldConstantArithmetic()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp3078 MaxVal.convertFromAPInt(APInt::getOneBitSet(Precision, Precision - 1), in lowerVectorFTRUNC_FCEIL_FFLOOR_FROUND()
3188 MaxVal.convertFromAPInt(APInt::getOneBitSet(Precision, Precision - 1), in lowerVectorStrictFTRUNC_FCEIL_FFLOOR_FROUND()
3268 MaxVal.convertFromAPInt(APInt::getOneBitSet(Precision, Precision - 1), in lowerFTRUNC_FCEIL_FFLOOR_FROUND()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaOverload.cpp413 Result.convertFromAPInt(*IntConstantValue, IntConstantValue->isSigned(), in getNarrowingKind()
H A DSemaChecking.cpp11041 TargetFloatValue.convertFromAPInt( in CheckImplicitConversion()
H A DSemaExpr.cpp9944 Float.convertFromAPInt(Result, IntTy->hasSignedIntegerRepresentation(), in canConvertIntTyToFloatTy()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp2744 APFloat::opStatus St = Result.convertFromAPInt(Value, Value.isSigned(), RM); in HandleIntToFloatCast()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp21342 APFloat::opStatus MinStatus = MinFloat.convertFromAPInt( in LowerFP_TO_INT_SAT()
21344 APFloat::opStatus MaxStatus = MaxFloat.convertFromAPInt( in LowerFP_TO_INT_SAT()