| /llvm-project-15.0.7/llvm/include/llvm/ADT/ |
| H A D | APFloat.h | 206 enum opStatus { enum 280 opStatus remainder(const IEEEFloat &); 282 opStatus mod(const IEEEFloat &); 284 opStatus roundToIntegral(roundingMode); 286 opStatus next(bool nextDown); 518 opStatus modSpecials(const IEEEFloat &); 529 opStatus handleOverflow(roundingMode); 644 opStatus mod(const DoubleAPFloat &RHS); 665 opStatus next(bool nextDown); 1015 opStatus mod(const APFloat &RHS) { in mod() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | APFloat.cpp | 1779 opStatus fs; in addOrSubtract() 1820 opStatus fs; in multiply() 1838 opStatus fs; in divide() 1855 opStatus fs; in remainder() 1960 opStatus fs; in mod() 1983 opStatus fs; in fusedMultiplyAdd() 2024 opStatus fs; in roundToIntegral() 2192 opStatus fs; in convert() 2421 opStatus fs; in convertToInteger() 2719 opStatus fs; in convertFromDecimalString() [all …]
|
| H A D | APFixedPoint.cpp | 140 APFloat::opStatus Status = F.convertFromAPInt(MaxInt, MaxInt.isSigned(), in fitsInFloatSemantics() 473 APFloat::opStatus S = Flt.convertFromAPInt(Val, Sema.isSigned(), RM); in convertToFloat()
|
| H A D | StringRef.cpp | 593 APFloat::opStatus Status = *StatusOrErr; in getAsDouble()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | ConstantFolding.cpp | 1868 APFloat::opStatus status = in ConstantFoldSSEConvertToInt() 1907 APFloat::opStatus St) { in mayFoldConstrained() 1913 if (St == APFloat::opStatus::opOK) in mayFoldConstrained() 2016 APFloat::opStatus Status = in ConstantFoldScalarCall1() 2119 APFloat::opStatus St = U.roundToIntegral(*RM); in ConstantFoldScalarCall1() 2358 APFloat::opStatus status = Val.convert( in ConstantFoldScalarCall1() 2423 APFloat::opStatus St = APFloat::opOK; in evaluateCompare() 2477 APFloat::opStatus St; in ConstantFoldScalarCall2() 2558 if (APFloat::opStatus::opOK == V.mod(Op2->getValueAPF())) in ConstantFoldScalarCall2() 2566 if (APFloat::opStatus::opOK == V.remainder(Op2->getValueAPF())) in ConstantFoldScalarCall2() [all …]
|
| /llvm-project-15.0.7/clang/include/clang/Lex/ |
| H A D | LiteralSupport.h | 116 llvm::APFloat::opStatus GetFloatValue(llvm::APFloat &Result);
|
| /llvm-project-15.0.7/lldb/source/Utility/ |
| H A D | Scalar.cpp | 682 if (llvm::Expected<APFloat::opStatus> op = in SetValueFromCString()
|
| /llvm-project-15.0.7/mlir/lib/Conversion/ArithmeticToSPIRV/ |
| H A D | ArithmeticToSPIRV.cpp | 258 APFloat::opStatus status = in convertFloatAttr()
|
| /llvm-project-15.0.7/llvm/unittests/ADT/ |
| H A D | APFloatTest.cpp | 1531 APFloat::opStatus St; in TEST() 1821 …APFloat::opStatus status = test.convert(APFloat::x87DoubleExtended(), APFloat::rmNearestTiesToEven… in TEST() 2268 APFloat::opStatus status = x.add(y, APFloat::rmNearestTiesToEven); in TEST() 2508 APFloat::opStatus status = x.subtract(y, APFloat::rmNearestTiesToEven); in TEST() 2812 APFloat::opStatus status = x.multiply(y, SpecialCaseTests[i].roundingMode); in TEST() 3094 APFloat::opStatus status = x.divide(y, SpecialCaseTests[i].roundingMode); in TEST() 4054 APFloat::opStatus status = x.remainder(y); in TEST()
|
| /llvm-project-15.0.7/clang/lib/Lex/ |
| H A D | LiteralSupport.cpp | 1414 llvm::APFloat::opStatus
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | ExprConstant.cpp | 2570 APFloat::opStatus St) { in checkFloatingPointResult() 2593 if ((St & APFloat::opStatus::opInvalidOp) && in checkFloatingPointResult() 2614 APFloat::opStatus St; in HandleFloatToFloatCast() 2639 APFloat::opStatus St = Result.convertFromAPInt(Value, Value.isSigned(), in HandleIntToFloatCast() 2849 APFloat::opStatus St; in handleFloatFloatBinOp()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | TargetLowering.cpp | 9564 APFloat::opStatus MinStatus = in expandFP_TO_INT_SAT() 9566 APFloat::opStatus MaxStatus = in expandFP_TO_INT_SAT() 9568 bool AreExactFloatBounds = !(MinStatus & APFloat::opStatus::opInexact) && in expandFP_TO_INT_SAT() 9569 !(MaxStatus & APFloat::opStatus::opInexact); in expandFP_TO_INT_SAT()
|
| H A D | SelectionDAG.cpp | 5065 APFloat::opStatus fs = V.roundToIntegral(APFloat::rmTowardPositive); in getNode() 5071 APFloat::opStatus fs = V.roundToIntegral(APFloat::rmTowardZero); in getNode() 5077 APFloat::opStatus fs = V.roundToIntegral(APFloat::rmTowardNegative); in getNode() 5095 APFloat::opStatus s = in getNode()
|
| H A D | DAGCombiner.cpp | 15254 APFloat::opStatus st = Recip.divide(N1APF, APFloat::rmNearestTiesToEven); in visitFDIV()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaChecking.cpp | 13164 llvm::APFloat::opStatus Result = Value.convertToInteger( in DiagnoseFloatingImpCast() 13846 llvm::APFloat::opStatus ConversionStatus = in CheckImplicitConversion()
|
| H A D | SemaOverload.cpp | 401 llvm::APFloat::opStatus ConvertStatus = FloatVal.convert( in getNarrowingKind()
|
| H A D | SemaExpr.cpp | 3691 APFloat::opStatus result = Literal.GetFloatValue(Val); in BuildFloatingLiteral()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/AsmParser/ |
| H A D | AMDGPUAsmParser.cpp | 1879 APFloat::opStatus Status = FPLiteral.convert(*getFltSemantics(VT), in canLosslesslyConvertToFPType()
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.cpp | 21704 LLVM_ATTRIBUTE_UNUSED APFloat::opStatus Status = APFloat::opOK; in FP_TO_INTHelper() 22793 APFloat::opStatus MinStatus = MinFloat.convertFromAPInt( in LowerFP_TO_INT_SAT() 22795 APFloat::opStatus MaxStatus = MaxFloat.convertFromAPInt( in LowerFP_TO_INT_SAT() 22797 bool AreExactFloatBounds = !(MinStatus & APFloat::opStatus::opInexact) in LowerFP_TO_INT_SAT() 22798 && !(MaxStatus & APFloat::opStatus::opInexact); in LowerFP_TO_INT_SAT()
|