Home
last modified time | relevance | path

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

12

/src/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPFloat.h266 enum opStatus { enum
341 opStatus add(const IEEEFloat &, roundingMode);
342 opStatus subtract(const IEEEFloat &, roundingMode);
343 opStatus multiply(const IEEEFloat &, roundingMode);
344 opStatus divide(const IEEEFloat &, roundingMode);
346 opStatus remainder(const IEEEFloat &);
348 opStatus mod(const IEEEFloat &);
349 opStatus fusedMultiplyAdd(const IEEEFloat &, const IEEEFloat &, roundingMode);
350 opStatus roundToIntegral(roundingMode);
352 opStatus next(bool nextDown);
[all …]
/src/contrib/llvm-project/clang/lib/AST/Interp/
H A DFloating.h50 APFloat::opStatus convertToInteger(APSInt &Result) const { in convertToInteger()
119 static APFloat::opStatus fromIntegral(APSInt Val, in fromIntegral()
124 APFloat::opStatus Status = F.convertFromAPInt(Val, Val.isSigned(), RM); in fromIntegral()
168 static APFloat::opStatus add(const Floating &A, const Floating &B, in add()
174 static APFloat::opStatus increment(const Floating &A, llvm::RoundingMode RM, in increment()
181 static APFloat::opStatus sub(const Floating &A, const Floating &B, in sub()
187 static APFloat::opStatus decrement(const Floating &A, llvm::RoundingMode RM, in decrement()
194 static APFloat::opStatus mul(const Floating &A, const Floating &B, in mul()
200 static APFloat::opStatus div(const Floating &A, const Floating &B, in div()
H A DInterp.cpp680 APFloat::opStatus Status) { in CheckFloatResult()
716 if ((Status & APFloat::opStatus::opInvalidOp) && in CheckFloatResult()
H A DInterp.h248 APFloat::opStatus Status);
830 llvm::APFloat::opStatus Status; in IncDecFloatHelper()
2073 if ((Status & APFloat::opStatus::opInvalidOp)) { in CastFloatingIntegral()
2098 if ((Status & APFloat::opStatus::opInvalidOp) && F.isFinite()) { in CastFloatingIntegralAP()
2118 if ((Status & APFloat::opStatus::opInvalidOp) && F.isFinite()) { in CastFloatingIntegralAPS()
/src/contrib/llvm-project/llvm/lib/Support/
H A DAPFloat.cpp1293 opStatus status; in multiplySignificand()
1535 IEEEFloat::opStatus IEEEFloat::handleOverflow(roundingMode rounding_mode) { in handleOverflow()
1546 return static_cast<opStatus>(opOverflow | opInexact); in handleOverflow()
1605 IEEEFloat::opStatus IEEEFloat::normalize(roundingMode rounding_mode, in normalize()
1729 return (opStatus) (opUnderflow | opInexact); in normalize()
1732 IEEEFloat::opStatus IEEEFloat::addOrSubtractSpecials(const IEEEFloat &rhs, in addOrSubtractSpecials()
1857 IEEEFloat::opStatus IEEEFloat::multiplySpecials(const IEEEFloat &rhs) { in multiplySpecials()
1901 IEEEFloat::opStatus IEEEFloat::divideSpecials(const IEEEFloat &rhs) { in divideSpecials()
1950 IEEEFloat::opStatus IEEEFloat::modSpecials(const IEEEFloat &rhs) { in modSpecials()
1988 IEEEFloat::opStatus IEEEFloat::remainderSpecials(const IEEEFloat &rhs) { in remainderSpecials()
[all …]
H A DAPFixedPoint.cpp150 APFloat::opStatus Status = F.convertFromAPInt(MaxInt, MaxInt.isSigned(), in fitsInFloatSemantics()
510 APFloat::opStatus S = Flt.convertFromAPInt(Val, Sema.isSigned(), RM); in convertToFloat()
H A DStringRef.cpp603 APFloat::opStatus Status = *StatusOrErr; in getAsDouble()
/src/sys/dev/qat/qat_api/common/crypto/sym/qat/
H A Dlac_sym_qat.c77 Cpa8U opStatus = ICP_QAT_FW_COMN_STATUS_FLAG_OK; in LacSymQat_SymRespHandler() local
84 opStatus = pRespMsgFn->comn_resp.comn_status; in LacSymQat_SymRespHandler()
99 (icp_qat_fw_comn_flags)opStatus); in LacSymQat_SymRespHandler()
/src/sys/dev/qat/qat_api/common/compression/
H A Ddc_datapath.c116 Cpa8U opStatus = ICP_QAT_FW_COMN_STATUS_FLAG_OK; in dcCompression_ProcessCallback() local
155 opStatus = pCompRespMsg->comn_resp.comn_status; in dcCompression_ProcessCallback()
166 if (ICP_QAT_FW_COMN_RESP_UNSUPPORTED_REQUEST_STAT_GET(opStatus)) { in dcCompression_ProcessCallback()
201 ICP_QAT_FW_COMN_RESP_CMP_STAT_GET(opStatus)); in dcCompression_ProcessCallback()
242 ICP_QAT_FW_COMN_RESP_XLAT_STAT_GET(opStatus)); in dcCompression_ProcessCallback()
337 opStatus)); in dcCompression_ProcessCallback()
/src/contrib/llvm-project/lldb/source/Plugins/Instruction/RISCV/
H A DEmulateInstructionRISCV.h98 bool SetAccruedExceptions(llvm::APFloatBase::opStatus);
H A DEmulateInstructionRISCV.cpp1261 auto opStatus = rs1.fusedMultiplyAdd(rs2, rs3, m_emu.GetRoundingMode()); in FusedMultiplyAdd() local
1262 auto res = m_emu.SetAccruedExceptions(opStatus); in FusedMultiplyAdd()
1285 APFloat::opStatus (APFloat::*f)(const APFloat &RHS, in F_Op()
1692 APFloatBase::opStatus opStatus) { in SetAccruedExceptions() argument
1698 switch (opStatus) { in SetAccruedExceptions()
/src/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVBaseInfo.cpp177 APFloat::opStatus Status = FPImm.convert( in getLoadFPImm()
/src/contrib/llvm-project/llvm/lib/Analysis/
H A DConstantFolding.cpp1891 APFloat::opStatus status = in ConstantFoldSSEConvertToInt()
1930 APFloat::opStatus St) { in mayFoldConstrained()
1936 if (St == APFloat::opStatus::opOK) in mayFoldConstrained()
2097 APFloat::opStatus Status = in ConstantFoldScalarCall1()
2217 APFloat::opStatus St = U.roundToIntegral(*RM); in ConstantFoldScalarCall1()
2461 APFloat::opStatus status = Val.convert( in ConstantFoldScalarCall1()
2559 APFloat::opStatus St = APFloat::opOK; in evaluateCompare()
2610 if (APFloat::opStatus::opOK == V.mod(Op2->getValueAPF())) in ConstantFoldLibCall2()
2618 if (APFloat::opStatus::opOK == V.remainder(Op2->getValueAPF())) in ConstantFoldLibCall2()
2675 APFloat::opStatus St; in ConstantFoldIntrinsicCall2()
[all …]
/src/contrib/llvm-project/clang/include/clang/Lex/
H A DLiteralSupport.h123 llvm::APFloat::opStatus GetFloatValue(llvm::APFloat &Result,
/src/contrib/llvm-project/lldb/source/Utility/
H A DScalar.cpp683 if (llvm::Expected<APFloat::opStatus> op = in SetValueFromCString()
/src/contrib/llvm-project/lldb/source/Core/
H A DValueObject.cpp3243 llvm::APFloatBase::opStatus status = in CastToBasicType()
3341 llvm::APFloatBase::opStatus status = value_or_err->convertToInteger( in CastToEnumType()
/src/contrib/llvm-project/clang/lib/Lex/
H A DLiteralSupport.cpp1523 llvm::APFloat::opStatus
/src/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp2670 APFloat::opStatus St) { in checkFloatingPointResult()
2693 if ((St & APFloat::opStatus::opInvalidOp) && in checkFloatingPointResult()
2718 APFloat::opStatus St; in HandleFloatToFloatCast()
2744 APFloat::opStatus St = Result.convertFromAPInt(Value, Value.isSigned(), RM); in HandleIntToFloatCast()
2920 APFloat::opStatus St; in handleFloatFloatBinOp()
4679 APFloat::opStatus St; in found()
/src/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp6489 APFloat::opStatus fs = V.roundToIntegral(APFloat::rmTowardPositive); in FoldConstantArithmetic()
6495 APFloat::opStatus fs = V.roundToIntegral(APFloat::rmTowardZero); in FoldConstantArithmetic()
6501 APFloat::opStatus fs = V.roundToIntegral(APFloat::rmTowardNegative); in FoldConstantArithmetic()
6519 APFloat::opStatus s = in FoldConstantArithmetic()
H A DTargetLowering.cpp11165 APFloat::opStatus MinStatus = in expandFP_TO_INT_SAT()
11167 APFloat::opStatus MaxStatus = in expandFP_TO_INT_SAT()
11169 bool AreExactFloatBounds = !(MinStatus & APFloat::opStatus::opInexact) && in expandFP_TO_INT_SAT()
11170 !(MaxStatus & APFloat::opStatus::opInexact); in expandFP_TO_INT_SAT()
/src/contrib/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp10442 llvm::APFloat::opStatus Result = Value.convertToInteger( in DiagnoseFloatingImpCast()
11040 llvm::APFloat::opStatus ConversionStatus = in CheckImplicitConversion()
H A DSemaOverload.cpp458 llvm::APFloat::opStatus ConvertStatus = in getNarrowingKind()
H A DSemaExpr.cpp3594 APFloat::opStatus result = Literal.GetFloatValue(Val, RM); in BuildFloatingLiteral()
/src/contrib/llvm-project/llvm/lib/Target/AMDGPU/AsmParser/
H A DAMDGPUAsmParser.cpp1977 APFloat::opStatus Status = FPLiteral.convert(*getFltSemantics(VT), in canLosslesslyConvertToFPType()
/src/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp20062 LLVM_ATTRIBUTE_UNUSED APFloat::opStatus Status = APFloat::opOK; in FP_TO_INTHelper()
21342 APFloat::opStatus MinStatus = MinFloat.convertFromAPInt( in LowerFP_TO_INT_SAT()
21344 APFloat::opStatus MaxStatus = MaxFloat.convertFromAPInt( in LowerFP_TO_INT_SAT()
21346 bool AreExactFloatBounds = !(MinStatus & APFloat::opStatus::opInexact) in LowerFP_TO_INT_SAT()
21347 && !(MaxStatus & APFloat::opStatus::opInexact); in LowerFP_TO_INT_SAT()

12