Home
last modified time | relevance | path

Searched refs:opStatus (Results 1 – 19 of 19) sorted by relevance

/openbsd-src/gnu/llvm/llvm/include/llvm/ADT/
H A DAPFloat.h216 enum opStatus { enum
285 opStatus add(const IEEEFloat &, roundingMode);
286 opStatus subtract(const IEEEFloat &, roundingMode);
287 opStatus multiply(const IEEEFloat &, roundingMode);
288 opStatus divide(const IEEEFloat &, roundingMode);
290 opStatus remainder(const IEEEFloat &);
292 opStatus mod(const IEEEFloat &);
293 opStatus fusedMultiplyAdd(const IEEEFloat &, const IEEEFloat &, roundingMode);
294 opStatus roundToIntegral(roundingMode);
296 opStatus next(bool nextDown);
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Support/
H A DAPFloat.cpp1161 opStatus status; in multiplySignificand()
1403 IEEEFloat::opStatus IEEEFloat::handleOverflow(roundingMode rounding_mode) { in handleOverflow()
1413 return (opStatus) (opOverflow | opInexact); in handleOverflow()
1470 IEEEFloat::opStatus IEEEFloat::normalize(roundingMode rounding_mode, in normalize()
1555 return (opStatus) (opOverflow | opInexact); in normalize()
1581 return (opStatus) (opUnderflow | opInexact); in normalize()
1584 IEEEFloat::opStatus IEEEFloat::addOrSubtractSpecials(const IEEEFloat &rhs, in addOrSubtractSpecials()
1709 IEEEFloat::opStatus IEEEFloat::multiplySpecials(const IEEEFloat &rhs) { in multiplySpecials()
1753 IEEEFloat::opStatus IEEEFloat::divideSpecials(const IEEEFloat &rhs) { in divideSpecials()
1802 IEEEFloat::opStatus IEEEFloat::modSpecials(const IEEEFloat &rhs) { in modSpecials()
[all …]
H A DAPFixedPoint.cpp144 APFloat::opStatus Status = F.convertFromAPInt(MaxInt, MaxInt.isSigned(), in fitsInFloatSemantics()
504 APFloat::opStatus S = Flt.convertFromAPInt(Val, Sema.isSigned(), RM); in convertToFloat()
H A DStringRef.cpp593 APFloat::opStatus Status = *StatusOrErr; in getAsDouble()
/openbsd-src/gnu/llvm/lldb/source/Plugins/Instruction/RISCV/
H A DEmulateInstructionRISCV.h97 bool SetAccruedExceptions(llvm::APFloatBase::opStatus);
H A DEmulateInstructionRISCV.cpp1246 auto opStatus = rs1.fusedMultiplyAdd(rs2, rs3, m_emu.GetRoundingMode()); in FusedMultiplyAdd() local
1247 auto res = m_emu.SetAccruedExceptions(opStatus); in FusedMultiplyAdd()
1270 APFloat::opStatus (APFloat::*f)(const APFloat &RHS, in F_Op()
1677 APFloatBase::opStatus opStatus) { in SetAccruedExceptions() argument
1683 switch (opStatus) { in SetAccruedExceptions()
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DConstantFolding.cpp1869 APFloat::opStatus status = in ConstantFoldSSEConvertToInt()
1908 APFloat::opStatus St) { in mayFoldConstrained()
1914 if (St == APFloat::opStatus::opOK) in mayFoldConstrained()
2063 APFloat::opStatus Status = in ConstantFoldScalarCall1()
2169 APFloat::opStatus St = U.roundToIntegral(*RM); in ConstantFoldScalarCall1()
2408 APFloat::opStatus status = Val.convert( in ConstantFoldScalarCall1()
2473 APFloat::opStatus St = APFloat::opOK; in evaluateCompare()
2527 APFloat::opStatus St; in ConstantFoldScalarCall2()
2608 if (APFloat::opStatus::opOK == V.mod(Op2->getValueAPF())) in ConstantFoldScalarCall2()
2616 if (APFloat::opStatus::opOK == V.remainder(Op2->getValueAPF())) in ConstantFoldScalarCall2()
[all …]
/openbsd-src/gnu/llvm/clang/include/clang/Lex/
H A DLiteralSupport.h116 llvm::APFloat::opStatus GetFloatValue(llvm::APFloat &Result);
/openbsd-src/gnu/llvm/lldb/source/Utility/
H A DScalar.cpp682 if (llvm::Expected<APFloat::opStatus> op = in SetValueFromCString()
/openbsd-src/gnu/llvm/clang/lib/Lex/
H A DLiteralSupport.cpp1416 llvm::APFloat::opStatus
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DExprConstant.cpp2576 APFloat::opStatus St) { in checkFloatingPointResult()
2599 if ((St & APFloat::opStatus::opInvalidOp) && in checkFloatingPointResult()
2620 APFloat::opStatus St; in HandleFloatToFloatCast()
2646 APFloat::opStatus St = Result.convertFromAPInt(Value, Value.isSigned(), RM); in HandleIntToFloatCast()
2851 APFloat::opStatus St; in handleFloatFloatBinOp()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp5270 APFloat::opStatus fs = V.roundToIntegral(APFloat::rmTowardPositive); in getNode()
5276 APFloat::opStatus fs = V.roundToIntegral(APFloat::rmTowardZero); in getNode()
5282 APFloat::opStatus fs = V.roundToIntegral(APFloat::rmTowardNegative); in getNode()
5300 APFloat::opStatus s = in getNode()
H A DTargetLowering.cpp10238 APFloat::opStatus MinStatus = in expandFP_TO_INT_SAT()
10240 APFloat::opStatus MaxStatus = in expandFP_TO_INT_SAT()
10242 bool AreExactFloatBounds = !(MinStatus & APFloat::opStatus::opInexact) && in expandFP_TO_INT_SAT()
10243 !(MaxStatus & APFloat::opStatus::opInexact); in expandFP_TO_INT_SAT()
H A DDAGCombiner.cpp15893 APFloat::opStatus st = Recip.divide(N1APF, APFloat::rmNearestTiesToEven); in visitFDIV()
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/AsmParser/
H A DAMDGPUAsmParser.cpp1889 APFloat::opStatus Status = FPLiteral.convert(*getFltSemantics(VT), in canLosslesslyConvertToFPType()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaChecking.cpp13495 llvm::APFloat::opStatus Result = Value.convertToInteger( in DiagnoseFloatingImpCast()
14178 llvm::APFloat::opStatus ConversionStatus = in CheckImplicitConversion()
H A DSemaOverload.cpp405 llvm::APFloat::opStatus ConvertStatus = FloatVal.convert( in getNarrowingKind()
H A DSemaExpr.cpp3695 APFloat::opStatus result = Literal.GetFloatValue(Val); in BuildFloatingLiteral()
/openbsd-src/gnu/llvm/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp22086 LLVM_ATTRIBUTE_UNUSED APFloat::opStatus Status = APFloat::opOK; in FP_TO_INTHelper()
23176 APFloat::opStatus MinStatus = MinFloat.convertFromAPInt( in LowerFP_TO_INT_SAT()
23178 APFloat::opStatus MaxStatus = MaxFloat.convertFromAPInt( in LowerFP_TO_INT_SAT()
23180 bool AreExactFloatBounds = !(MinStatus & APFloat::opStatus::opInexact) in LowerFP_TO_INT_SAT()
23181 && !(MaxStatus & APFloat::opStatus::opInexact); in LowerFP_TO_INT_SAT()