|
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 | |
|
inlinestatic |
Definition at line 303 of file APFloat.h.
Referenced by EnumToSemantics(), 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().
|
inlinestatic |
|
static |
Definition at line 134 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::TargetLowering::expandCONVERT_FROM_ARBITRARY_FP(), llvm::TargetLowering::expandCONVERT_TO_ARBITRARY_FP(), llvm::LLT::floatingPoint(), and llvm::getFltSemanticForLLT().
|
inlinestatic |
Definition at line 325 of file APFloat.h.
Referenced by EnumToSemantics(), and SemanticsToEnum().
|
inlinestatic |
Definition at line 324 of file APFloat.h.
Referenced by EnumToSemantics(), and SemanticsToEnum().
|
inlinestatic |
Definition at line 323 of file APFloat.h.
Referenced by EnumToSemantics(), and SemanticsToEnum().
|
inlinestatic |
Definition at line 319 of file APFloat.h.
Referenced by EnumToSemantics(), and SemanticsToEnum().
|
inlinestatic |
Definition at line 313 of file APFloat.h.
Referenced by EnumToSemantics(), and SemanticsToEnum().
|
inlinestatic |
Definition at line 316 of file APFloat.h.
Referenced by EnumToSemantics(), and SemanticsToEnum().
|
inlinestatic |
Definition at line 314 of file APFloat.h.
Referenced by EnumToSemantics(), and SemanticsToEnum().
|
inlinestatic |
Definition at line 315 of file APFloat.h.
Referenced by EnumToSemantics(), and SemanticsToEnum().
|
inlinestatic |
Definition at line 311 of file APFloat.h.
Referenced by EnumToSemantics(), and SemanticsToEnum().
|
inlinestatic |
Definition at line 312 of file APFloat.h.
Referenced by EnumToSemantics(), and SemanticsToEnum().
|
inlinestatic |
Definition at line 322 of file APFloat.h.
Referenced by EnumToSemantics(), and SemanticsToEnum().
|
inlinestatic |
Definition at line 321 of file APFloat.h.
Referenced by EnumToSemantics(), llvm::APFloat::hasSignificand(), and SemanticsToEnum().
|
inlinestatic |
Definition at line 320 of file APFloat.h.
Referenced by EnumToSemantics(), 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 6110 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 6131 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 382 of file APFloat.cpp.
References llvm::fltSemantics::sizeInBits.
Referenced by llvm::MachineIRBuilder::buildFConstant(), llvm::TargetLowering::expandCONVERT_FROM_ARBITRARY_FP(), llvm::TargetLowering::expandCONVERT_TO_ARBITRARY_FP(), llvm::LLT::floatingPoint(), and getArbitraryFPFormatSizeInBits().
|
static |
Definition at line 364 of file APFloat.cpp.
References llvm::fltSemantics::hasSignBitInMSB.
Referenced by llvm::InstCombinerImpl::visitAnd(), llvm::InstCombinerImpl::visitCallInst(), llvm::InstCombinerImpl::visitOr(), and llvm::InstCombinerImpl::visitXor().
|
inlinestatic |
Definition at line 305 of file APFloat.h.
Referenced by llvm::APFloat::APFloat(), checkCVTFixedPointOperandWithFBitsForVectors(), combineBitcast(), constantFoldFpUnary(), convertIntToDoubleImm(), emitDebugValueComment(), EnumToSemantics(), fixFuncEntryCount(), llvm::SelectionDAG::FoldConstantArithmetic(), 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::SDNode::print_details(), llvm::NVPTXFloatMCExpr::printImpl(), llvm::WebAssemblyInstPrinter::printOperand(), llvm::APFixedPoint::promoteFloatSemantics(), SemanticsToEnum(), and shrinkFPConstant().
|
inlinestatic |
Definition at line 302 of file APFloat.h.
Referenced by canSafelyConvertTo16Bit(), checkCVTFixedPointOperandWithFBitsForVectors(), convertNvvmIntrinsicToLlvm(), EnumToSemantics(), llvm::AMDGPU::evaluateRcp(), llvm::SelectionDAG::FoldConstantArithmetic(), getConstantVector(), getConstantVector(), llvm::ConstantDataSequential::getElementAsAPFloat(), llvm::getFltSemanticForLLT(), getFltSemantics(), llvm::MVT::getFltSemantics(), llvm::RISCVLoadFPImm::getLoadFPImm(), getOneFP(), getOpFltSemantics(), getZeroFP(), llvm::GCNTTIImpl::instCombineIntrinsic(), isFPExtFromF16OrConst(), isInv2Pi(), isInv2Pi(), llvm::ConstantFP::isValueValidForType(), matchFPExtFromF16(), llvm::NVPTXFloatMCExpr::printImpl(), llvm::APFixedPoint::promoteFloatSemantics(), SemanticsToEnum(), llvm::NVPTXTargetLowering::shouldExpandAtomicRMWInIR(), shrinkFPConstant(), strictFPExtFromF16(), and llvm::X86TargetLowering::X86TargetLowering().
|
inlinestatic |
Definition at line 306 of file APFloat.h.
Referenced by EnumToSemantics(), llvm::SelectionDAG::FoldConstantArithmetic(), llvm::getFltSemanticForLLT(), llvm::MVT::getFltSemantics(), llvm::ConstantFP::isValueValidForType(), llvm::APFixedPoint::promoteFloatSemantics(), SemanticsToEnum(), llvm::SystemZVectorConstantInfo::SystemZVectorConstantInfo(), and llvm::X86TargetLowering::X86TargetLowering().
|
inlinestatic |
Definition at line 304 of file APFloat.h.
Referenced by llvm::APFloat::APFloat(), llvm::GCNTTIImpl::canSimplifyLegacyMulToMul(), llvm::checkConvertToNonDenormSingle(), checkCVTFixedPointOperandWithFBitsForVectors(), combineIntDivRem(), convertNvvmIntrinsicToLlvm(), llvm::convertToNonDenormSingle(), EnumToSemantics(), llvm::SelectionDAG::FoldConstantArithmetic(), llvm::generateReadImageInst(), getConstantVector(), getConstantVector(), llvm::ConstantDataSequential::getElementAsAPFloat(), getF32Constant(), llvm::getFltSemanticForLLT(), getFltSemantics(), llvm::MVT::getFltSemantics(), llvm::RISCVLoadFPImm::getLoadFPImm(), getOneFP(), getOpFltSemantics(), llvm::AMDGPULegalizerInfo::getScaledLogInput(), llvm::AMDGPUTargetLowering::getScaledLogInput(), getZeroFP(), llvm::Attributor::identifyDefaultAbstractAttributes(), isInv2Pi(), isInv2Pi(), llvm::ConstantFP::isValueValidForType(), llvm::AMDGPULegalizerInfo::legalizeFExp(), llvm::AMDGPULegalizerInfo::legalizeFlogCommon(), llvm::AMDGPULegalizerInfo::legalizeRsqClampIntrinsic(), llvm::AMDGPUTargetLowering::lowerFEXP(), 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(), llvm::NVPTXTargetLowering::shouldExpandAtomicRMWInIR(), shrinkFPConstant(), llvm::pdb::Variant::toAPFloat(), llvm::NVPTXTargetLowering::useF32FTZ(), and valueHasFloatPrecision().
|
static |
Definition at line 359 of file APFloat.cpp.
References S_IEEEquad, and SemanticsToEnum().
Referenced by llvm::KnownFPClass::bitcast(), llvm::computeConstantRange(), 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 236 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.
|
static |
Definition at line 368 of file APFloat.cpp.
Referenced by computeKnownFPClass(), and llvm::KnownFPClass::fpext().
|
static |
Definition at line 230 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 6127 of file APFloat.cpp.
References llvm::Format, and getArbitraryFPFormatSizeInBits().
|
inlinestatic |
Definition at line 307 of file APFloat.h.
Referenced by EnumToSemantics(), llvm::detail::frexp(), llvm::MVT::getFltSemantics(), llvm::ConstantFP::isValueValidForType(), llvm::detail::scalbn(), SemanticsToEnum(), and writeAPFloatInternal().
|
inlinestatic |
Definition at line 308 of file APFloat.h.
Referenced by EnumToSemantics(), and SemanticsToEnum().
|
static |
Definition at line 351 of file APFloat.cpp.
References llvm::IEEE754, and llvm::fltSemantics::nonFiniteBehavior.
Referenced by computeKnownFPClass(), and ldexpSaturatingAddIsSafe().
|
static |
Definition at line 355 of file APFloat.cpp.
References llvm::FiniteOnly, and llvm::fltSemantics::nonFiniteBehavior.
Referenced by computeKnownFPClass().
|
static |
Definition at line 347 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 343 of file APFloat.cpp.
References llvm::fltSemantics::hasZero.
Referenced by computeKnownFPClass().
|
static |
Definition at line 332 of file APFloat.cpp.
References isSigned(), and semanticsMaxExponent().
Referenced by isSaturatingMinMax().
|
static |
Definition at line 322 of file APFloat.cpp.
References llvm::fltSemantics::maxExponent.
Referenced by llvm::FunctionComparator::cmpAPFloats(), llvm::computeConstantRange(), computeKnownFPClass(), llvm::InstCombinerImpl::foldICmpInstWithConstant(), llvm::SPIRVInstPrinter::printOpConstantVarOps(), and semanticsIntSizeInBits().
|
static |
Definition at line 326 of file APFloat.cpp.
References llvm::fltSemantics::minExponent.
Referenced by llvm::FunctionComparator::cmpAPFloats(), llvm::computeConstantRange(), llvm::TargetLowering::expandCONVERT_FROM_ARBITRARY_FP(), and llvm::TargetLowering::expandCONVERT_TO_ARBITRARY_FP().
|
static |
Definition at line 318 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::fmul(), foldFPtoI(), FoldIntToFPToInt(), getEstimate(), isRepresentableAsExactInteger(), llvm::KnownFPClass::ldexp(), lowerFTRUNC_FCEIL_FFLOOR_FROUND(), lowerVectorFTRUNC_FCEIL_FFLOOR_FROUND(), lowerVectorStrictFTRUNC_FCEIL_FFLOOR_FROUND(), llvm::SPIRVInstPrinter::printOpConstantVarOps(), and llvm::detail::IEEEFloat::roundToIntegral().
|
static |
Definition at line 329 of file APFloat.cpp.
References llvm::fltSemantics::sizeInBits.
Referenced by llvm::FunctionComparator::cmpAPFloats().
|
static |
Definition at line 183 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::exp(), isIEEELikeFP(), and llvm::SIInstrInfo::isInlineConstant().
|
inlinestatic |
Definition at line 326 of file APFloat.h.
Referenced by EnumToSemantics(), llvm::ExecutionEngine::getConstantValue(), 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(), and llvm::ulpsFromBoundary().
|
staticconstexpr |
Definition at line 366 of file APFloat.h.
Referenced by constantFoldFpUnary(), and llvm::FixedPointSemantics::fitsInFloatSemantics().
|
staticconstexpr |
Definition at line 361 of file APFloat.h.
Referenced by llvm::APFloat::APFloat(), llvm::MachineIRBuilder::buildFConstant(), canLosslesslyConvertToFPType(), llvm::checkConvertToNonDenormSingle(), llvm::ConstantFoldBinaryInstruction(), llvm::ConstantFoldCastInstruction(), llvm::ConstantFoldFPBinOp(), constantFoldFpUnary(), llvm::ConstantFoldIntToFloat(), 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::ExecutionEngine::getConstantValue(), llvm::nvvm::GetFAddRoundingMode(), llvm::nvvm::GetFDivRoundingMode(), llvm::nvvm::GetFMARoundingMode(), llvm::nvvm::GetFMulRoundingMode(), llvm::nvvm::GetFPToIntegerRoundingMode(), llvm::RISCVLoadFPImm::getLoadFPImm(), llvm::SelectionDAG::getNode(), llvm::nvvm::GetRCPRoundingMode(), llvm::harrisonUlp(), llvm::detail::IEEEFloat::ilogb, llvm::GCNTTIImpl::instCombineIntrinsic(), llvm::APFloat::isExactlyValue(), llvm::ConstantFP::isExactlyValue(), isFPExtFromF16OrConst(), isLosslesslyConvertibleTo(), 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(), strictFPExtFromF16(), toString(), valueHasFloatPrecision(), llvm::InstCombinerImpl::visitCallInst(), llvm::InstCombinerImpl::visitFCmpInst(), and llvm::X86TargetLowering::X86TargetLowering().
|
staticconstexpr |
Definition at line 364 of file APFloat.h.
Referenced by constantFoldFpUnary(), llvm::SelectionDAG::FoldConstantArithmetic(), llvm::nvvm::GetFAddRoundingMode(), llvm::nvvm::GetFDivRoundingMode(), llvm::nvvm::GetFMARoundingMode(), llvm::nvvm::GetFMulRoundingMode(), llvm::nvvm::GetFPToIntegerRoundingMode(), and llvm::nvvm::GetRCPRoundingMode().
|
staticconstexpr |
Definition at line 363 of file APFloat.h.
Referenced by constantFoldFpUnary(), llvm::SelectionDAG::FoldConstantArithmetic(), llvm::nvvm::GetFAddRoundingMode(), llvm::nvvm::GetFDivRoundingMode(), llvm::nvvm::GetFMARoundingMode(), llvm::nvvm::GetFMulRoundingMode(), llvm::nvvm::GetFPToIntegerRoundingMode(), and llvm::nvvm::GetRCPRoundingMode().
|
staticconstexpr |
Definition at line 365 of file APFloat.h.
Referenced by canSafelyConvertTo16Bit(), llvm::CheckFixedPointOperandConstant(), llvm::ConstantFoldCastInstruction(), constantFoldFpUnary(), llvm::APFixedPoint::convertToFloat(), ConvertToSInt(), llvm::TargetLowering::expandFP_TO_INT_SAT(), llvm::SelectionDAG::FoldConstantArithmetic(), llvm::InstCombinerImpl::foldFCmpIntToFPConst(), foldFPtoI(), foldFPToIntToFP(), llvm::BuildVectorSDNode::getConstantFPSplatPow2ToLog2Int(), llvm::ExecutionEngine::getConstantValue(), llvm::APFloat::getExactInverse(), llvm::nvvm::GetFAddRoundingMode(), llvm::nvvm::GetFDivRoundingMode(), llvm::nvvm::GetFMARoundingMode(), llvm::nvvm::GetFMulRoundingMode(), llvm::nvvm::GetFPToIntegerRoundingMode(), llvm::APFixedPoint::getFromFloatValue(), llvm::nvvm::GetRCPRoundingMode(), llvm::MCSchedModel::getResourceBufferSize(), llvm::GCNTTIImpl::instCombineIntrinsic(), llvm::PPCTargetLowering::isFPImmLegal(), isMinMaxCmpSelectEliminable(), llvm::LegalizerHelper::lowerFPTOINT_SAT(), llvm::ARMAsmPrinter::lowerOperand(), and PerformVMulVCTPCombine().