reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/ADT/APFloat.h
  163   static const fltSemantics &IEEEsingle() LLVM_READNONE;

References

gen/lib/Target/NVPTX/NVPTXGenDAGISel.inc
72304   return &N->getValueAPF().getSemantics() == &llvm::APFloat::IEEEsingle() &&
include/llvm/ADT/APFloat.h
  859   explicit APFloat(float f) : U(IEEEFloat(f), IEEEsingle()) {}
include/llvm/CodeGen/SelectionDAG.h
 1384     case MVT::f32:     return APFloat::IEEEsingle();
include/llvm/IR/Type.h
  172     case FloatTyID: return APFloat::IEEEsingle();
lib/AsmParser/LLParser.cpp
 5180         ID.APFloatVal.convert(APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven,
lib/Bitcode/Reader/BitcodeReader.cpp
 2406         V = ConstantFP::get(Context, APFloat(APFloat::IEEEsingle(),
lib/CodeGen/GlobalISel/LegalizerHelper.cpp
 1693       Val.convert(APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven,
 3923   APFloat TwoPExpFP(SrcTy.getSizeInBits() == 32 ? APFloat::IEEEsingle()
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
 4314         return getConstantFP(APFloat(APFloat::IEEEsingle(), Val), DL, VT);
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
 4892   return DAG.getConstantFP(APFloat(APFloat::IEEEsingle(), APInt(32, Flt)), dl,
lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
  571     if (&CSDN->getValueAPF().getSemantics() == &APFloat::IEEEsingle())
lib/IR/AsmWriter.cpp
 1304     if (&APF.getSemantics() == &APFloat::IEEEsingle() ||
lib/IR/ConstantFold.cpp
  598                   DestTy->isFloatTy() ? APFloat::IEEEsingle() :
lib/IR/Constants.cpp
  298                            APFloat::getZero(APFloat::IEEEsingle()));
  704     return &APFloat::IEEEsingle();
  820     else if (&V.getSemantics() == &APFloat::IEEEsingle())
 1328     if (&Val2.getSemantics() == &APFloat::IEEEsingle())
 1330     Val2.convert(APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven, &losesInfo);
 1335         &Val2.getSemantics() == &APFloat::IEEEsingle() ||
 1343            &Val2.getSemantics() == &APFloat::IEEEsingle() ||
 1348            &Val2.getSemantics() == &APFloat::IEEEsingle() ||
 1353            &Val2.getSemantics() == &APFloat::IEEEsingle() ||
 2752     return APFloat(APFloat::IEEEsingle(), APInt(32, EltVal));
lib/IR/Verifier.cpp
 4166       Assert(&Accuracy.getSemantics() == &APFloat::IEEEsingle(),
lib/MC/MCParser/AsmParser.cpp
 1971       return parseDirectiveRealValue(IDVal, APFloat::IEEEsingle());
 2170       return parseDirectiveRealDCB(IDVal, APFloat::IEEEsingle());
lib/Support/APFloat.cpp
  121       return IEEEsingle();
  138     else if (&Sem == &llvm::APFloat::IEEEsingle())
lib/Target/AMDGPU/AMDGPUISelLowering.cpp
 3590   static const APFloat KF32(APFloat::IEEEsingle(), APInt(32, 0x3e22f983));
lib/Target/AMDGPU/AMDGPUPrintfRuntimeBinding.cpp
  418               Val.convert(APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven,
lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
 1454     return &APFloat::IEEEsingle();
 1476     return &APFloat::IEEEsingle();
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
 5949     APFloat RealVal(APFloat::IEEEsingle(), Tok.getString());
lib/Target/NVPTX/NVPTXAsmPrinter.cpp
 1699     APF.convert(APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven, &ignored);
lib/Target/NVPTX/NVPTXMCExpr.cpp
   40     APF.convert(APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven, &Ignored);
lib/Target/X86/X86ISelLowering.cpp
 5418       APFloat FV(APFloat::IEEEsingle(), V);
 8081         Const = ConstantFP::get(C, APFloat(APFloat::IEEEsingle(), Val));
 8249                                     APFloat(APFloat::IEEEsingle(), SplatValue))
18761       APFloat(APFloat::IEEEsingle(), APInt(32, 0xD3000080)), DL, VecFloatVT);
18962     APFloat Thresh(APFloat::IEEEsingle(), APInt(32, 0x5f000000));
lib/Transforms/InstCombine/InstCombineCasts.cpp
 1463   if (fitsInFPType(CFP, APFloat::IEEEsingle()))
lib/Transforms/Utils/SimplifyLibCalls.cpp
 1243     (void)F.convert(APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven,
tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h
 1523   if ((&Node.getSemantics()) == &llvm::APFloat::IEEEsingle())
 1532   if ((&Node.getSemantics()) == &llvm::APFloat::IEEEsingle())
tools/clang/lib/Basic/TargetInfo.cpp
  105   FloatFormat = &llvm::APFloat::IEEEsingle();
  378     FloatFormat = &llvm::APFloat::IEEEsingle();
tools/clang/lib/Basic/Targets/AVR.h
   46     DoubleFormat = &llvm::APFloat::IEEEsingle();
   49     LongDoubleFormat = &llvm::APFloat::IEEEsingle();
tools/clang/lib/Basic/Targets/TCE.h
   67     FloatFormat = &llvm::APFloat::IEEEsingle();
   68     DoubleFormat = &llvm::APFloat::IEEEsingle();
   69     LongDoubleFormat = &llvm::APFloat::IEEEsingle();
tools/clang/lib/CodeGen/CodeGenTypes.cpp
  298   if (&format == &llvm::APFloat::IEEEsingle())
tools/clang/lib/Frontend/InitPreprocessor.cpp
  100   if (Sem == (const llvm::fltSemantics*)&llvm::APFloat::IEEEsingle())
tools/clang/tools/extra/clang-tidy/bugprone/IncorrectRoundingsCheck.cpp
   25   if ((&Node.getSemantics()) == &llvm::APFloat::IEEEsingle())
tools/clang/tools/extra/clang-tidy/readability/MagicNumbersCheck.cpp
   78       llvm::APFloat FloatValue(llvm::APFloat::IEEEsingle());
  140   if (&FloatValue.getSemantics() == &llvm::APFloat::IEEEsingle()) {
tools/lldb/source/Utility/Scalar.cpp
  521       m_float = llvm::APFloat(llvm::APFloat::IEEEsingle());
  591       m_float = llvm::APFloat(llvm::APFloat::IEEEsingle());
  657       m_float = llvm::APFloat(llvm::APFloat::IEEEsingle());
  719       m_float = llvm::APFloat(llvm::APFloat::IEEEsingle());
  777       m_float = llvm::APFloat(llvm::APFloat::IEEEsingle());
  831       m_float = llvm::APFloat(llvm::APFloat::IEEEsingle());
  885       m_float = llvm::APFloat(llvm::APFloat::IEEEsingle());
  935       m_float = llvm::APFloat(llvm::APFloat::IEEEsingle());
  985       m_float = llvm::APFloat(llvm::APFloat::IEEEsingle());
 1032       m_float = llvm::APFloat(llvm::APFloat::IEEEsingle());
unittests/ADT/APFloatTest.cpp
   44   EXPECT_FALSE(APFloat::getQNaN(APFloat::IEEEsingle(), false).isSignaling());
   45   EXPECT_FALSE(APFloat::getQNaN(APFloat::IEEEsingle(), true).isSignaling());
   46   EXPECT_FALSE(APFloat::getQNaN(APFloat::IEEEsingle(), false, &payload).isSignaling());
   47   EXPECT_FALSE(APFloat::getQNaN(APFloat::IEEEsingle(), true, &payload).isSignaling());
   48   EXPECT_TRUE(APFloat::getSNaN(APFloat::IEEEsingle(), false).isSignaling());
   49   EXPECT_TRUE(APFloat::getSNaN(APFloat::IEEEsingle(), true).isSignaling());
   50   EXPECT_TRUE(APFloat::getSNaN(APFloat::IEEEsingle(), false, &payload).isSignaling());
   51   EXPECT_TRUE(APFloat::getSNaN(APFloat::IEEEsingle(), true, &payload).isSignaling());
  529     M1.convert(APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven, &losesInfo);
  593     EXPECT_FALSE(APFloat(APFloat::IEEEsingle(), MinNormalStr).isDenormal());
  594     EXPECT_FALSE(APFloat(APFloat::IEEEsingle(), 0.0).isDenormal());
  596     APFloat Val2(APFloat::IEEEsingle(), 2.0e0);
  597     APFloat T(APFloat::IEEEsingle(), MinNormalStr);
 1117     {         0x7fc00000ULL, APFloat::IEEEsingle(), false, false,         0x00000000ULL },
 1118     {         0xffc00000ULL, APFloat::IEEEsingle(), false,  true,         0x00000000ULL },
 1119     {         0x7fc0ae72ULL, APFloat::IEEEsingle(), false, false,         0x0000ae72ULL },
 1120     {         0x7fffae72ULL, APFloat::IEEEsingle(), false, false,         0xffffae72ULL },
 1121     {         0x7fdaae72ULL, APFloat::IEEEsingle(), false, false,         0x00daae72ULL },
 1122     {         0x7fa00000ULL, APFloat::IEEEsingle(),  true, false,         0x00000000ULL },
 1123     {         0xffa00000ULL, APFloat::IEEEsingle(),  true,  true,         0x00000000ULL },
 1124     {         0x7f80ae72ULL, APFloat::IEEEsingle(),  true, false,         0x0000ae72ULL },
 1125     {         0x7fbfae72ULL, APFloat::IEEEsingle(),  true, false,         0xffffae72ULL },
 1126     {         0x7f9aae72ULL, APFloat::IEEEsingle(),  true, false,         0x001aae72ULL },
 1147   EXPECT_DEATH(APFloat(APFloat::IEEEsingle(), 0.0f).convertToDouble(), "Float semantics are not IEEEdouble");
 1437   EXPECT_EQ(3.402823466e+38f, APFloat::getLargest(APFloat::IEEEsingle()).convertToFloat());
 1442   APFloat test = APFloat::getSmallest(APFloat::IEEEsingle(), false);
 1443   APFloat expected = APFloat(APFloat::IEEEsingle(), "0x0.000002p-126");
 1449   test = APFloat::getSmallest(APFloat::IEEEsingle(), true);
 1450   expected = APFloat(APFloat::IEEEsingle(), "-0x0.000002p-126");
 1472   APFloat test = APFloat::getSmallestNormalized(APFloat::IEEEsingle(), false);
 1473   APFloat expected = APFloat(APFloat::IEEEsingle(), "0x1p-126");
 1479   test = APFloat::getSmallestNormalized(APFloat::IEEEsingle(), true);
 1480   expected = APFloat(APFloat::IEEEsingle(), "-0x1p-126");
 1510     { &APFloat::IEEEsingle(), false, {0, 0}, 1},
 1511     { &APFloat::IEEEsingle(), true, {0x80000000ULL, 0}, 1},
 1552   test.convert(APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven, &losesInfo);
 1573   test = APFloat::getSNaN(APFloat::IEEEsingle());
 1580   test = APFloat::getQNaN(APFloat::IEEEsingle());
 1645   APFloat t(APFloat::IEEEsingle(), "0x1p+0");
 1647   t = APFloat(APFloat::IEEEsingle(), "-0x1p+0");
 1650   EXPECT_FALSE(APFloat::getInf(APFloat::IEEEsingle(), false).isNegative());
 1651   EXPECT_TRUE(APFloat::getInf(APFloat::IEEEsingle(), true).isNegative());
 1653   EXPECT_FALSE(APFloat::getZero(APFloat::IEEEsingle(), false).isNegative());
 1654   EXPECT_TRUE(APFloat::getZero(APFloat::IEEEsingle(), true).isNegative());
 1656   EXPECT_FALSE(APFloat::getNaN(APFloat::IEEEsingle(), false).isNegative());
 1657   EXPECT_TRUE(APFloat::getNaN(APFloat::IEEEsingle(), true).isNegative());
 1659   EXPECT_FALSE(APFloat::getSNaN(APFloat::IEEEsingle(), false).isNegative());
 1660   EXPECT_TRUE(APFloat::getSNaN(APFloat::IEEEsingle(), true).isNegative());
 1664   APFloat t(APFloat::IEEEsingle(), "0x1p+0");
 1667   EXPECT_FALSE(APFloat::getInf(APFloat::IEEEsingle(), false).isNormal());
 1668   EXPECT_FALSE(APFloat::getZero(APFloat::IEEEsingle(), false).isNormal());
 1669   EXPECT_FALSE(APFloat::getNaN(APFloat::IEEEsingle(), false).isNormal());
 1670   EXPECT_FALSE(APFloat::getSNaN(APFloat::IEEEsingle(), false).isNormal());
 1671   EXPECT_FALSE(APFloat(APFloat::IEEEsingle(), "0x1p-149").isNormal());
 1675   APFloat t(APFloat::IEEEsingle(), "0x1p+0");
 1677   EXPECT_FALSE(APFloat::getInf(APFloat::IEEEsingle(), false).isFinite());
 1678   EXPECT_TRUE(APFloat::getZero(APFloat::IEEEsingle(), false).isFinite());
 1679   EXPECT_FALSE(APFloat::getNaN(APFloat::IEEEsingle(), false).isFinite());
 1680   EXPECT_FALSE(APFloat::getSNaN(APFloat::IEEEsingle(), false).isFinite());
 1681   EXPECT_TRUE(APFloat(APFloat::IEEEsingle(), "0x1p-149").isFinite());
 1685   APFloat t(APFloat::IEEEsingle(), "0x1p+0");
 1687   EXPECT_TRUE(APFloat::getInf(APFloat::IEEEsingle(), false).isInfinity());
 1688   EXPECT_FALSE(APFloat::getZero(APFloat::IEEEsingle(), false).isInfinity());
 1689   EXPECT_FALSE(APFloat::getNaN(APFloat::IEEEsingle(), false).isInfinity());
 1690   EXPECT_FALSE(APFloat::getSNaN(APFloat::IEEEsingle(), false).isInfinity());
 1691   EXPECT_FALSE(APFloat(APFloat::IEEEsingle(), "0x1p-149").isInfinity());
 1695   APFloat t(APFloat::IEEEsingle(), "0x1p+0");
 1697   EXPECT_FALSE(APFloat::getInf(APFloat::IEEEsingle(), false).isNaN());
 1698   EXPECT_FALSE(APFloat::getZero(APFloat::IEEEsingle(), false).isNaN());
 1699   EXPECT_TRUE(APFloat::getNaN(APFloat::IEEEsingle(), false).isNaN());
 1700   EXPECT_TRUE(APFloat::getSNaN(APFloat::IEEEsingle(), false).isNaN());
 1701   EXPECT_FALSE(APFloat(APFloat::IEEEsingle(), "0x1p-149").isNaN());
 1706   EXPECT_TRUE(APFloat(APFloat::IEEEsingle(), "0x1p+0").isFiniteNonZero());
 1707   EXPECT_TRUE(APFloat(APFloat::IEEEsingle(), "-0x1p+0").isFiniteNonZero());
 1710   EXPECT_TRUE(APFloat(APFloat::IEEEsingle(), "0x1p-149").isFiniteNonZero());
 1711   EXPECT_TRUE(APFloat(APFloat::IEEEsingle(), "-0x1p-149").isFiniteNonZero());
 1714   EXPECT_FALSE(APFloat::getInf(APFloat::IEEEsingle(), false).isFiniteNonZero());
 1715   EXPECT_FALSE(APFloat::getInf(APFloat::IEEEsingle(), true).isFiniteNonZero());
 1718   EXPECT_FALSE(APFloat::getZero(APFloat::IEEEsingle(), false).isFiniteNonZero());
 1719   EXPECT_FALSE(APFloat::getZero(APFloat::IEEEsingle(), true).isFiniteNonZero());
 1723   EXPECT_FALSE(APFloat::getNaN(APFloat::IEEEsingle(), false).isFiniteNonZero());
 1724   EXPECT_FALSE(APFloat::getNaN(APFloat::IEEEsingle(), true).isFiniteNonZero());
 1728   EXPECT_FALSE(APFloat::getSNaN(APFloat::IEEEsingle(), false).isFiniteNonZero());
 1729   EXPECT_FALSE(APFloat::getSNaN(APFloat::IEEEsingle(), true).isFiniteNonZero());
 1740   APFloat PInf = APFloat::getInf(APFloat::IEEEsingle(), false);
 1741   APFloat MInf = APFloat::getInf(APFloat::IEEEsingle(), true);
 1742   APFloat PZero = APFloat::getZero(APFloat::IEEEsingle(), false);
 1743   APFloat MZero = APFloat::getZero(APFloat::IEEEsingle(), true);
 1744   APFloat QNaN = APFloat::getNaN(APFloat::IEEEsingle(), false);
 1745   APFloat SNaN = APFloat::getSNaN(APFloat::IEEEsingle(), false);
 1746   APFloat PNormalValue = APFloat(APFloat::IEEEsingle(), "0x1p+0");
 1747   APFloat MNormalValue = APFloat(APFloat::IEEEsingle(), "-0x1p+0");
 1748   APFloat PLargestValue = APFloat::getLargest(APFloat::IEEEsingle(), false);
 1749   APFloat MLargestValue = APFloat::getLargest(APFloat::IEEEsingle(), true);
 1750   APFloat PSmallestValue = APFloat::getSmallest(APFloat::IEEEsingle(), false);
 1751   APFloat MSmallestValue = APFloat::getSmallest(APFloat::IEEEsingle(), true);
 1753     APFloat::getSmallestNormalized(APFloat::IEEEsingle(), false);
 1755     APFloat::getSmallestNormalized(APFloat::IEEEsingle(), true);
 2012     APFloat result(APFloat::IEEEsingle(), SpecialCaseTests[i].result);
 2028   APFloat PInf = APFloat::getInf(APFloat::IEEEsingle(), false);
 2029   APFloat MInf = APFloat::getInf(APFloat::IEEEsingle(), true);
 2030   APFloat PZero = APFloat::getZero(APFloat::IEEEsingle(), false);
 2031   APFloat MZero = APFloat::getZero(APFloat::IEEEsingle(), true);
 2032   APFloat QNaN = APFloat::getNaN(APFloat::IEEEsingle(), false);
 2033   APFloat SNaN = APFloat::getSNaN(APFloat::IEEEsingle(), false);
 2034   APFloat PNormalValue = APFloat(APFloat::IEEEsingle(), "0x1p+0");
 2035   APFloat MNormalValue = APFloat(APFloat::IEEEsingle(), "-0x1p+0");
 2036   APFloat PLargestValue = APFloat::getLargest(APFloat::IEEEsingle(), false);
 2037   APFloat MLargestValue = APFloat::getLargest(APFloat::IEEEsingle(), true);
 2038   APFloat PSmallestValue = APFloat::getSmallest(APFloat::IEEEsingle(), false);
 2039   APFloat MSmallestValue = APFloat::getSmallest(APFloat::IEEEsingle(), true);
 2041     APFloat::getSmallestNormalized(APFloat::IEEEsingle(), false);
 2043     APFloat::getSmallestNormalized(APFloat::IEEEsingle(), true);
 2300     APFloat result(APFloat::IEEEsingle(), SpecialCaseTests[i].result);
 2316   APFloat PInf = APFloat::getInf(APFloat::IEEEsingle(), false);
 2317   APFloat MInf = APFloat::getInf(APFloat::IEEEsingle(), true);
 2318   APFloat PZero = APFloat::getZero(APFloat::IEEEsingle(), false);
 2319   APFloat MZero = APFloat::getZero(APFloat::IEEEsingle(), true);
 2320   APFloat QNaN = APFloat::getNaN(APFloat::IEEEsingle(), false);
 2321   APFloat SNaN = APFloat::getSNaN(APFloat::IEEEsingle(), false);
 2322   APFloat PNormalValue = APFloat(APFloat::IEEEsingle(), "0x1p+0");
 2323   APFloat MNormalValue = APFloat(APFloat::IEEEsingle(), "-0x1p+0");
 2324   APFloat PLargestValue = APFloat::getLargest(APFloat::IEEEsingle(), false);
 2325   APFloat MLargestValue = APFloat::getLargest(APFloat::IEEEsingle(), true);
 2326   APFloat PSmallestValue = APFloat::getSmallest(APFloat::IEEEsingle(), false);
 2327   APFloat MSmallestValue = APFloat::getSmallest(APFloat::IEEEsingle(), true);
 2329     APFloat::getSmallestNormalized(APFloat::IEEEsingle(), false);
 2331     APFloat::getSmallestNormalized(APFloat::IEEEsingle(), true);
 2589     APFloat result(APFloat::IEEEsingle(), SpecialCaseTests[i].result);
 2605   APFloat PInf = APFloat::getInf(APFloat::IEEEsingle(), false);
 2606   APFloat MInf = APFloat::getInf(APFloat::IEEEsingle(), true);
 2607   APFloat PZero = APFloat::getZero(APFloat::IEEEsingle(), false);
 2608   APFloat MZero = APFloat::getZero(APFloat::IEEEsingle(), true);
 2609   APFloat QNaN = APFloat::getNaN(APFloat::IEEEsingle(), false);
 2610   APFloat SNaN = APFloat::getSNaN(APFloat::IEEEsingle(), false);
 2611   APFloat PNormalValue = APFloat(APFloat::IEEEsingle(), "0x1p+0");
 2612   APFloat MNormalValue = APFloat(APFloat::IEEEsingle(), "-0x1p+0");
 2613   APFloat PLargestValue = APFloat::getLargest(APFloat::IEEEsingle(), false);
 2614   APFloat MLargestValue = APFloat::getLargest(APFloat::IEEEsingle(), true);
 2615   APFloat PSmallestValue = APFloat::getSmallest(APFloat::IEEEsingle(), false);
 2616   APFloat MSmallestValue = APFloat::getSmallest(APFloat::IEEEsingle(), true);
 2618     APFloat::getSmallestNormalized(APFloat::IEEEsingle(), false);
 2620     APFloat::getSmallestNormalized(APFloat::IEEEsingle(), true);
 2878     APFloat result(APFloat::IEEEsingle(), SpecialCaseTests[i].result);
 2888   APFloat One = APFloat(APFloat::IEEEsingle(), "0x1p+0");
 2889   APFloat Two = APFloat(APFloat::IEEEsingle(), "0x2p+0");
 2897   APFloat PInf = APFloat::getInf(APFloat::IEEEsingle(), false);
 2898   APFloat MInf = APFloat::getInf(APFloat::IEEEsingle(), true);
 2899   APFloat PZero = APFloat::getZero(APFloat::IEEEsingle(), false);
 2900   APFloat MZero = APFloat::getZero(APFloat::IEEEsingle(), true);
 2901   APFloat PQNaN = APFloat::getNaN(APFloat::IEEEsingle(), false);
 2902   APFloat MQNaN = APFloat::getNaN(APFloat::IEEEsingle(), true);
 2903   APFloat PSNaN = APFloat::getSNaN(APFloat::IEEEsingle(), false);
 2904   APFloat MSNaN = APFloat::getSNaN(APFloat::IEEEsingle(), true);
 2905   APFloat PNormalValue = APFloat(APFloat::IEEEsingle(), "0x1p+0");
 2906   APFloat MNormalValue = APFloat(APFloat::IEEEsingle(), "-0x1p+0");
 2907   APFloat PLargestValue = APFloat::getLargest(APFloat::IEEEsingle(), false);
 2908   APFloat MLargestValue = APFloat::getLargest(APFloat::IEEEsingle(), true);
 2909   APFloat PSmallestValue = APFloat::getSmallest(APFloat::IEEEsingle(), false);
 2910   APFloat MSmallestValue = APFloat::getSmallest(APFloat::IEEEsingle(), true);
 2912     APFloat::getSmallestNormalized(APFloat::IEEEsingle(), false);
 2914     APFloat::getSmallestNormalized(APFloat::IEEEsingle(), true);
 2935   APFloat One = APFloat(APFloat::IEEEsingle(), "1.0");
 2936   APFloat NegOne = APFloat(APFloat::IEEEsingle(), "-1.0");
 2937   APFloat Zero = APFloat::getZero(APFloat::IEEEsingle(), false);
 2938   APFloat NegZero = APFloat::getZero(APFloat::IEEEsingle(), true);
 2939   APFloat Inf = APFloat::getInf(APFloat::IEEEsingle(), false);
 2940   APFloat NegInf = APFloat::getInf(APFloat::IEEEsingle(), true);
 2941   APFloat QNaN = APFloat::getNaN(APFloat::IEEEsingle(), false);
 2942   APFloat NegQNaN = APFloat::getNaN(APFloat::IEEEsingle(), true);
 2970   EXPECT_EQ(0, ilogb(APFloat(APFloat::IEEEsingle(), "0x1p+0")));
 2971   EXPECT_EQ(0, ilogb(APFloat(APFloat::IEEEsingle(), "-0x1p+0")));
 2972   EXPECT_EQ(42, ilogb(APFloat(APFloat::IEEEsingle(), "0x1p+42")));
 2973   EXPECT_EQ(-42, ilogb(APFloat(APFloat::IEEEsingle(), "0x1p-42")));
 2976             ilogb(APFloat::getInf(APFloat::IEEEsingle(), false)));
 2978             ilogb(APFloat::getInf(APFloat::IEEEsingle(), true)));
 2980             ilogb(APFloat::getZero(APFloat::IEEEsingle(), false)));
 2982             ilogb(APFloat::getZero(APFloat::IEEEsingle(), true)));
 2984             ilogb(APFloat::getNaN(APFloat::IEEEsingle(), false)));
 2986             ilogb(APFloat::getSNaN(APFloat::IEEEsingle(), false)));
 2988   EXPECT_EQ(127, ilogb(APFloat::getLargest(APFloat::IEEEsingle(), false)));
 2989   EXPECT_EQ(127, ilogb(APFloat::getLargest(APFloat::IEEEsingle(), true)));
 2991   EXPECT_EQ(-149, ilogb(APFloat::getSmallest(APFloat::IEEEsingle(), false)));
 2992   EXPECT_EQ(-149, ilogb(APFloat::getSmallest(APFloat::IEEEsingle(), true)));
 2994             ilogb(APFloat::getSmallestNormalized(APFloat::IEEEsingle(), false)));
 2996             ilogb(APFloat::getSmallestNormalized(APFloat::IEEEsingle(), true)));
 3003       APFloat(APFloat::IEEEsingle(), "0x1p+0")
 3004       .bitwiseIsEqual(scalbn(APFloat(APFloat::IEEEsingle(), "0x1p+0"), 0, RM)));
 3006       APFloat(APFloat::IEEEsingle(), "0x1p+42")
 3007       .bitwiseIsEqual(scalbn(APFloat(APFloat::IEEEsingle(), "0x1p+0"), 42, RM)));
 3009       APFloat(APFloat::IEEEsingle(), "0x1p-42")
 3010       .bitwiseIsEqual(scalbn(APFloat(APFloat::IEEEsingle(), "0x1p+0"), -42, RM)));
 3012   APFloat PInf = APFloat::getInf(APFloat::IEEEsingle(), false);
 3013   APFloat MInf = APFloat::getInf(APFloat::IEEEsingle(), true);
 3014   APFloat PZero = APFloat::getZero(APFloat::IEEEsingle(), false);
 3015   APFloat MZero = APFloat::getZero(APFloat::IEEEsingle(), true);
 3016   APFloat QPNaN = APFloat::getNaN(APFloat::IEEEsingle(), false);
 3017   APFloat QMNaN = APFloat::getNaN(APFloat::IEEEsingle(), true);
 3018   APFloat SNaN = APFloat::getSNaN(APFloat::IEEEsingle(), false);
 3044                 scalbn(APFloat(APFloat::IEEEsingle(), "0x1p+0"), 128, RM)));
 3046                 scalbn(APFloat(APFloat::IEEEsingle(), "-0x1p+0"), 128, RM)));
 3048                 scalbn(APFloat(APFloat::IEEEsingle(), "0x1p+127"), 1, RM)));
 3050                 scalbn(APFloat(APFloat::IEEEsingle(), "0x1p-127"), -127, RM)));
 3052                 scalbn(APFloat(APFloat::IEEEsingle(), "-0x1p-127"), -127, RM)));
 3053   EXPECT_TRUE(APFloat(APFloat::IEEEsingle(), "-0x1p-149").bitwiseIsEqual(
 3054                 scalbn(APFloat(APFloat::IEEEsingle(), "-0x1p-127"), -22, RM)));
 3056                 scalbn(APFloat(APFloat::IEEEsingle(), "0x1p-126"), -24, RM)));
unittests/tools/llvm-exegesis/RegisterValueTest.cpp
   40   const auto &Semantic = APFloatBase::IEEEsingle();