Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DFloating.h70 APFloat::opStatus convertToInteger(APSInt &Result) const { in convertToInteger() function
72 return getValue().convertToInteger(Result, llvm::APFloat::rmTowardZero, in convertToInteger()
H A DInterp.h2423 auto Status = F.convertToInteger(Result); in CastFloatingIntegral()
2449 auto Status = F.convertToInteger(Result); in CastFloatingIntegralAP()
2470 auto Status = F.convertToInteger(Result); in CastFloatingIntegralAPS()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DFloat2Int.cpp240 CF->getValueAPF().convertToInteger(Int, in calcRange()
416 CF->getValueAPF().convertToInteger(Val, in convert()
H A DIndVarSimplify.cpp189 if (APF.convertToInteger(MutableArrayRef(UIntVal), 64, true, in ConvertToSInt()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPFloat.h460 LLVM_ABI opStatus convertToInteger(MutableArrayRef<integerPart>, unsigned int,
878 LLVM_ABI opStatus convertToInteger(MutableArrayRef<integerPart> Input,
1348 opStatus convertToInteger(MutableArrayRef<integerPart> Input, in convertToInteger() function
1352 convertToInteger(Input, Width, IsSigned, RM, IsExact)); in convertToInteger()
1354 LLVM_ABI opStatus convertToInteger(APSInt &Result, roundingMode RM,
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DAPFixedPoint.cpp597 Val.convertToInteger(Res, RM, &Ignored); in getFromFloatValue()
H A DAPFloat.cpp2832 IEEEFloat::convertToInteger(MutableArrayRef<integerPart> parts, in convertToInteger() function in llvm::detail::IEEEFloat
5318 DoubleAPFloat::convertToInteger(MutableArrayRef<integerPart> Input, in convertToInteger() function in llvm::detail::DoubleAPFloat
5323 .convertToInteger(Input, Width, IsSigned, RM, IsExact); in convertToInteger()
5551 APFloat::opStatus APFloat::convertToInteger(APSInt &result, in convertToInteger() function in llvm::APFloat
5556 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.cpp2092 Val.convertToInteger(MutableArrayRef(UIntVal), ResultWidth, in ConstantFoldSSEConvertToInt()
2292 U.convertToInteger(Int, APFloat::rmTowardZero, &IsExact); in ConstantFoldScalarCall1()
2306 U.convertToInteger(Int, APFloat::rmTowardZero, &IsExact); in ConstantFoldScalarCall1()
2500 FloatToRound.convertToInteger(ResInt, RMode, &IsExact); in ConstantFoldScalarCall1()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstantFold.cpp214 V.convertToInteger(IntVal, APFloat::rmTowardZero, &ignored)) { in ConstantFoldCastInstruction()
/freebsd/contrib/llvm-project/lldb/source/ValueObject/
H A DValueObject.cpp3207 float_value_or_err->convertToInteger( in CastToBasicType()
3310 llvm::APFloatBase::opStatus status = value_or_err->convertToInteger( in CastToEnumType()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp733 (void)apf.convertToInteger(MutableArrayRef(v), BitWidth, in getConstantValue()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp2164 NF->convertToInteger(NI, APFloat::rmTowardZero, &Ignored) == in replacePowWithExp()
2382 ExpoF->convertToInteger(IntExpo, APFloat::rmTowardZero, &Ignored) == in optimizePow()
3099 Quot.convertToInteger(QuotInt, APFloat::rmNearestTiesToEven, &IsExact); in optimizeRemquo()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DFastISel.cpp306 (void)Flt.convertToInteger(SIntVal, APFloat::rmTowardZero, &isExact); in materializeConstant()
H A DSelectionDAG.cpp6933 V.convertToInteger(IntVal, APFloat::rmTowardZero, &ignored); in FoldConstantArithmetic()
13500 if (APF.convertToInteger(IntVal, APFloat::rmTowardZero, &IsExact) != in getConstantFPSplatPow2ToLog2Int()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp7958 RHS->convertToInteger(RHSCvt, APFloat::rmNearestTiesToEven, &IsExact); in foldFCmpIntToFPConst()
8102 RHS->convertToInteger(RHSInt, APFloat::rmTowardZero, &IsExact); in foldFCmpIntToFPConst()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCInstrInfo.td446 FloatValue.convertToInteger(IntResult, APFloat::rmTowardZero, &IsExact);
454 FloatValue.convertToInteger(IntResult, APFloat::rmTowardZero, &IsExact);
H A DPPCISelLowering.cpp18658 Imm.convertToInteger(IntResult, APFloat::rmTowardZero, &IsExact); in isFPImmLegal()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelDAGToDAG.cpp3227 ToConvert.convertToInteger(Converted, llvm::RoundingMode::NearestTiesToEven, in transformFixedFloatingPointConversion()
H A DARMISelLowering.cpp17145 if (Recip.convertToInteger(IntVal, APFloat::rmTowardZero, &IsExact) != in PerformVMulVCTPCombine()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp2791 if (Value.convertToInteger(Result, llvm::APFloat::rmTowardZero, &ignored) in HandleFloatToIntCast()
17617 if (FL->getValue().convertToInteger(IgnoredVal, in CheckICE()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelDAGToDAG.cpp3990 FVal.convertToInteger(IntVal, APFloat::rmTowardZero, &IsExact); in checkCVTFixedPointOperandWithFBits()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp11716 llvm::APFloat::opStatus Result = Value.convertToInteger( in DiagnoseFloatingImpCast()
H A DSemaOverload.cpp415 Result.convertToInteger(ConvertedValue, in getNarrowingKind()
H A DSemaExpr.cpp10147 Float.convertToInteger(ConvertBack, llvm::APFloat::rmNearestTiesToEven, in canConvertIntTyToFloatTy()

12