Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPFloat.h320 enum opStatus { enum
377 using opStatus = APFloatBase::opStatus; variable
394 static constexpr opStatus opOK = APFloatBase::opOK;
395 static constexpr opStatus opInvalidOp = APFloatBase::opInvalidOp;
396 static constexpr opStatus opDivByZero = APFloatBase::opDivByZero;
397 static constexpr opStatus opOverflow = APFloatBase::opOverflow;
398 static constexpr opStatus opUnderflow = APFloatBase::opUnderflow;
399 static constexpr opStatus opInexact = APFloatBase::opInexact;
433 LLVM_ABI opStatus add(const IEEEFloat &, roundingMode);
434 LLVM_ABI opStatus subtract(const IEEEFloat &, roundingMode);
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DFloating.h70 APFloat::opStatus convertToInteger(APSInt &Result) const { in convertToInteger()
171 static APFloat::opStatus fromIntegral(APSInt Val, in fromIntegral()
176 APFloat::opStatus Status = F.convertFromAPInt(Val, Val.isSigned(), RM); in fromIntegral()
235 static APFloat::opStatus add(const Floating &A, const Floating &B, in add()
245 static APFloat::opStatus increment(const Floating &A, llvm::RoundingMode RM, in increment()
255 static APFloat::opStatus sub(const Floating &A, const Floating &B, in sub()
265 static APFloat::opStatus decrement(const Floating &A, llvm::RoundingMode RM, in decrement()
275 static APFloat::opStatus mul(const Floating &A, const Floating &B, in mul()
286 static APFloat::opStatus div(const Floating &A, const Floating &B, in div()
H A DInterp.h296 APFloat::opStatus Status, FPOptions FPO);
958 llvm::APFloat::opStatus Status; in IncDecFloatHelper()
2426 if ((Status & APFloat::opStatus::opInvalidOp)) { in CastFloatingIntegral()
2452 if ((Status & APFloat::opStatus::opInvalidOp) && F.isFinite()) in CastFloatingIntegralAP()
2473 if ((Status & APFloat::opStatus::opInvalidOp) && F.isFinite()) in CastFloatingIntegralAPS()
H A DInterp.cpp968 APFloat::opStatus Status, FPOptions FPO) { in CheckFloatResult()
1003 if ((Status & APFloat::opStatus::opInvalidOp) && in CheckFloatResult()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DAPFloat.cpp1345 opStatus status; in multiplySignificand()
1593 APFloat::opStatus IEEEFloat::handleOverflow(roundingMode rounding_mode) { in handleOverflow()
1604 return static_cast<opStatus>(opOverflow | opInexact); in handleOverflow()
1663 APFloat::opStatus IEEEFloat::normalize(roundingMode rounding_mode, in normalize()
1795 return (opStatus) (opUnderflow | opInexact); in normalize()
1798 APFloat::opStatus IEEEFloat::addOrSubtractSpecials(const IEEEFloat &rhs, in addOrSubtractSpecials()
1946 APFloat::opStatus IEEEFloat::multiplySpecials(const IEEEFloat &rhs) { in multiplySpecials()
1990 APFloat::opStatus IEEEFloat::divideSpecials(const IEEEFloat &rhs) { in divideSpecials()
2039 APFloat::opStatus IEEEFloat::modSpecials(const IEEEFloat &rhs) { in modSpecials()
2077 APFloat::opStatus IEEEFloat::remainderSpecials(const IEEEFloat &rhs) { in remainderSpecials()
[all …]
H A DAPFixedPoint.cpp160 APFloat::opStatus Status = F.convertFromAPInt(MaxInt, MaxInt.isSigned(), in fitsInFloatSemantics()
527 APFloat::opStatus S = Flt.convertFromAPInt(Val, Sema.isSigned(), RM); in convertToFloat()
H A DStringRef.cpp604 APFloat::opStatus Status = *StatusOrErr; in getAsDouble()
/freebsd/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()
/freebsd/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()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Instruction/RISCV/
H A DEmulateInstructionRISCV.h122 bool SetAccruedExceptions(llvm::APFloatBase::opStatus);
H A DEmulateInstructionRISCV.cpp1262 auto opStatus = rs1.fusedMultiplyAdd(rs2, rs3, m_emu.GetRoundingMode()); in FusedMultiplyAdd() local
1263 auto res = m_emu.SetAccruedExceptions(opStatus); in FusedMultiplyAdd()
1286 APFloat::opStatus (APFloat::*f)(const APFloat &RHS, in F_Op()
1678 APFloatBase::opStatus opStatus) { in SetAccruedExceptions() argument
1684 switch (opStatus) { in SetAccruedExceptions()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseHLSLRootSignature.cpp1323 llvm::APFloat::opStatus Status(Literal.GetFloatValue(Val, DXCRoundingMode)); in handleFloatLiteral()
1327 assert(!(Status & llvm::APFloat::opStatus::opInvalidOp) && in handleFloatLiteral()
1331 assert(!(Status & llvm::APFloat::opStatus::opDivByZero) && in handleFloatLiteral()
1335 if (Status & llvm::APFloat::opStatus::opUnderflow) { in handleFloatLiteral()
1341 if (Status & llvm::APFloat::opStatus::opOverflow) { in handleFloatLiteral()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVBaseInfo.cpp204 APFloat::opStatus Status = FPImm.convert( in getLoadFPImm()
/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DLiteralSupport.h123 llvm::APFloat::opStatus GetFloatValue(llvm::APFloat &Result,
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DConstantFolding.cpp2091 APFloat::opStatus status = in ConstantFoldSSEConvertToInt()
2130 APFloat::opStatus St) { in mayFoldConstrained()
2136 if (St == APFloat::opStatus::opOK) in mayFoldConstrained()
2291 APFloat::opStatus Status = in ConstantFoldScalarCall1()
2412 APFloat::opStatus St = U.roundToIntegral(*RM); in ConstantFoldScalarCall1()
2499 APFloat::opStatus Status = in ConstantFoldScalarCall1()
2771 APFloat::opStatus status = Val.convert( in ConstantFoldScalarCall1()
2884 APFloat::opStatus St = APFloat::opOK; in evaluateCompare()
2935 if (APFloat::opStatus::opOK == V.mod(Op2->getValueAPF())) in ConstantFoldLibCall2()
2943 if (APFloat::opStatus::opOK == V.remainder(Op2->getValueAPF())) in ConstantFoldLibCall2()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DScalar.cpp682 if (llvm::Expected<APFloat::opStatus> op = in SetValueFromCString()
/freebsd/contrib/llvm-project/lldb/source/ValueObject/
H A DValueObject.cpp3206 llvm::APFloatBase::opStatus status = in CastToBasicType()
3310 llvm::APFloatBase::opStatus status = value_or_err->convertToInteger( in CastToEnumType()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DLiteralSupport.cpp1563 llvm::APFloat::opStatus
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp2812 APFloat::opStatus St) { in checkFloatingPointResult()
2835 if ((St & APFloat::opStatus::opInvalidOp) && in checkFloatingPointResult()
2860 APFloat::opStatus St; in HandleFloatToFloatCast()
2886 APFloat::opStatus St = Result.convertFromAPInt(Value, Value.isSigned(), RM); in HandleIntToFloatCast()
3062 APFloat::opStatus St; in handleFloatFloatBinOp()
4924 APFloat::opStatus St; in found()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp7916 APFloat::opStatus MinStatus = in lowerFPTOINT_SAT()
7918 APFloat::opStatus MaxStatus = in lowerFPTOINT_SAT()
7920 bool AreExactFloatBounds = !(MinStatus & APFloat::opStatus::opInexact) && in lowerFPTOINT_SAT()
7921 !(MaxStatus & APFloat::opStatus::opInexact); in lowerFPTOINT_SAT()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp6902 APFloat::opStatus fs = V.roundToIntegral(APFloat::rmTowardPositive); in FoldConstantArithmetic()
6908 APFloat::opStatus fs = V.roundToIntegral(APFloat::rmTowardZero); in FoldConstantArithmetic()
6914 APFloat::opStatus fs = V.roundToIntegral(APFloat::rmTowardNegative); in FoldConstantArithmetic()
6932 APFloat::opStatus s = in FoldConstantArithmetic()
H A DTargetLowering.cpp11673 APFloat::opStatus MinStatus = in expandFP_TO_INT_SAT()
11675 APFloat::opStatus MaxStatus = in expandFP_TO_INT_SAT()
11677 bool AreExactFloatBounds = !(MinStatus & APFloat::opStatus::opInexact) && in expandFP_TO_INT_SAT()
11678 !(MaxStatus & APFloat::opStatus::opInexact); in expandFP_TO_INT_SAT()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp3085 APFloat::opStatus Status; in optimizeRemquo()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp11716 llvm::APFloat::opStatus Result = Value.convertToInteger( in DiagnoseFloatingImpCast()
12407 llvm::APFloat::opStatus ConversionStatus = in CheckImplicitConversion()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/AsmParser/
H A DAMDGPUAsmParser.cpp2048 APFloat::opStatus Status = FPLiteral.convert(*getFltSemantics(VT), in canLosslesslyConvertToFPType()

12