Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/Support/
H A DAPFixedPoint.cpp144 APFloat::opStatus Status = F.convertFromAPInt(MaxInt, MaxInt.isSigned(), in fitsInFloatSemantics()
150 Status = F.convertFromAPInt(MinInt, MinInt.isSigned(), in fitsInFloatSemantics()
504 APFloat::opStatus S = Flt.convertFromAPInt(Val, Sema.isSigned(), RM); in convertToFloat()
H A DAPFloat.cpp2198 fs = MagicConstant.convertFromAPInt(IntegerConstant, false, in roundToIntegral()
2605 IEEEFloat::opStatus IEEEFloat::convertFromAPInt(const APInt &Val, bool isSigned, in convertFromAPInt() function in llvm::detail::IEEEFloat
4965 APFloat::opStatus DoubleAPFloat::convertFromAPInt(const APInt &Input, in convertFromAPInt() function in llvm::detail::DoubleAPFloat
4970 auto Ret = Tmp.convertFromAPInt(Input, IsSigned, RM); in convertFromAPInt()
/openbsd-src/gnu/llvm/llvm/include/llvm/ADT/
H A DAPFloat.h313 opStatus convertFromAPInt(const APInt &, bool, roundingMode);
690 opStatus convertFromAPInt(const APInt &Input, bool IsSigned, roundingMode RM);
1127 opStatus convertFromAPInt(const APInt &Input, bool IsSigned, in convertFromAPInt() function
1129 APFLOAT_DISPATCH_ON_SEMANTICS(convertFromAPInt(Input, IsSigned, RM)); in convertFromAPInt()
/openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp688 (void)apf.convertFromAPInt(GV.IntVal, in getConstantValue()
703 (void)apf.convertFromAPInt(GV.IntVal, in getConstantValue()
/openbsd-src/gnu/llvm/lldb/source/Utility/
H A DScalar.cpp200 m_float.convertFromAPInt(m_integer, m_integer.isSigned(), in FloatPromote()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/GlobalISel/
H A DUtils.cpp785 DstVal.convertFromAPInt(*MaybeSrcVal, Opcode == TargetOpcode::G_SITOFP, in ConstantFoldIntToFloat()
H A DLegalizerHelper.cpp6174 TwoPExpFP.convertFromAPInt(TwoPExpInt, false, APFloat::rmNearestTiesToEven); in lowerFPTOUI()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp6523 SMax.convertFromAPInt(APInt::getSignedMaxValue(IntWidth), true, in foldFCmpIntToFPConst()
6535 UMax.convertFromAPInt(APInt::getMaxValue(IntWidth), false, in foldFCmpIntToFPConst()
6548 SMin.convertFromAPInt(APInt::getSignedMinValue(IntWidth), true, in foldFCmpIntToFPConst()
6559 UMin.convertFromAPInt(APInt::getMinValue(IntWidth), false, in foldFCmpIntToFPConst()
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DConstantFold.cpp475 apf.convertFromAPInt(api, opc==Instruction::SIToFP, in ConstantFoldCastInstruction()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGExprScalar.cpp950 if (MinSrc.convertFromAPInt(Min, !Unsigned, APFloat::rmTowardZero) & in EmitFloatConversionCheck()
962 if (MaxSrc.convertFromAPInt(Max, !Unsigned, APFloat::rmTowardZero) & in EmitFloatConversionCheck()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp7807 APF.convertFromAPInt(SignMask, false, APFloat::rmNearestTiesToEven)) { in expandFP_TO_UINT()
10239 MinFloat.convertFromAPInt(MinInt, IsSigned, APFloat::rmTowardZero); in expandFP_TO_INT_SAT()
10241 MaxFloat.convertFromAPInt(MaxInt, IsSigned, APFloat::rmTowardZero); in expandFP_TO_INT_SAT()
H A DSelectionDAG.cpp5203 (void)apf.convertFromAPInt(Val, in getNode()
/openbsd-src/gnu/llvm/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp2117 MaxVal.convertFromAPInt(APInt::getOneBitSet(Precision, Precision - 1), in lowerVectorFTRUNC_FCEIL_FFLOOR_FROUND()
2201 MaxVal.convertFromAPInt(APInt::getOneBitSet(Precision, Precision - 1), in lowerFTRUNC_FCEIL_FFLOOR_FROUND()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaOverload.cpp365 Result.convertFromAPInt(*IntConstantValue, IntConstantValue->isSigned(), in getNarrowingKind()
H A DSemaChecking.cpp14179 TargetFloatValue.convertFromAPInt( in CheckImplicitConversion()
H A DSemaExpr.cpp10536 Float.convertFromAPInt(Result, IntTy->hasSignedIntegerRepresentation(), in canConvertIntTyToFloatTy()
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DExprConstant.cpp2646 APFloat::opStatus St = Result.convertFromAPInt(Value, Value.isSigned(), RM); in HandleIntToFloatCast()
/openbsd-src/gnu/llvm/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp23176 APFloat::opStatus MinStatus = MinFloat.convertFromAPInt( in LowerFP_TO_INT_SAT()
23178 APFloat::opStatus MaxStatus = MaxFloat.convertFromAPInt( in LowerFP_TO_INT_SAT()