Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A DAPFloat.h301 opStatus convertToInteger(MutableArrayRef<integerPart>, unsigned int, bool,
667 opStatus convertToInteger(MutableArrayRef<integerPart> Input,
1105 opStatus convertToInteger(MutableArrayRef<integerPart> Input, in convertToInteger() function
1109 convertToInteger(Input, Width, IsSigned, RM, IsExact)); in convertToInteger()
1111 opStatus convertToInteger(APSInt &Result, roundingMode RM,
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DFloat2Int.cpp276 CF->getValueAPF().convertToInteger(Int, in calcRange()
445 CF->getValueAPF().convertToInteger(Val, in convert()
H A DIndVarSimplify.cpp199 if (APF.convertToInteger(makeMutableArrayRef(UIntVal), 64, true, in ConvertToSInt()
/llvm-project-15.0.7/mlir/include/mlir/Dialect/Quant/
H A DUniformSupport.h116 fixedpoint.convertToInteger(result, roundMode, &lossy); in quantizeFloatToInt()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/cppcoreguidelines/
H A DNarrowingConversionsCheck.cpp281 bool Overflows = FloatConstant.convertToInteger( in isFloatExactlyRepresentable()
/llvm-project-15.0.7/llvm/lib/Support/
H A DAPFixedPoint.cpp543 Val.convertToInteger(Res, RM, &Ignored); in getFromFloatValue()
H A DAPFloat.cpp2418 IEEEFloat::convertToInteger(MutableArrayRef<integerPart> parts, in convertToInteger() function in llvm::detail::IEEEFloat
4692 DoubleAPFloat::convertToInteger(MutableArrayRef<integerPart> Input, in convertToInteger() function in llvm::detail::DoubleAPFloat
4697 .convertToInteger(Input, Width, IsSigned, RM, IsExact); in convertToInteger()
4890 APFloat::opStatus APFloat::convertToInteger(APSInt &result, in convertToInteger() function in llvm::APFloat
4895 opStatus status = convertToInteger(parts, bitWidth, result.isSigned(), in convertToInteger()
/llvm-project-15.0.7/mlir/lib/Dialect/Arithmetic/IR/
H A DArithmeticOps.cpp1121 a.convertToInteger(api, APFloat::rmTowardZero, &ignored); in fold()
1147 a.convertToInteger(api, APFloat::rmTowardZero, &ignored); in fold()
1631 rhs.convertToInteger(rhsInt, APFloat::rmTowardZero, &ignored)) { in matchAndRewrite()
/llvm-project-15.0.7/lldb/source/Utility/
H A DScalar.cpp281 f.convertToInteger(result, llvm::APFloat::rmTowardZero, &isExact); in ToAPInt()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DConstantFolding.cpp1869 Val.convertToInteger(makeMutableArrayRef(UIntVal), ResultWidth, in ConstantFoldSSEConvertToInt()
2017 U.convertToInteger(Int, APFloat::rmTowardZero, &IsExact); in ConstantFoldScalarCall1()
2031 U.convertToInteger(Int, APFloat::rmTowardZero, &IsExact); in ConstantFoldScalarCall1()
/llvm-project-15.0.7/llvm/unittests/ADT/
H A DAPFloatTest.cpp1184 .convertToInteger(result, APFloat::rmTowardZero, &isExact)); in TEST()
1190 .convertToInteger(result, APFloat::rmTowardZero, &isExact)); in TEST()
1196 .convertToInteger(result, APFloat::rmTowardZero, &isExact)); in TEST()
1202 .convertToInteger(result, APFloat::rmTowardZero, &isExact)); in TEST()
1209 .convertToInteger(result, APFloat::rmTowardZero, &isExact)); in TEST()
1215 .convertToInteger(result, APFloat::rmTowardZero, &isExact)); in TEST()
1221 .convertToInteger(result, APFloat::rmTowardZero, &isExact)); in TEST()
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp722 (void)apf.convertToInteger(makeMutableArrayRef(v), BitWidth, in getConstantValue()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp1844 NF->convertToInteger(NI, APFloat::rmTowardZero, &Ignored) == in replacePowWithExp()
2062 ExpoF->convertToInteger(IntExpo, APFloat::rmTowardZero, &Ignored) == in optimizePow()
/llvm-project-15.0.7/llvm/lib/IR/
H A DConstantFold.cpp451 V.convertToInteger(IntVal, APFloat::rmTowardZero, &ignored)) { in ConstantFoldCastInstruction()
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DFastISel.cpp305 (void)Flt.convertToInteger(SIntVal, APFloat::rmTowardZero, &isExact); in materializeConstant()
H A DSelectionDAG.cpp5096 V.convertToInteger(IntVal, APFloat::rmTowardZero, &ignored); in getNode()
11584 if (APF.convertToInteger(IntVal, APFloat::rmTowardZero, &IsExact) != in getConstantFPSplatPow2ToLog2Int()
/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64ISelDAGToDAG.cpp3025 FVal.convertToInteger(IntVal, APFloat::rmTowardZero, &IsExact); in SelectCVTFixedPosOperand()
/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DARMISelDAGToDAG.cpp3232 ToConvert.convertToInteger(Converted, llvm::RoundingMode::NearestTiesToEven, in transformFixedFloatingPointConversion()
/llvm-project-15.0.7/clang/lib/AST/
H A DExprConstant.cpp2549 if (Value.convertToInteger(Result, llvm::APFloat::rmTowardZero, &ignored) in HandleFloatToIntCast()
15651 if (FL->getValue().convertToInteger(IgnoredVal, in CheckICE()
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp6399 RHS.convertToInteger(RHSCvt, APFloat::rmNearestTiesToEven, &IsExact); in foldFCmpIntToFPConst()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaOverload.cpp366 Result.convertToInteger(ConvertedValue, in getNarrowingKind()
H A DSemaChecking.cpp13164 llvm::APFloat::opStatus Result = Value.convertToInteger( in DiagnoseFloatingImpCast()
H A DSemaExpr.cpp10280 Float.convertToInteger(ConvertBack, llvm::APFloat::rmNearestTiesToEven, in canConvertIntTyToFloatTy()