Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/Support/
H A DAPFixedPoint.cpp140 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 DAPFloat.cpp2069 fs = MagicConstant.convertFromAPInt(IntegerConstant, false, in roundToIntegral()
2454 IEEEFloat::opStatus IEEEFloat::convertFromAPInt(const APInt &Val, bool isSigned, in convertFromAPInt() function in llvm::detail::IEEEFloat
4682 APFloat::opStatus DoubleAPFloat::convertFromAPInt(const APInt &Input, in convertFromAPInt() function in llvm::detail::DoubleAPFloat
4687 auto Ret = Tmp.convertFromAPInt(Input, IsSigned, RM); in convertFromAPInt()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPFloat.h303 opStatus convertFromAPInt(const APInt &, bool, roundingMode);
670 opStatus convertFromAPInt(const APInt &Input, bool IsSigned, roundingMode RM);
1115 opStatus convertFromAPInt(const APInt &Input, bool IsSigned, in convertFromAPInt() function
1117 APFLOAT_DISPATCH_ON_SEMANTICS(convertFromAPInt(Input, IsSigned, RM)); in convertFromAPInt()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp688 (void)apf.convertFromAPInt(GV.IntVal, in getConstantValue()
703 (void)apf.convertFromAPInt(GV.IntVal, in getConstantValue()
/freebsd-13.1/contrib/llvm-project/lldb/source/Utility/
H A DScalar.cpp200 m_float.convertFromAPInt(m_integer, m_integer.isSigned(), in FloatPromote()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DUtils.cpp682 DstVal.convertFromAPInt(*MaybeSrcVal, Opcode == TargetOpcode::G_SITOFP, in ConstantFoldIntToFloat()
H A DLegalizerHelper.cpp6154 TwoPExpFP.convertFromAPInt(TwoPExpInt, false, APFloat::rmNearestTiesToEven); in lowerFPTOUI()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp6030 SMax.convertFromAPInt(APInt::getSignedMaxValue(IntWidth), true, in foldFCmpIntToFPConst()
6042 UMax.convertFromAPInt(APInt::getMaxValue(IntWidth), false, in foldFCmpIntToFPConst()
6055 SMin.convertFromAPInt(APInt::getSignedMinValue(IntWidth), true, in foldFCmpIntToFPConst()
6066 UMin.convertFromAPInt(APInt::getMinValue(IntWidth), false, in foldFCmpIntToFPConst()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DConstantFold.cpp483 apf.convertFromAPInt(api, opc==Instruction::SIToFP, in ConstantFoldCastInstruction()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprScalar.cpp919 if (MinSrc.convertFromAPInt(Min, !Unsigned, APFloat::rmTowardZero) & in EmitFloatConversionCheck()
931 if (MaxSrc.convertFromAPInt(Max, !Unsigned, APFloat::rmTowardZero) & in EmitFloatConversionCheck()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp6783 APF.convertFromAPInt(SignMask, false, APFloat::rmNearestTiesToEven)) { in expandFP_TO_UINT()
8694 MinFloat.convertFromAPInt(MinInt, IsSigned, APFloat::rmTowardZero); in expandFP_TO_INT_SAT()
8696 MaxFloat.convertFromAPInt(MaxInt, IsSigned, APFloat::rmTowardZero); in expandFP_TO_INT_SAT()
H A DSelectionDAG.cpp4680 (void)apf.convertFromAPInt(Val, in getNode()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaOverload.cpp362 Result.convertFromAPInt(*IntConstantValue, IntConstantValue->isSigned(), in getNarrowingKind()
H A DSemaChecking.cpp12785 TargetFloatValue.convertFromAPInt( in CheckImplicitConversion()
H A DSemaExpr.cpp9917 Float.convertFromAPInt(Result, IntTy->hasSignedIntegerRepresentation(), in canConvertIntTyToFloatTy()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp2626 APFloat::opStatus St = Result.convertFromAPInt(Value, Value.isSigned(), in HandleIntToFloatCast()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp21730 APFloat::opStatus MinStatus = MinFloat.convertFromAPInt( in LowerFP_TO_INT_SAT()
21732 APFloat::opStatus MaxStatus = MaxFloat.convertFromAPInt( in LowerFP_TO_INT_SAT()