Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DAPFixedPoint.cpp160 APFloat::opStatus Status = F.convertFromAPInt(MaxInt, MaxInt.isSigned(), in fitsInFloatSemantics()
166 Status = F.convertFromAPInt(MinInt, MinInt.isSigned(), in fitsInFloatSemantics()
527 APFloat::opStatus S = Flt.convertFromAPInt(Val, Sema.isSigned(), RM); in convertToFloat()
H A DAPFloat.cpp2470 fs = MagicConstant.convertFromAPInt(IntegerConstant, false, in roundToIntegral()
2892 APFloat::opStatus IEEEFloat::convertFromAPInt(const APInt &Val, bool isSigned, in convertFromAPInt() function in llvm::detail::IEEEFloat
5326 APFloat::opStatus DoubleAPFloat::convertFromAPInt(const APInt &Input, in convertFromAPInt() function in llvm::detail::DoubleAPFloat
5331 auto Ret = Tmp.convertFromAPInt(Input, IsSigned, RM); in convertFromAPInt()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPFloat.h462 LLVM_ABI opStatus convertFromAPInt(const APInt &, bool, roundingMode);
881 LLVM_ABI opStatus convertFromAPInt(const APInt &Input, bool IsSigned,
1356 opStatus convertFromAPInt(const APInt &Input, bool IsSigned, in convertFromAPInt() function
1358 APFLOAT_DISPATCH_ON_SEMANTICS(convertFromAPInt(Input, IsSigned, RM)); in convertFromAPInt()
/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DFloating.h176 APFloat::opStatus Status = F.convertFromAPInt(Val, Val.isSigned(), RM); in fromIntegral()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp699 (void)apf.convertFromAPInt(GV.IntVal, in getConstantValue()
714 (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.cpp228 apf.convertFromAPInt(api, opc==Instruction::SIToFP, in ConstantFoldCastInstruction()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DUtils.cpp989 DstVal.convertFromAPInt(*MaybeSrcVal, Opcode == TargetOpcode::G_SITOFP, in ConstantFoldIntToFloat()
H A DLegalizerHelper.cpp7808 TwoPExpFP.convertFromAPInt(TwoPExpInt, false, APFloat::rmNearestTiesToEven); in lowerFPTOUI()
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/Transforms/InstCombine/
H A DInstCombineCompares.cpp8050 SMax.convertFromAPInt(APInt::getSignedMaxValue(IntWidth), true, in foldFCmpIntToFPConst()
8062 UMax.convertFromAPInt(APInt::getMaxValue(IntWidth), false, in foldFCmpIntToFPConst()
8075 SMin.convertFromAPInt(APInt::getSignedMinValue(IntWidth), true, in foldFCmpIntToFPConst()
8086 UMin.convertFromAPInt(APInt::getMinValue(IntWidth), false, in foldFCmpIntToFPConst()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprConstant.cpp1369 Result.convertFromAPInt(Value, Value.isSigned(), RM); in withDestType()
H A DCGExprScalar.cpp1020 if (MinSrc.convertFromAPInt(Min, !Unsigned, APFloat::rmTowardZero) & in EmitFloatConversionCheck()
1032 if (MaxSrc.convertFromAPInt(Max, !Unsigned, APFloat::rmTowardZero) & in EmitFloatConversionCheck()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp8486 APF.convertFromAPInt(SignMask, false, APFloat::rmNearestTiesToEven)) { in expandFP_TO_UINT()
11674 MinFloat.convertFromAPInt(MinInt, IsSigned, APFloat::rmTowardZero); in expandFP_TO_INT_SAT()
11676 MaxFloat.convertFromAPInt(MaxInt, IsSigned, APFloat::rmTowardZero); in expandFP_TO_INT_SAT()
H A DSelectionDAG.cpp6857 (void)FPV.convertFromAPInt(Val, Opcode == ISD::SINT_TO_FP, in FoldConstantArithmetic()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp3289 MaxVal.convertFromAPInt(APInt::getOneBitSet(Precision, Precision - 1), in lowerVectorFTRUNC_FCEIL_FFLOOR_FROUND()
3397 MaxVal.convertFromAPInt(APInt::getOneBitSet(Precision, Precision - 1), in lowerVectorStrictFTRUNC_FCEIL_FFLOOR_FROUND()
3477 MaxVal.convertFromAPInt(APInt::getOneBitSet(Precision, Precision - 1), in lowerFTRUNC_FCEIL_FFLOOR_FROUND()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp12408 TargetFloatValue.convertFromAPInt( in CheckImplicitConversion()
H A DSemaOverload.cpp410 Result.convertFromAPInt(*IntConstantValue, IntConstantValue->isSigned(), in getNarrowingKind()
H A DSemaExpr.cpp10142 Float.convertFromAPInt(Result, IntTy->hasSignedIntegerRepresentation(), in canConvertIntTyToFloatTy()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp2886 APFloat::opStatus St = Result.convertFromAPInt(Value, Value.isSigned(), RM); in HandleIntToFloatCast()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp22072 APFloat::opStatus MinStatus = MinFloat.convertFromAPInt( in LowerFP_TO_INT_SAT()
22074 APFloat::opStatus MaxStatus = MaxFloat.convertFromAPInt( in LowerFP_TO_INT_SAT()
/freebsd/contrib/llvm-project/llvm/include/llvm/Testing/Demangle/
H A DDemangleTestCases.inc23479 …convertFromAPIntERKNS_5APIntEbNS0_12roundingModeE", "llvm::APFloat::convertFromAPInt(llvm::APInt c…