Home
last modified time | relevance | path

Searched refs:convertToInteger (Results 1 – 25 of 26) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DFloating.h50 APFloat::opStatus convertToInteger(APSInt &Result) const { in convertToInteger() function
52 return F.convertToInteger(Result, llvm::APFloat::rmTowardZero, &IsExact); in convertToInteger()
H A DInterp.h2070 auto Status = F.convertToInteger(Result); in CastFloatingIntegral()
2095 auto Status = F.convertToInteger(Result); in CastFloatingIntegralAP()
2115 auto Status = F.convertToInteger(Result); in CastFloatingIntegralAPS()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPFloat.h367 opStatus convertToInteger(MutableArrayRef<integerPart>, unsigned int, bool,
769 opStatus convertToInteger(MutableArrayRef<integerPart> Input,
1235 opStatus convertToInteger(MutableArrayRef<integerPart> Input, in convertToInteger() function
1239 convertToInteger(Input, Width, IsSigned, RM, IsExact)); in convertToInteger()
1241 opStatus convertToInteger(APSInt &Result, roundingMode RM,
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DFloat2Int.cpp244 CF->getValueAPF().convertToInteger(Int, in calcRange()
420 CF->getValueAPF().convertToInteger(Val, in convert()
H A DIndVarSimplify.cpp191 if (APF.convertToInteger(MutableArrayRef(UIntVal), 64, true, in ConvertToSInt()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DAPFixedPoint.cpp580 Val.convertToInteger(Res, RM, &Ignored); in getFromFloatValue()
H A DAPFloat.cpp2730 IEEEFloat::convertToInteger(MutableArrayRef<integerPart> parts, in convertToInteger() function in llvm::detail::IEEEFloat
5134 DoubleAPFloat::convertToInteger(MutableArrayRef<integerPart> Input, in convertToInteger() function in llvm::detail::DoubleAPFloat
5139 .convertToInteger(Input, Width, IsSigned, RM, IsExact); in convertToInteger()
5364 APFloat::opStatus APFloat::convertToInteger(APSInt &result, in convertToInteger() function in llvm::APFloat
5369 opStatus status = convertToInteger(parts, bitWidth, result.isSigned(), in convertToInteger()
/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DScalar.cpp282 f.convertToInteger(result, llvm::APFloat::rmTowardZero, &isExact); in ToAPInt()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DConstantFolding.cpp1892 Val.convertToInteger(MutableArrayRef(UIntVal), ResultWidth, in ConstantFoldSSEConvertToInt()
2098 U.convertToInteger(Int, APFloat::rmTowardZero, &IsExact); in ConstantFoldScalarCall1()
2112 U.convertToInteger(Int, APFloat::rmTowardZero, &IsExact); in ConstantFoldScalarCall1()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstantFold.cpp213 V.convertToInteger(IntVal, APFloat::rmTowardZero, &ignored)) { in ConstantFoldCastInstruction()
/freebsd/contrib/llvm-project/lldb/source/Core/
H A DValueObject.cpp3244 float_value_or_err->convertToInteger( in CastToBasicType()
3341 llvm::APFloatBase::opStatus status = value_or_err->convertToInteger( in CastToEnumType()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp734 (void)apf.convertToInteger(MutableArrayRef(v), BitWidth, in getConstantValue()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp2153 NF->convertToInteger(NI, APFloat::rmTowardZero, &Ignored) == in replacePowWithExp()
2371 ExpoF->convertToInteger(IntExpo, APFloat::rmTowardZero, &Ignored) == in optimizePow()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DFastISel.cpp305 (void)Flt.convertToInteger(SIntVal, APFloat::rmTowardZero, &isExact); in materializeConstant()
H A DSelectionDAG.cpp6520 V.convertToInteger(IntVal, APFloat::rmTowardZero, &ignored); in FoldConstantArithmetic()
12925 if (APF.convertToInteger(IntVal, APFloat::rmTowardZero, &IsExact) != in getConstantFPSplatPow2ToLog2Int()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp7623 RHS->convertToInteger(RHSCvt, APFloat::rmNearestTiesToEven, &IsExact); in foldFCmpIntToFPConst()
7766 RHS->convertToInteger(RHSInt, APFloat::rmTowardZero, &IsExact); in foldFCmpIntToFPConst()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCInstrInfo.td422 FloatValue.convertToInteger(IntResult, APFloat::rmTowardZero, &IsExact);
430 FloatValue.convertToInteger(IntResult, APFloat::rmTowardZero, &IsExact);
H A DPPCISelLowering.cpp17750 Imm.convertToInteger(IntResult, APFloat::rmTowardZero, &IsExact); in isFPImmLegal()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelDAGToDAG.cpp3236 ToConvert.convertToInteger(Converted, llvm::RoundingMode::NearestTiesToEven, in transformFixedFloatingPointConversion()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp2649 if (Value.convertToInteger(Result, llvm::APFloat::rmTowardZero, &ignored) in HandleFloatToIntCast()
16695 if (FL->getValue().convertToInteger(IgnoredVal, in CheckICE()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelDAGToDAG.cpp3888 FVal.convertToInteger(IntVal, APFloat::rmTowardZero, &IsExact); in checkCVTFixedPointOperandWithFBits()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaOverload.cpp418 Result.convertToInteger(ConvertedValue, in getNarrowingKind()
H A DSemaChecking.cpp10442 llvm::APFloat::opStatus Result = Value.convertToInteger( in DiagnoseFloatingImpCast()
H A DSemaExpr.cpp9949 Float.convertToInteger(ConvertBack, llvm::APFloat::rmNearestTiesToEven, in canConvertIntTyToFloatTy()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp3353 if ((APF.convertToInteger(ValInt, ArbitraryRM, &IsExact) == in getExactInteger()

12