|
LLVM 24.0.0git
|
#include "llvm/ADT/APFloat.h"
Public Types | |
| enum | cmpResult { cmpLessThan , cmpEqual , cmpGreaterThan , cmpUnordered } |
| IEEE-754R 5.11: Floating Point Comparison Relations. More... | |
| enum | opStatus { opOK = 0x00 , opInvalidOp = 0x01 , opDivByZero = 0x02 , opOverflow = 0x04 , opUnderflow = 0x08 , opInexact = 0x10 } |
| IEEE-754R 7: Default exception handling. More... | |
| enum | fltCategory { fcInfinity , fcNaN , fcNormal , fcZero } |
| Category of internally-represented number. More... | |
| enum | uninitializedTag { uninitialized } |
| Convenience enum used to construct an uninitialized APFloat. More... | |
| enum | IlogbErrorKinds { IEK_Zero = INT_MIN + 1 , IEK_NaN = INT_MIN , IEK_Inf = INT_MAX } |
Enumeration of ilogb error results. More... | |
| typedef APInt::WordType | integerPart |
| using | ExponentType = int32_t |
| A signed type to represent a floating point numbers unbiased exponent. | |
| using | roundingMode = llvm::RoundingMode |
| IEEE-754R 4.3: Rounding-direction attributes. | |
Static Public Attributes | |
| static constexpr unsigned | integerPartWidth = APInt::APINT_BITS_PER_WORD |
| static constexpr roundingMode | rmNearestTiesToEven |
| static constexpr roundingMode | rmTowardPositive = RoundingMode::TowardPositive |
| static constexpr roundingMode | rmTowardNegative = RoundingMode::TowardNegative |
| static constexpr roundingMode | rmTowardZero = RoundingMode::TowardZero |
| static constexpr roundingMode | rmNearestTiesToAway |
| using llvm::APFloatBase::ExponentType = int32_t |
IEEE-754R 7: Default exception handling.
opUnderflow or opOverflow are always returned or-ed with opInexact.
APFloat models this behavior specified by IEEE-754: "For operations producing results in floating-point format, the default result of an operation that signals the invalid operation exception shall be a quiet NaN."
| Enumerator | |
|---|---|
| opOK | |
| opInvalidOp | |
| opDivByZero | |
| opOverflow | |
| opUnderflow | |
| opInexact | |
|
inlinestaticconstexpr |
Definition at line 303 of file APFloat.h.
Referenced by llvm::detail::EnumToSemanticsCE(), llvm::AMDGPU::evaluateRcp(), llvm::SelectionDAG::FoldConstantArithmetic(), llvm::ConstantDataSequential::getElementAsAPFloat(), llvm::MVT::getFltSemantics(), getOneFP(), getOpFltSemantics(), getZeroFP(), llvm::ConstantFP::isValueValidForType(), llvm::NVPTXFloatMCExpr::printImpl(), llvm::APFixedPoint::promoteFloatSemantics(), SemanticsToEnum(), shrinkFPConstant(), and llvm::X86TargetLowering::X86TargetLowering().
|
inlinestaticconstexpr |
A Pseudo fltsemantic used to construct APFloats that cannot conflict with anything real.
Definition at line 350 of file APFloat.h.
Referenced by llvm::detail::EnumToSemanticsCE().
|
static |
Definition at line 451 of file APFloat.cpp.
References assert(), and llvm::detail::EnumToSemanticsCE().
Referenced by llvm::TargetLowering::expandCONVERT_FROM_ARBITRARY_FP(), llvm::TargetLowering::expandCONVERT_TO_ARBITRARY_FP(), llvm::LLT::floatingPoint(), and llvm::getFltSemanticForLLT().
|
inlinestaticconstexpr |
Definition at line 344 of file APFloat.h.
Referenced by llvm::detail::EnumToSemanticsCE(), and SemanticsToEnum().
|
inlinestaticconstexpr |
Definition at line 341 of file APFloat.h.
Referenced by llvm::detail::EnumToSemanticsCE(), and SemanticsToEnum().
|
inlinestaticconstexpr |
Definition at line 338 of file APFloat.h.
Referenced by llvm::detail::EnumToSemanticsCE(), and SemanticsToEnum().
|
inlinestaticconstexpr |
Definition at line 330 of file APFloat.h.
Referenced by llvm::detail::EnumToSemanticsCE(), and SemanticsToEnum().
|
inlinestaticconstexpr |
Definition at line 320 of file APFloat.h.
Referenced by llvm::detail::EnumToSemanticsCE(), and SemanticsToEnum().
|
inlinestaticconstexpr |
Definition at line 327 of file APFloat.h.
Referenced by llvm::detail::EnumToSemanticsCE(), and SemanticsToEnum().
|
inlinestaticconstexpr |
Definition at line 321 of file APFloat.h.
Referenced by llvm::detail::EnumToSemanticsCE(), and SemanticsToEnum().
|
inlinestaticconstexpr |
Definition at line 324 of file APFloat.h.
Referenced by llvm::detail::EnumToSemanticsCE(), and SemanticsToEnum().
|
inlinestaticconstexpr |
Definition at line 316 of file APFloat.h.
Referenced by llvm::detail::EnumToSemanticsCE(), and SemanticsToEnum().
|
inlinestaticconstexpr |
Definition at line 317 of file APFloat.h.
Referenced by llvm::detail::EnumToSemanticsCE(), and SemanticsToEnum().
|
inlinestaticconstexpr |
Definition at line 335 of file APFloat.h.
Referenced by llvm::detail::EnumToSemanticsCE(), and SemanticsToEnum().
|
inlinestaticconstexpr |
Definition at line 332 of file APFloat.h.
Referenced by llvm::detail::EnumToSemanticsCE(), llvm::APFloat::hasSignificand(), and SemanticsToEnum().
|
inlinestaticconstexpr |
Definition at line 331 of file APFloat.h.
Referenced by llvm::detail::EnumToSemanticsCE(), and SemanticsToEnum().
Returns the size in bits of a valid arbitrary floating-point format string, or 0 if the string is not a valid format.
Covers every format accepted by isValidArbitraryFPFormat, not only those getArbitraryFPSemantics can currently lower.
Definition at line 6377 of file APFloat.cpp.
References llvm::StringSwitch< T, R >::Case(), llvm::StringSwitch< T, R >::Default(), llvm::Format, and getSizeInBits().
Referenced by isValidArbitraryFPFormat().
|
static |
Returns the fltSemantics for a given arbitrary FP format string, or nullptr if invalid.
Definition at line 6398 of file APFloat.cpp.
References llvm::StringSwitch< T, R >::Case(), llvm::StringSwitch< T, R >::Default(), and llvm::Format.
Referenced by computeKnownFPClass().
|
static |
Returns the size of the floating point number (in bits) in the given semantics.
Definition at line 673 of file APFloat.cpp.
References llvm::fltSemantics::sizeInBits.
Referenced by llvm::MachineIRBuilder::buildFConstant(), llvm::ConstantFoldUnaryFPOp(), llvm::TargetLowering::expandCONVERT_FROM_ARBITRARY_FP(), llvm::TargetLowering::expandCONVERT_TO_ARBITRARY_FP(), llvm::LLT::floatingPoint(), getArbitraryFPFormatSizeInBits(), and llvm::getFConstantVRegValWithLookThrough().
|
static |
Definition at line 655 of file APFloat.cpp.
References llvm::fltSemantics::hasSignBitInMSB.
Referenced by llvm::SelectionDAG::computeKnownBits(), llvm::TargetLowering::SimplifyDemandedBits(), llvm::InstCombinerImpl::visitAnd(), llvm::InstCombinerImpl::visitCallInst(), llvm::InstCombinerImpl::visitOr(), and llvm::InstCombinerImpl::visitXor().
|
inlinestaticconstexpr |
Definition at line 305 of file APFloat.h.
Referenced by llvm::APFloat::APFloat(), checkCVTFixedPointOperandWithFBitsForVectors(), combineBitcast(), combineIntDivRem(), convertIntToDoubleImm(), emitDebugValueComment(), llvm::detail::EnumToSemanticsCE(), fixFuncEntryCount(), llvm::SelectionDAG::FoldConstantArithmetic(), llvm::X86TTIImpl::getArithmeticInstrCost(), getConstantVector(), getConstantVector(), llvm::ConstantDataSequential::getElementAsAPFloat(), llvm::getFltSemanticForLLT(), getFltSemantics(), llvm::MVT::getFltSemantics(), llvm::RISCVLoadFPImm::getLoadFPImm(), getOneFP(), getOpFltSemantics(), getZeroFP(), isInv2Pi(), isInv2Pi(), llvm::ConstantFP::isValueValidForType(), llvm::AMDGPULegalizerInfo::legalizeFEXPF64(), llvm::AMDGPULegalizerInfo::legalizeFroundeven(), llvm::AMDGPULegalizerInfo::legalizeRsqClampIntrinsic(), LLVMConstRealGetDouble(), llvm::LegalizerHelper::lowerFPTOUI(), llvm::AMDGPUTargetLowering::LowerFROUNDEVEN(), llvm::ARMAsmPrinter::lowerOperand(), LowerUINT_TO_FP_i64(), lowerUINT_TO_FP_vXi32(), llvm::VPIRMetadata::print(), llvm::SDNode::print_details(), llvm::NVPTXFloatMCExpr::printImpl(), llvm::WebAssemblyInstPrinter::printOperand(), llvm::APFixedPoint::promoteFloatSemantics(), SemanticsToEnum(), llvm::shortestDigitCount(), and shrinkFPConstant().
|
inlinestaticconstexpr |
Definition at line 302 of file APFloat.h.
Referenced by canSafelyConvertTo16Bit(), checkCVTFixedPointOperandWithFBitsForVectors(), convertNvvmIntrinsicToLlvm(), llvm::detail::EnumToSemanticsCE(), llvm::AMDGPU::evaluateRcp(), llvm::SelectionDAG::FoldConstantArithmetic(), getConstantVector(), getConstantVector(), llvm::ConstantDataSequential::getElementAsAPFloat(), llvm::getFltSemanticForLLT(), getFltSemantics(), llvm::MVT::getFltSemantics(), llvm::RISCVLoadFPImm::getLoadFPImm(), getOneFP(), getOpFltSemantics(), getScalarAtomicRMWExpansion(), getZeroFP(), llvm::GCNTTIImpl::instCombineIntrinsic(), isFPExtFromF16OrConst(), isInv2Pi(), isInv2Pi(), llvm::ConstantFP::isValueValidForType(), matchFPExtFromF16(), llvm::NVPTXFloatMCExpr::printImpl(), llvm::APFixedPoint::promoteFloatSemantics(), SemanticsToEnum(), shrinkFPConstant(), strictFPExtFromF16(), llvm::NVPTXTargetLowering::useF16FTZ(), and llvm::X86TargetLowering::X86TargetLowering().
|
inlinestaticconstexpr |
Definition at line 306 of file APFloat.h.
Referenced by llvm::detail::EnumToSemanticsCE(), llvm::SelectionDAG::FoldConstantArithmetic(), llvm::getFltSemanticForLLT(), llvm::MVT::getFltSemantics(), llvm::ConstantFP::isValueValidForType(), llvm::APFixedPoint::promoteFloatSemantics(), SemanticsToEnum(), llvm::SystemZVectorConstantInfo::SystemZVectorConstantInfo(), and llvm::X86TargetLowering::X86TargetLowering().
|
inlinestaticconstexpr |
Definition at line 304 of file APFloat.h.
Referenced by llvm::APFloat::APFloat(), llvm::GCNTTIImpl::canSimplifyLegacyMulToMul(), llvm::checkConvertToNonDenormSingle(), checkCVTFixedPointOperandWithFBitsForVectors(), combineIntDivRem(), convertNvvmIntrinsicToLlvm(), llvm::convertToNonDenormSingle(), llvm::detail::EnumToSemanticsCE(), llvm::SelectionDAG::FoldConstantArithmetic(), llvm::generateReadImageInst(), llvm::X86TTIImpl::getArithmeticInstrCost(), getConstantVector(), getConstantVector(), llvm::ConstantDataSequential::getElementAsAPFloat(), getF32Constant(), llvm::getFltSemanticForLLT(), getFltSemantics(), llvm::MVT::getFltSemantics(), llvm::RISCVLoadFPImm::getLoadFPImm(), getOneFP(), getOpFltSemantics(), getScalarAtomicRMWExpansion(), llvm::AMDGPULegalizerInfo::getScaledLogInput(), llvm::AMDGPUTargetLowering::getScaledLogInput(), getZeroFP(), llvm::Attributor::identifyDefaultAbstractAttributes(), isInv2Pi(), isInv2Pi(), llvm::ConstantFP::isValueValidForType(), llvm::AMDGPULegalizerInfo::legalizeFExp(), llvm::AMDGPULegalizerInfo::legalizeFlogCommon(), llvm::AMDGPULegalizerInfo::legalizeFPow(), llvm::AMDGPULegalizerInfo::legalizeRsqClampIntrinsic(), llvm::AMDGPUTargetLowering::lowerFEXP(), llvm::AMDGPUTargetLowering::lowerFPOW(), llvm::LegalizerHelper::lowerFPTOUI(), lowerUINT_TO_FP_vXi32(), llvm::AMDGPUTargetLowering::needsDenormHandlingF32(), needsDenormHandlingF32(), llvm::SDNode::print_details(), llvm::NVPTXFloatMCExpr::printImpl(), llvm::WebAssemblyInstPrinter::printOperand(), llvm::APFixedPoint::promoteFloatSemantics(), SemanticsToEnum(), shrinkFPConstant(), llvm::pdb::Variant::toAPFloat(), llvm::NVPTXTargetLowering::useF32FTZ(), and valueHasFloatPrecision().
|
static |
Definition at line 650 of file APFloat.cpp.
References S_IEEEquad, and SemanticsToEnum().
Referenced by llvm::KnownFPClass::canonicalize(), llvm::computeConstantRange(), llvm::ConstantFoldUnaryFPOp(), llvm::TargetLowering::expandIS_FPCLASS(), and isRepresentableAsExactInteger().
|
static |
Returns whether converting a value from From to To is known to preserve all information.
If IgnoreNaNs is true, differences between NaN representations are ignored, but NaNs must remain NaNs and infinities must remain infinities.
Definition at line 512 of file APFloat.cpp.
References APFloat, llvm::APFloat::convert(), llvm::FiniteOnly, llvm::APFloat::getSmallest(), llvm::fltSemantics::hasSignedRepr, llvm::fltSemantics::hasZero, llvm::IEEE754, isRepresentableBy(), llvm::fltSemantics::nanEncoding, llvm::NanOnly, llvm::NegativeZero, llvm::fltSemantics::nonFiniteBehavior, and rmNearestTiesToEven.
Referenced by llvm::InstCombinerImpl::visitFPTrunc().
|
static |
Definition at line 659 of file APFloat.cpp.
Referenced by computeKnownFPClass(), and fpconvert().
|
static |
Definition at line 506 of file APFloat.cpp.
Referenced by llvm::APFloat::convertToDouble(), llvm::APFloat::convertToFloat(), and isLosslesslyConvertibleTo().
Returns true if the given string is a valid arbitrary floating-point format interpretation for llvm.convert.to.arbitrary.fp and llvm.convert.from.arbitrary.fp intrinsics.
Definition at line 6394 of file APFloat.cpp.
References llvm::Format, and getArbitraryFPFormatSizeInBits().
|
inlinestaticconstexpr |
Definition at line 310 of file APFloat.h.
Referenced by llvm::detail::EnumToSemanticsCE(), llvm::KnownFPClass::fadd(), llvm::detail::frexp(), llvm::MVT::getFltSemantics(), llvm::ConstantFP::isValueValidForType(), llvm::KnownFPClass::ldexp(), llvm::detail::scalbn(), SemanticsToEnum(), and writeAPFloatInternal().
|
inlinestaticconstexpr |
Definition at line 313 of file APFloat.h.
Referenced by llvm::detail::EnumToSemanticsCE(), and SemanticsToEnum().
|
static |
Definition at line 642 of file APFloat.cpp.
References llvm::IEEE754, and llvm::fltSemantics::nonFiniteBehavior.
Referenced by computeKnownFPClass(), ldexpSaturatingAddIsSafe(), and llvm::APFloat::toStringShortest().
|
static |
Definition at line 646 of file APFloat.cpp.
References llvm::FiniteOnly, and llvm::fltSemantics::nonFiniteBehavior.
Referenced by computeKnownFPClass(), and llvm::APFloat::toStringShortest().
|
static |
Definition at line 638 of file APFloat.cpp.
References llvm::fltSemantics::hasSignedRepr.
Referenced by computeKnownFPClass(), llvm::TargetLowering::expandCONVERT_FROM_ARBITRARY_FP(), and llvm::TargetLowering::expandCONVERT_TO_ARBITRARY_FP().
|
static |
Definition at line 634 of file APFloat.cpp.
References llvm::fltSemantics::hasZero.
Referenced by computeKnownFPClass().
|
static |
Definition at line 623 of file APFloat.cpp.
References isSigned(), and semanticsMaxExponent().
Referenced by isSaturatingMinMax().
|
static |
Definition at line 613 of file APFloat.cpp.
References llvm::fltSemantics::maxExponent.
Referenced by llvm::FunctionComparator::cmpAPFloats(), llvm::computeConstantRange(), computeKnownFPClass(), llvm::TargetLowering::expandCONVERT_FROM_ARBITRARY_FP(), llvm::InstCombinerImpl::foldICmpInstWithConstant(), llvm::SPIRVInstPrinter::printOpConstantVarOps(), and semanticsIntSizeInBits().
|
static |
Definition at line 617 of file APFloat.cpp.
References llvm::fltSemantics::minExponent.
Referenced by llvm::FunctionComparator::cmpAPFloats(), llvm::computeConstantRange(), llvm::TargetLowering::expandCONVERT_FROM_ARBITRARY_FP(), llvm::TargetLowering::expandCONVERT_TO_ARBITRARY_FP(), llvm::KnownFPClass::fadd(), and llvm::shortestDigitCount().
|
static |
Definition at line 609 of file APFloat.cpp.
References llvm::fltSemantics::precision.
Referenced by CastIntSETCCtoFP(), llvm::FunctionComparator::cmpAPFloats(), combineIntDivRem(), llvm::computeConstantRange(), llvm::TargetLowering::expandCONVERT_FROM_ARBITRARY_FP(), llvm::TargetLowering::expandCONVERT_TO_ARBITRARY_FP(), llvm::KnownFPClass::fadd(), llvm::KnownFPClass::fmul(), foldFPtoI(), FoldIntToFPToInt(), llvm::X86TTIImpl::getArithmeticInstrCost(), getEstimate(), isRepresentableAsExactInteger(), llvm::KnownFPClass::ldexp(), lowerFTRUNC_FCEIL_FFLOOR_FROUND(), lowerVectorFTRUNC_FCEIL_FFLOOR_FROUND(), lowerVectorStrictFTRUNC_FCEIL_FFLOOR_FROUND(), llvm::SPIRVInstPrinter::printOpConstantVarOps(), llvm::detail::IEEEFloat::roundToIntegral(), and llvm::shortestDigitCount().
|
static |
Definition at line 620 of file APFloat.cpp.
References llvm::fltSemantics::sizeInBits.
Referenced by llvm::FunctionComparator::cmpAPFloats(), and llvm::shortestDigitCount().
|
static |
Definition at line 459 of file APFloat.cpp.
References BFloat(), Float4E2M1FN(), Float6E2M3FN(), Float6E3M2FN(), Float8E3M4(), Float8E4M3(), Float8E4M3B11FNUZ(), Float8E4M3FN(), Float8E4M3FNUZ(), Float8E5M2(), Float8E5M2FNUZ(), Float8E5M3FNU(), Float8E8M0FNU(), FloatTF32(), IEEEdouble(), IEEEhalf(), IEEEquad(), IEEEsingle(), llvm_unreachable, PPCDoubleDouble(), PPCDoubleDoubleLegacy(), S_BFloat, S_Float4E2M1FN, S_Float6E2M3FN, S_Float6E3M2FN, S_Float8E3M4, S_Float8E4M3, S_Float8E4M3B11FNUZ, S_Float8E4M3FN, S_Float8E4M3FNUZ, S_Float8E5M2, S_Float8E5M2FNUZ, S_Float8E5M3FNU, S_Float8E8M0FNU, S_FloatTF32, S_IEEEdouble, S_IEEEhalf, S_IEEEquad, S_IEEEsingle, S_PPCDoubleDouble, S_PPCDoubleDoubleLegacy, S_x87DoubleExtended, and x87DoubleExtended().
Referenced by llvm::KnownFPClass::bitcast(), llvm::exp(), fpconvert(), isIEEELikeFP(), llvm::SIInstrInfo::isInlineConstant(), llvm::ubi::AnyValue::print(), and llvm::KnownFPClass::toKnownBits().
|
inlinestaticconstexpr |
Definition at line 307 of file APFloat.h.
Referenced by llvm::detail::EnumToSemanticsCE(), llvm::MVT::getFltSemantics(), llvm::ConstantFP::isValueValidForType(), SemanticsToEnum(), toStringAPFloat(), and llvm::X86TargetLowering::X86TargetLowering().
|
friend |
Definition at line 299 of file APFloat.h.
References APFloat.
Referenced by APFloat, llvm::APFloat::convert(), llvm::exp(), llvm::APFloat::getAllOnesValue(), and isLosslesslyConvertibleTo().
|
friend |
|
friend |
|
staticconstexpr |
Definition at line 153 of file APFloat.h.
Referenced by llvm::lostFractionThroughTruncation(), llvm::partAsHex(), llvm::partCountForBits(), llvm::powerOfFivePartsForExponent(), and llvm::ulpsFromBoundary().
|
staticconstexpr |
Definition at line 384 of file APFloat.h.
Referenced by llvm::ConstantFoldUnaryFPOp(), and llvm::FixedPointSemantics::fitsInFloatSemantics().
|
staticconstexpr |
Definition at line 379 of file APFloat.h.
Referenced by llvm::APFloat::APFloat(), llvm::MachineIRBuilder::buildFConstant(), canLosslesslyConvertToFPType(), llvm::checkConvertToNonDenormSingle(), llvm::ConstantFoldBinaryInstruction(), llvm::ConstantFoldCastInstruction(), llvm::ConstantFoldFPBinOp(), llvm::ConstantFoldIntToFloat(), llvm::ConstantFoldUnaryFPOp(), convertNvvmIntrinsicToLlvm(), llvm::APFloat::convertToDouble(), llvm::APFixedPoint::convertToFloat(), llvm::APFloat::convertToFloat(), llvm::convertToNonDenormSingle(), emitDebugValueComment(), llvm::exp(), llvm::TargetLowering::expandFP_TO_UINT(), fitsInFPType(), fixFuncEntryCount(), llvm::SelectionDAG::FoldConstantArithmetic(), llvm::SelectionDAG::foldConstantFPMath(), foldFCmpFpTrunc(), llvm::InstCombinerImpl::foldFCmpIntToFPConst(), foldFPToIntToFP(), foldFrexpOfSelect(), llvm::InstCombinerImpl::foldICmpInstWithConstant(), llvm::ConstantFP::get(), llvm::StringRef::getAsDouble(), getConstantFloat(), llvm::SelectionDAG::getConstantFP(), llvm::nvvm::GetFDivRoundingMode(), llvm::nvvm::GetFPToIntegerRoundingMode(), llvm::RISCVLoadFPImm::getLoadFPImm(), llvm::SelectionDAG::getNode(), llvm::nvvm::GetRCPRoundingMode(), llvm::nvvm::GetRoundingModeName(), llvm::harrisonUlp(), llvm::detail::IEEEFloat::ilogb, llvm::GCNTTIImpl::instCombineIntrinsic(), llvm::APFloat::isExactlyValue(), llvm::ConstantFP::isExactlyValue(), isFPExtFromF16OrConst(), isLosslesslyConvertibleTo(), isSupportedFPArith(), llvm::ConstantFP::isValueValidForType(), llvm::ConstantFPSDNode::isValueValidForType(), ldexpSaturatingAddIsSafe(), LLVMConstRealGetDouble(), llvm::LegalizerHelper::lowerFPTOUI(), LowerFROUND(), lowerFTRUNC_FCEIL_FFLOOR_FROUND(), lowerVectorFTRUNC_FCEIL_FFLOOR_FROUND(), lowerVectorStrictFTRUNC_FCEIL_FFLOOR_FROUND(), llvm::CombinerHelper::matchConstantFoldFMA(), matchFPExtFromF16(), llvm::APFloat::operator*(), llvm::APFloat::operator+(), llvm::APFloat::operator-(), llvm::APFloat::operator/(), llvm::AMDGPUTargetLowering::PerformDAGCombine(), llvm::NVPTXFloatMCExpr::printImpl(), llvm::shortestDigitCount(), strictFPExtFromF16(), toString(), llvm::APFloat::toStringRoundTrip(), valueHasFloatPrecision(), llvm::InstCombinerImpl::visitCallInst(), llvm::ubi::InstExecutor::visitFAdd(), llvm::InstCombinerImpl::visitFCmpInst(), llvm::ubi::InstExecutor::visitFDiv(), llvm::ubi::InstExecutor::visitFMul(), llvm::ubi::InstExecutor::visitFSub(), and llvm::X86TargetLowering::X86TargetLowering().
|
staticconstexpr |
Definition at line 382 of file APFloat.h.
Referenced by llvm::ConstantFoldUnaryFPOp(), llvm::nvvm::GetFDivRoundingMode(), llvm::nvvm::GetFPToIntegerRoundingMode(), llvm::nvvm::GetRCPRoundingMode(), and llvm::nvvm::GetRoundingModeName().
|
staticconstexpr |
Definition at line 381 of file APFloat.h.
Referenced by llvm::ConstantFoldUnaryFPOp(), llvm::nvvm::GetFDivRoundingMode(), llvm::nvvm::GetFPToIntegerRoundingMode(), llvm::nvvm::GetRCPRoundingMode(), and llvm::nvvm::GetRoundingModeName().
|
staticconstexpr |
Definition at line 383 of file APFloat.h.
Referenced by llvm::ubi::InstExecutor::callIntrinsic(), canSafelyConvertTo16Bit(), llvm::CheckFixedPointOperandConstant(), llvm::ConstantFoldCastInstruction(), llvm::ConstantFoldUnaryFPOp(), llvm::APFixedPoint::convertToFloat(), ConvertToSInt(), llvm::TargetLowering::expandFP_TO_INT_SAT(), llvm::SelectionDAG::FoldConstantArithmetic(), llvm::InstCombinerImpl::foldFCmpIntToFPConst(), foldFPtoI(), foldFPToIntToFP(), llvm::BuildVectorSDNode::getConstantFPSplatPow2ToLog2Int(), llvm::APFloat::getExactInverse(), llvm::nvvm::GetFDivRoundingMode(), llvm::PPCTargetLowering::getFPImmAction(), llvm::nvvm::GetFPToIntegerRoundingMode(), llvm::APFixedPoint::getFromFloatValue(), llvm::nvvm::GetRCPRoundingMode(), llvm::MCSchedModel::getResourceBufferSize(), llvm::nvvm::GetRoundingModeName(), llvm::GCNTTIImpl::instCombineIntrinsic(), isMinMaxCmpSelectEliminable(), llvm::LegalizerHelper::lowerFPTOINT_SAT(), llvm::ARMAsmPrinter::lowerOperand(), PerformVMulVCTPCombine(), and llvm::ubi::InstExecutor::visitFPToIntInst().