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

References

include/llvm/ADT/APFloat.h
  359   bool isNaN() const { return category == fcNaN; }
 1160   bool isNaN() const { return getCategory() == fcNaN; }
lib/Support/APFloat.cpp
  712   if (isFiniteNonZero() || category == fcNaN)
  717   assert(isFiniteNonZero() || category == fcNaN);
  728   category = fcNaN;
 1421   case PackCategoriesIntoKey(fcNaN, fcZero):
 1422   case PackCategoriesIntoKey(fcNaN, fcNormal):
 1423   case PackCategoriesIntoKey(fcNaN, fcInfinity):
 1424   case PackCategoriesIntoKey(fcNaN, fcNaN):
 1424   case PackCategoriesIntoKey(fcNaN, fcNaN):
 1430   case PackCategoriesIntoKey(fcZero, fcNaN):
 1431   case PackCategoriesIntoKey(fcNormal, fcNaN):
 1432   case PackCategoriesIntoKey(fcInfinity, fcNaN):
 1436     category = fcNaN;
 1547   case PackCategoriesIntoKey(fcNaN, fcZero):
 1548   case PackCategoriesIntoKey(fcNaN, fcNormal):
 1549   case PackCategoriesIntoKey(fcNaN, fcInfinity):
 1550   case PackCategoriesIntoKey(fcNaN, fcNaN):
 1550   case PackCategoriesIntoKey(fcNaN, fcNaN):
 1554   case PackCategoriesIntoKey(fcZero, fcNaN):
 1555   case PackCategoriesIntoKey(fcNormal, fcNaN):
 1556   case PackCategoriesIntoKey(fcInfinity, fcNaN):
 1558     category = fcNaN;
 1589   case PackCategoriesIntoKey(fcZero, fcNaN):
 1590   case PackCategoriesIntoKey(fcNormal, fcNaN):
 1591   case PackCategoriesIntoKey(fcInfinity, fcNaN):
 1592     category = fcNaN;
 1595   case PackCategoriesIntoKey(fcNaN, fcZero):
 1596   case PackCategoriesIntoKey(fcNaN, fcNormal):
 1597   case PackCategoriesIntoKey(fcNaN, fcInfinity):
 1598   case PackCategoriesIntoKey(fcNaN, fcNaN):
 1598   case PackCategoriesIntoKey(fcNaN, fcNaN):
 1630   case PackCategoriesIntoKey(fcNaN, fcZero):
 1631   case PackCategoriesIntoKey(fcNaN, fcNormal):
 1632   case PackCategoriesIntoKey(fcNaN, fcInfinity):
 1633   case PackCategoriesIntoKey(fcNaN, fcNaN):
 1633   case PackCategoriesIntoKey(fcNaN, fcNaN):
 1639   case PackCategoriesIntoKey(fcZero, fcNaN):
 1640   case PackCategoriesIntoKey(fcNormal, fcNaN):
 1641   case PackCategoriesIntoKey(fcInfinity, fcNaN):
 1643     category = fcNaN;
 1898   case PackCategoriesIntoKey(fcNaN, fcZero):
 1899   case PackCategoriesIntoKey(fcNaN, fcNormal):
 1900   case PackCategoriesIntoKey(fcNaN, fcInfinity):
 1901   case PackCategoriesIntoKey(fcNaN, fcNaN):
 1901   case PackCategoriesIntoKey(fcNaN, fcNaN):
 1902   case PackCategoriesIntoKey(fcZero, fcNaN):
 1903   case PackCategoriesIntoKey(fcNormal, fcNaN):
 1904   case PackCategoriesIntoKey(fcInfinity, fcNaN):
 1982       &toSemantics != &semX87DoubleExtended && category == fcNaN &&
 2008   if (shift < 0 && (isFiniteNonZero() || category==fcNaN))
 2017     if (isFiniteNonZero() || category==fcNaN)
 2024     if (isFiniteNonZero() || category==fcNaN)
 2035   if (shift > 0 && (isFiniteNonZero() || category==fcNaN))
 2041   } else if (category == fcNaN) {
 2082   if (category == fcInfinity || category == fcNaN)
 2200     if (category == fcNaN)
 2677   case fcNaN:
 2853     assert(category == fcNaN && "Unknown category");
 2933     assert(category == fcNaN && "Unknown category!");
 2966     assert(category == fcNaN && "Unknown category!");
 2994     assert(category == fcNaN && "Unknown category!");
 3021     assert(category == fcNaN && "Unknown category!");
 3097     category = fcNaN;
 3157     category = fcNaN;
 3190     category = fcNaN;
 3221     category = fcNaN;
 3252     category = fcNaN;
 3443   case fcNaN: return append(Str, "NaN");
 3709   case fcNaN:
 4032   if (LHS.getCategory() == fcNaN) {
 4036   if (RHS.getCategory() == fcNaN) {
 4106   if (LHS.getCategory() == fcNaN) {
 4110   if (RHS.getCategory() == fcNaN) {
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SMTConv.h
  179       case llvm::APFloat::fcNaN:
tools/clang/lib/AST/ExprConstant.cpp
10635     case APFloat::fcNaN: Arg = 0; break;
unittests/ADT/APFloatTest.cpp
 1768     { PInf, MInf, "nan", APFloat::opInvalidOp, APFloat::fcNaN },
 1771     { PInf, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
 1784     { MInf, PInf, "nan", APFloat::opInvalidOp, APFloat::fcNaN },
 1788     { MInf, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
 1805     { PZero, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
 1822     { MZero, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
 1835     { QNaN, PInf, "nan", APFloat::opOK, APFloat::fcNaN },
 1836     { QNaN, MInf, "nan", APFloat::opOK, APFloat::fcNaN },
 1837     { QNaN, PZero, "nan", APFloat::opOK, APFloat::fcNaN },
 1838     { QNaN, MZero, "nan", APFloat::opOK, APFloat::fcNaN },
 1839     { QNaN, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
 1844     { QNaN, PNormalValue, "nan", APFloat::opOK, APFloat::fcNaN },
 1845     { QNaN, MNormalValue, "nan", APFloat::opOK, APFloat::fcNaN },
 1846     { QNaN, PLargestValue, "nan", APFloat::opOK, APFloat::fcNaN },
 1847     { QNaN, MLargestValue, "nan", APFloat::opOK, APFloat::fcNaN },
 1848     { QNaN, PSmallestValue, "nan", APFloat::opOK, APFloat::fcNaN },
 1849     { QNaN, MSmallestValue, "nan", APFloat::opOK, APFloat::fcNaN },
 1850     { QNaN, PSmallestNormalized, "nan", APFloat::opOK, APFloat::fcNaN },
 1851     { QNaN, MSmallestNormalized, "nan", APFloat::opOK, APFloat::fcNaN },
 1873     { PNormalValue, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
 1890     { MNormalValue, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
 1907     { PLargestValue, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
 1924     { MLargestValue, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
 1941     { PSmallestValue, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
 1958     { MSmallestValue, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
 1975     { PSmallestNormalized, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
 1992     { MSmallestNormalized, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
 2055     { PInf, PInf, "nan", APFloat::opInvalidOp, APFloat::fcNaN },
 2059     { PInf, QNaN, "-nan", APFloat::opOK, APFloat::fcNaN },
 2073     { MInf, MInf, "nan", APFloat::opInvalidOp, APFloat::fcNaN },
 2076     { MInf, QNaN, "-nan", APFloat::opOK, APFloat::fcNaN },
 2093     { PZero, QNaN, "-nan", APFloat::opOK, APFloat::fcNaN },
 2110     { MZero, QNaN, "-nan", APFloat::opOK, APFloat::fcNaN },
 2123     { QNaN, PInf, "nan", APFloat::opOK, APFloat::fcNaN },
 2124     { QNaN, MInf, "nan", APFloat::opOK, APFloat::fcNaN },
 2125     { QNaN, PZero, "nan", APFloat::opOK, APFloat::fcNaN },
 2126     { QNaN, MZero, "nan", APFloat::opOK, APFloat::fcNaN },
 2127     { QNaN, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
 2132     { QNaN, PNormalValue, "nan", APFloat::opOK, APFloat::fcNaN },
 2133     { QNaN, MNormalValue, "nan", APFloat::opOK, APFloat::fcNaN },
 2134     { QNaN, PLargestValue, "nan", APFloat::opOK, APFloat::fcNaN },
 2135     { QNaN, MLargestValue, "nan", APFloat::opOK, APFloat::fcNaN },
 2136     { QNaN, PSmallestValue, "nan", APFloat::opOK, APFloat::fcNaN },
 2137     { QNaN, MSmallestValue, "nan", APFloat::opOK, APFloat::fcNaN },
 2138     { QNaN, PSmallestNormalized, "nan", APFloat::opOK, APFloat::fcNaN },
 2139     { QNaN, MSmallestNormalized, "nan", APFloat::opOK, APFloat::fcNaN },
 2161     { PNormalValue, QNaN, "-nan", APFloat::opOK, APFloat::fcNaN },
 2178     { MNormalValue, QNaN, "-nan", APFloat::opOK, APFloat::fcNaN },
 2195     { PLargestValue, QNaN, "-nan", APFloat::opOK, APFloat::fcNaN },
 2212     { MLargestValue, QNaN, "-nan", APFloat::opOK, APFloat::fcNaN },
 2229     { PSmallestValue, QNaN, "-nan", APFloat::opOK, APFloat::fcNaN },
 2246     { MSmallestValue, QNaN, "-nan", APFloat::opOK, APFloat::fcNaN },
 2263     { PSmallestNormalized, QNaN, "-nan", APFloat::opOK, APFloat::fcNaN },
 2280     { MSmallestNormalized, QNaN, "-nan", APFloat::opOK, APFloat::fcNaN },
 2346     { PInf, PZero, "nan", APFloat::opInvalidOp, APFloat::fcNaN },
 2347     { PInf, MZero, "nan", APFloat::opInvalidOp, APFloat::fcNaN },
 2348     { PInf, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
 2363     { MInf, PZero, "nan", APFloat::opInvalidOp, APFloat::fcNaN },
 2364     { MInf, MZero, "nan", APFloat::opInvalidOp, APFloat::fcNaN },
 2365     { MInf, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
 2378     { PZero, PInf, "nan", APFloat::opInvalidOp, APFloat::fcNaN },
 2379     { PZero, MInf, "nan", APFloat::opInvalidOp, APFloat::fcNaN },
 2382     { PZero, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
 2395     { MZero, PInf, "nan", APFloat::opInvalidOp, APFloat::fcNaN },
 2396     { MZero, MInf, "nan", APFloat::opInvalidOp, APFloat::fcNaN },
 2399     { MZero, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
 2412     { QNaN, PInf, "nan", APFloat::opOK, APFloat::fcNaN },
 2413     { QNaN, MInf, "nan", APFloat::opOK, APFloat::fcNaN },
 2414     { QNaN, PZero, "nan", APFloat::opOK, APFloat::fcNaN },
 2415     { QNaN, MZero, "nan", APFloat::opOK, APFloat::fcNaN },
 2416     { QNaN, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
 2421     { QNaN, PNormalValue, "nan", APFloat::opOK, APFloat::fcNaN },
 2422     { QNaN, MNormalValue, "nan", APFloat::opOK, APFloat::fcNaN },
 2423     { QNaN, PLargestValue, "nan", APFloat::opOK, APFloat::fcNaN },
 2424     { QNaN, MLargestValue, "nan", APFloat::opOK, APFloat::fcNaN },
 2425     { QNaN, PSmallestValue, "nan", APFloat::opOK, APFloat::fcNaN },
 2426     { QNaN, MSmallestValue, "nan", APFloat::opOK, APFloat::fcNaN },
 2427     { QNaN, PSmallestNormalized, "nan", APFloat::opOK, APFloat::fcNaN },
 2428     { QNaN, MSmallestNormalized, "nan", APFloat::opOK, APFloat::fcNaN },
 2450     { PNormalValue, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
 2467     { MNormalValue, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
 2484     { PLargestValue, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
 2501     { MLargestValue, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
 2518     { PSmallestValue, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
 2535     { MSmallestValue, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
 2552     { PSmallestNormalized, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
 2569     { MSmallestNormalized, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
 2633     { PInf, PInf, "nan", APFloat::opInvalidOp, APFloat::fcNaN },
 2634     { PInf, MInf, "nan", APFloat::opInvalidOp, APFloat::fcNaN },
 2637     { PInf, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
 2650     { MInf, PInf, "nan", APFloat::opInvalidOp, APFloat::fcNaN },
 2651     { MInf, MInf, "nan", APFloat::opInvalidOp, APFloat::fcNaN },
 2654     { MInf, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
 2669     { PZero, PZero, "nan", APFloat::opInvalidOp, APFloat::fcNaN },
 2670     { PZero, MZero, "nan", APFloat::opInvalidOp, APFloat::fcNaN },
 2671     { PZero, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
 2686     { MZero, PZero, "nan", APFloat::opInvalidOp, APFloat::fcNaN },
 2687     { MZero, MZero, "nan", APFloat::opInvalidOp, APFloat::fcNaN },
 2688     { MZero, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
 2701     { QNaN, PInf, "nan", APFloat::opOK, APFloat::fcNaN },
 2702     { QNaN, MInf, "nan", APFloat::opOK, APFloat::fcNaN },
 2703     { QNaN, PZero, "nan", APFloat::opOK, APFloat::fcNaN },
 2704     { QNaN, MZero, "nan", APFloat::opOK, APFloat::fcNaN },
 2705     { QNaN, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
 2710     { QNaN, PNormalValue, "nan", APFloat::opOK, APFloat::fcNaN },
 2711     { QNaN, MNormalValue, "nan", APFloat::opOK, APFloat::fcNaN },
 2712     { QNaN, PLargestValue, "nan", APFloat::opOK, APFloat::fcNaN },
 2713     { QNaN, MLargestValue, "nan", APFloat::opOK, APFloat::fcNaN },
 2714     { QNaN, PSmallestValue, "nan", APFloat::opOK, APFloat::fcNaN },
 2715     { QNaN, MSmallestValue, "nan", APFloat::opOK, APFloat::fcNaN },
 2716     { QNaN, PSmallestNormalized, "nan", APFloat::opOK, APFloat::fcNaN },
 2717     { QNaN, MSmallestNormalized, "nan", APFloat::opOK, APFloat::fcNaN },
 2739     { PNormalValue, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
 2756     { MNormalValue, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
 2773     { PLargestValue, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
 2790     { MLargestValue, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
 2807     { PSmallestValue, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
 2824     { MSmallestValue, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
 2841     { PSmallestNormalized, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
 2858     { MSmallestNormalized, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
 3398                       APFloat::fcNaN, APFloat::rmNearestTiesToEven),
 3542                       APFloat::fcNaN, APFloat::rmNearestTiesToEven),
 3544       std::make_tuple(0x7ff8000000000000ull, 0, 0, 0, APFloat::fcNaN,
 3548                       APFloat::fcNaN, APFloat::rmNearestTiesToEven),
 3551                       APFloat::fcNaN, APFloat::rmNearestTiesToEven),
 3556       std::make_tuple(0x7ff0000000000000ull, 0, 0, 0, APFloat::fcNaN,