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

References

include/llvm/ADT/APFloat.h
  356   bool isInfinity() const { return category == fcInfinity; }
 1159   bool isInfinity() const { return getCategory() == fcInfinity; }
lib/Support/APFloat.cpp
  878   if (category==fcZero || category==fcInfinity)
 1256     category = fcInfinity;
 1388         category = fcInfinity;
 1423   case PackCategoriesIntoKey(fcNaN, fcInfinity):
 1426   case PackCategoriesIntoKey(fcInfinity, fcNormal):
 1427   case PackCategoriesIntoKey(fcInfinity, fcZero):
 1432   case PackCategoriesIntoKey(fcInfinity, fcNaN):
 1440   case PackCategoriesIntoKey(fcNormal, fcInfinity):
 1441   case PackCategoriesIntoKey(fcZero, fcInfinity):
 1442     category = fcInfinity;
 1455   case PackCategoriesIntoKey(fcInfinity, fcInfinity):
 1455   case PackCategoriesIntoKey(fcInfinity, fcInfinity):
 1549   case PackCategoriesIntoKey(fcNaN, fcInfinity):
 1556   case PackCategoriesIntoKey(fcInfinity, fcNaN):
 1562   case PackCategoriesIntoKey(fcNormal, fcInfinity):
 1563   case PackCategoriesIntoKey(fcInfinity, fcNormal):
 1564   case PackCategoriesIntoKey(fcInfinity, fcInfinity):
 1564   case PackCategoriesIntoKey(fcInfinity, fcInfinity):
 1565     category = fcInfinity;
 1574   case PackCategoriesIntoKey(fcZero, fcInfinity):
 1575   case PackCategoriesIntoKey(fcInfinity, fcZero):
 1591   case PackCategoriesIntoKey(fcInfinity, fcNaN):
 1597   case PackCategoriesIntoKey(fcNaN, fcInfinity):
 1601   case PackCategoriesIntoKey(fcInfinity, fcZero):
 1602   case PackCategoriesIntoKey(fcInfinity, fcNormal):
 1603   case PackCategoriesIntoKey(fcZero, fcInfinity):
 1607   case PackCategoriesIntoKey(fcNormal, fcInfinity):
 1612     category = fcInfinity;
 1615   case PackCategoriesIntoKey(fcInfinity, fcInfinity):
 1615   case PackCategoriesIntoKey(fcInfinity, fcInfinity):
 1632   case PackCategoriesIntoKey(fcNaN, fcInfinity):
 1634   case PackCategoriesIntoKey(fcZero, fcInfinity):
 1636   case PackCategoriesIntoKey(fcNormal, fcInfinity):
 1641   case PackCategoriesIntoKey(fcInfinity, fcNaN):
 1648   case PackCategoriesIntoKey(fcInfinity, fcZero):
 1649   case PackCategoriesIntoKey(fcInfinity, fcNormal):
 1650   case PackCategoriesIntoKey(fcInfinity, fcInfinity):
 1650   case PackCategoriesIntoKey(fcInfinity, fcInfinity):
 1900   case PackCategoriesIntoKey(fcNaN, fcInfinity):
 1904   case PackCategoriesIntoKey(fcInfinity, fcNaN):
 1907   case PackCategoriesIntoKey(fcInfinity, fcNormal):
 1908   case PackCategoriesIntoKey(fcInfinity, fcZero):
 1915   case PackCategoriesIntoKey(fcNormal, fcInfinity):
 1916   case PackCategoriesIntoKey(fcZero, fcInfinity):
 1923   case PackCategoriesIntoKey(fcInfinity, fcInfinity):
 1923   case PackCategoriesIntoKey(fcInfinity, fcInfinity):
 2082   if (category == fcInfinity || category == fcNaN)
 2672   case fcInfinity:
 2849   } else if (category==fcInfinity) {
 2929   } else if (category==fcInfinity) {
 2962   } else if (category==fcInfinity) {
 2990   } else if (category==fcInfinity) {
 3017   } else if (category==fcInfinity) {
 3093     category = fcInfinity;
 3153     category = fcInfinity;
 3187     category = fcInfinity;
 3218     category = fcInfinity;
 3249     category = fcInfinity;
 3437   case fcInfinity:
 3702   case fcInfinity:
 3735       category = fcInfinity;
 3809   category = fcInfinity;
 4048   if (LHS.getCategory() == fcInfinity && RHS.getCategory() == fcInfinity &&
 4048   if (LHS.getCategory() == fcInfinity && RHS.getCategory() == fcInfinity &&
 4053   if (LHS.getCategory() == fcInfinity) {
 4057   if (RHS.getCategory() == fcInfinity) {
 4114   if ((LHS.getCategory() == fcZero && RHS.getCategory() == fcInfinity) ||
 4115       (LHS.getCategory() == fcInfinity && RHS.getCategory() == fcZero)) {
 4119   if (LHS.getCategory() == fcZero || LHS.getCategory() == fcInfinity) {
 4123   if (RHS.getCategory() == fcZero || RHS.getCategory() == fcInfinity) {
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SMTConv.h
  176       case llvm::APFloat::fcInfinity:
tools/clang/lib/AST/ExprConstant.cpp
10636     case APFloat::fcInfinity: Arg = 1; break;
unittests/ADT/APFloatTest.cpp
 1767     { PInf, PInf, "inf", APFloat::opOK, APFloat::fcInfinity },
 1769     { PInf, PZero, "inf", APFloat::opOK, APFloat::fcInfinity },
 1770     { PInf, MZero, "inf", APFloat::opOK, APFloat::fcInfinity },
 1776     { PInf, PNormalValue, "inf", APFloat::opOK, APFloat::fcInfinity },
 1777     { PInf, MNormalValue, "inf", APFloat::opOK, APFloat::fcInfinity },
 1778     { PInf, PLargestValue, "inf", APFloat::opOK, APFloat::fcInfinity },
 1779     { PInf, MLargestValue, "inf", APFloat::opOK, APFloat::fcInfinity },
 1780     { PInf, PSmallestValue, "inf", APFloat::opOK, APFloat::fcInfinity },
 1781     { PInf, MSmallestValue, "inf", APFloat::opOK, APFloat::fcInfinity },
 1782     { PInf, PSmallestNormalized, "inf", APFloat::opOK, APFloat::fcInfinity },
 1783     { PInf, MSmallestNormalized, "inf", APFloat::opOK, APFloat::fcInfinity },
 1785     { MInf, MInf, "-inf", APFloat::opOK, APFloat::fcInfinity },
 1786     { MInf, PZero, "-inf", APFloat::opOK, APFloat::fcInfinity },
 1787     { MInf, MZero, "-inf", APFloat::opOK, APFloat::fcInfinity },
 1793     { MInf, PNormalValue, "-inf", APFloat::opOK, APFloat::fcInfinity },
 1794     { MInf, MNormalValue, "-inf", APFloat::opOK, APFloat::fcInfinity },
 1795     { MInf, PLargestValue, "-inf", APFloat::opOK, APFloat::fcInfinity },
 1796     { MInf, MLargestValue, "-inf", APFloat::opOK, APFloat::fcInfinity },
 1797     { MInf, PSmallestValue, "-inf", APFloat::opOK, APFloat::fcInfinity },
 1798     { MInf, MSmallestValue, "-inf", APFloat::opOK, APFloat::fcInfinity },
 1799     { MInf, PSmallestNormalized, "-inf", APFloat::opOK, APFloat::fcInfinity },
 1800     { MInf, MSmallestNormalized, "-inf", APFloat::opOK, APFloat::fcInfinity },
 1801     { PZero, PInf, "inf", APFloat::opOK, APFloat::fcInfinity },
 1802     { PZero, MInf, "-inf", APFloat::opOK, APFloat::fcInfinity },
 1818     { MZero, PInf, "inf", APFloat::opOK, APFloat::fcInfinity },
 1819     { MZero, MInf, "-inf", APFloat::opOK, APFloat::fcInfinity },
 1869     { PNormalValue, PInf, "inf", APFloat::opOK, APFloat::fcInfinity },
 1870     { PNormalValue, MInf, "-inf", APFloat::opOK, APFloat::fcInfinity },
 1886     { MNormalValue, PInf, "inf", APFloat::opOK, APFloat::fcInfinity },
 1887     { MNormalValue, MInf, "-inf", APFloat::opOK, APFloat::fcInfinity },
 1903     { PLargestValue, PInf, "inf", APFloat::opOK, APFloat::fcInfinity },
 1904     { PLargestValue, MInf, "-inf", APFloat::opOK, APFloat::fcInfinity },
 1914     { PLargestValue, PLargestValue, "inf", OverflowStatus, APFloat::fcInfinity },
 1920     { MLargestValue, PInf, "inf", APFloat::opOK, APFloat::fcInfinity },
 1921     { MLargestValue, MInf, "-inf", APFloat::opOK, APFloat::fcInfinity },
 1932     { MLargestValue, MLargestValue, "-inf", OverflowStatus, APFloat::fcInfinity },
 1937     { PSmallestValue, PInf, "inf", APFloat::opOK, APFloat::fcInfinity },
 1938     { PSmallestValue, MInf, "-inf", APFloat::opOK, APFloat::fcInfinity },
 1954     { MSmallestValue, PInf, "inf", APFloat::opOK, APFloat::fcInfinity },
 1955     { MSmallestValue, MInf, "-inf", APFloat::opOK, APFloat::fcInfinity },
 1971     { PSmallestNormalized, PInf, "inf", APFloat::opOK, APFloat::fcInfinity },
 1972     { PSmallestNormalized, MInf, "-inf", APFloat::opOK, APFloat::fcInfinity },
 1988     { MSmallestNormalized, PInf, "inf", APFloat::opOK, APFloat::fcInfinity },
 1989     { MSmallestNormalized, MInf, "-inf", APFloat::opOK, APFloat::fcInfinity },
 2056     { PInf, MInf, "inf", APFloat::opOK, APFloat::fcInfinity },
 2057     { PInf, PZero, "inf", APFloat::opOK, APFloat::fcInfinity },
 2058     { PInf, MZero, "inf", APFloat::opOK, APFloat::fcInfinity },
 2064     { PInf, PNormalValue, "inf", APFloat::opOK, APFloat::fcInfinity },
 2065     { PInf, MNormalValue, "inf", APFloat::opOK, APFloat::fcInfinity },
 2066     { PInf, PLargestValue, "inf", APFloat::opOK, APFloat::fcInfinity },
 2067     { PInf, MLargestValue, "inf", APFloat::opOK, APFloat::fcInfinity },
 2068     { PInf, PSmallestValue, "inf", APFloat::opOK, APFloat::fcInfinity },
 2069     { PInf, MSmallestValue, "inf", APFloat::opOK, APFloat::fcInfinity },
 2070     { PInf, PSmallestNormalized, "inf", APFloat::opOK, APFloat::fcInfinity },
 2071     { PInf, MSmallestNormalized, "inf", APFloat::opOK, APFloat::fcInfinity },
 2072     { MInf, PInf, "-inf", APFloat::opOK, APFloat::fcInfinity },
 2074     { MInf, PZero, "-inf", APFloat::opOK, APFloat::fcInfinity },
 2075     { MInf, MZero, "-inf", APFloat::opOK, APFloat::fcInfinity },
 2081     { MInf, PNormalValue, "-inf", APFloat::opOK, APFloat::fcInfinity },
 2082     { MInf, MNormalValue, "-inf", APFloat::opOK, APFloat::fcInfinity },
 2083     { MInf, PLargestValue, "-inf", APFloat::opOK, APFloat::fcInfinity },
 2084     { MInf, MLargestValue, "-inf", APFloat::opOK, APFloat::fcInfinity },
 2085     { MInf, PSmallestValue, "-inf", APFloat::opOK, APFloat::fcInfinity },
 2086     { MInf, MSmallestValue, "-inf", APFloat::opOK, APFloat::fcInfinity },
 2087     { MInf, PSmallestNormalized, "-inf", APFloat::opOK, APFloat::fcInfinity },
 2088     { MInf, MSmallestNormalized, "-inf", APFloat::opOK, APFloat::fcInfinity },
 2089     { PZero, PInf, "-inf", APFloat::opOK, APFloat::fcInfinity },
 2090     { PZero, MInf, "inf", APFloat::opOK, APFloat::fcInfinity },
 2106     { MZero, PInf, "-inf", APFloat::opOK, APFloat::fcInfinity },
 2107     { MZero, MInf, "inf", APFloat::opOK, APFloat::fcInfinity },
 2157     { PNormalValue, PInf, "-inf", APFloat::opOK, APFloat::fcInfinity },
 2158     { PNormalValue, MInf, "inf", APFloat::opOK, APFloat::fcInfinity },
 2174     { MNormalValue, PInf, "-inf", APFloat::opOK, APFloat::fcInfinity },
 2175     { MNormalValue, MInf, "inf", APFloat::opOK, APFloat::fcInfinity },
 2191     { PLargestValue, PInf, "-inf", APFloat::opOK, APFloat::fcInfinity },
 2192     { PLargestValue, MInf, "inf", APFloat::opOK, APFloat::fcInfinity },
 2203     { PLargestValue, MLargestValue, "inf", OverflowStatus, APFloat::fcInfinity },
 2208     { MLargestValue, PInf, "-inf", APFloat::opOK, APFloat::fcInfinity },
 2209     { MLargestValue, MInf, "inf", APFloat::opOK, APFloat::fcInfinity },
 2219     { MLargestValue, PLargestValue, "-inf", OverflowStatus, APFloat::fcInfinity },
 2225     { PSmallestValue, PInf, "-inf", APFloat::opOK, APFloat::fcInfinity },
 2226     { PSmallestValue, MInf, "inf", APFloat::opOK, APFloat::fcInfinity },
 2242     { MSmallestValue, PInf, "-inf", APFloat::opOK, APFloat::fcInfinity },
 2243     { MSmallestValue, MInf, "inf", APFloat::opOK, APFloat::fcInfinity },
 2259     { PSmallestNormalized, PInf, "-inf", APFloat::opOK, APFloat::fcInfinity },
 2260     { PSmallestNormalized, MInf, "inf", APFloat::opOK, APFloat::fcInfinity },
 2276     { MSmallestNormalized, PInf, "-inf", APFloat::opOK, APFloat::fcInfinity },
 2277     { MSmallestNormalized, MInf, "inf", APFloat::opOK, APFloat::fcInfinity },
 2344     { PInf, PInf, "inf", APFloat::opOK, APFloat::fcInfinity },
 2345     { PInf, MInf, "-inf", APFloat::opOK, APFloat::fcInfinity },
 2353     { PInf, PNormalValue, "inf", APFloat::opOK, APFloat::fcInfinity },
 2354     { PInf, MNormalValue, "-inf", APFloat::opOK, APFloat::fcInfinity },
 2355     { PInf, PLargestValue, "inf", APFloat::opOK, APFloat::fcInfinity },
 2356     { PInf, MLargestValue, "-inf", APFloat::opOK, APFloat::fcInfinity },
 2357     { PInf, PSmallestValue, "inf", APFloat::opOK, APFloat::fcInfinity },
 2358     { PInf, MSmallestValue, "-inf", APFloat::opOK, APFloat::fcInfinity },
 2359     { PInf, PSmallestNormalized, "inf", APFloat::opOK, APFloat::fcInfinity },
 2360     { PInf, MSmallestNormalized, "-inf", APFloat::opOK, APFloat::fcInfinity },
 2361     { MInf, PInf, "-inf", APFloat::opOK, APFloat::fcInfinity },
 2362     { MInf, MInf, "inf", APFloat::opOK, APFloat::fcInfinity },
 2370     { MInf, PNormalValue, "-inf", APFloat::opOK, APFloat::fcInfinity },
 2371     { MInf, MNormalValue, "inf", APFloat::opOK, APFloat::fcInfinity },
 2372     { MInf, PLargestValue, "-inf", APFloat::opOK, APFloat::fcInfinity },
 2373     { MInf, MLargestValue, "inf", APFloat::opOK, APFloat::fcInfinity },
 2374     { MInf, PSmallestValue, "-inf", APFloat::opOK, APFloat::fcInfinity },
 2375     { MInf, MSmallestValue, "inf", APFloat::opOK, APFloat::fcInfinity },
 2376     { MInf, PSmallestNormalized, "-inf", APFloat::opOK, APFloat::fcInfinity },
 2377     { MInf, MSmallestNormalized, "inf", APFloat::opOK, APFloat::fcInfinity },
 2446     { PNormalValue, PInf, "inf", APFloat::opOK, APFloat::fcInfinity },
 2447     { PNormalValue, MInf, "-inf", APFloat::opOK, APFloat::fcInfinity },
 2463     { MNormalValue, PInf, "-inf", APFloat::opOK, APFloat::fcInfinity },
 2464     { MNormalValue, MInf, "inf", APFloat::opOK, APFloat::fcInfinity },
 2480     { PLargestValue, PInf, "inf", APFloat::opOK, APFloat::fcInfinity },
 2481     { PLargestValue, MInf, "-inf", APFloat::opOK, APFloat::fcInfinity },
 2491     { PLargestValue, PLargestValue, "inf", OverflowStatus, APFloat::fcInfinity },
 2492     { PLargestValue, MLargestValue, "-inf", OverflowStatus, APFloat::fcInfinity },
 2497     { MLargestValue, PInf, "-inf", APFloat::opOK, APFloat::fcInfinity },
 2498     { MLargestValue, MInf, "inf", APFloat::opOK, APFloat::fcInfinity },
 2508     { MLargestValue, PLargestValue, "-inf", OverflowStatus, APFloat::fcInfinity },
 2509     { MLargestValue, MLargestValue, "inf", OverflowStatus, APFloat::fcInfinity },
 2514     { PSmallestValue, PInf, "inf", APFloat::opOK, APFloat::fcInfinity },
 2515     { PSmallestValue, MInf, "-inf", APFloat::opOK, APFloat::fcInfinity },
 2531     { MSmallestValue, PInf, "-inf", APFloat::opOK, APFloat::fcInfinity },
 2532     { MSmallestValue, MInf, "inf", APFloat::opOK, APFloat::fcInfinity },
 2548     { PSmallestNormalized, PInf, "inf", APFloat::opOK, APFloat::fcInfinity },
 2549     { PSmallestNormalized, MInf, "-inf", APFloat::opOK, APFloat::fcInfinity },
 2565     { MSmallestNormalized, PInf, "-inf", APFloat::opOK, APFloat::fcInfinity },
 2566     { MSmallestNormalized, MInf, "inf", APFloat::opOK, APFloat::fcInfinity },
 2635     { PInf, PZero, "inf", APFloat::opOK, APFloat::fcInfinity },
 2636     { PInf, MZero, "-inf", APFloat::opOK, APFloat::fcInfinity },
 2642     { PInf, PNormalValue, "inf", APFloat::opOK, APFloat::fcInfinity },
 2643     { PInf, MNormalValue, "-inf", APFloat::opOK, APFloat::fcInfinity },
 2644     { PInf, PLargestValue, "inf", APFloat::opOK, APFloat::fcInfinity },
 2645     { PInf, MLargestValue, "-inf", APFloat::opOK, APFloat::fcInfinity },
 2646     { PInf, PSmallestValue, "inf", APFloat::opOK, APFloat::fcInfinity },
 2647     { PInf, MSmallestValue, "-inf", APFloat::opOK, APFloat::fcInfinity },
 2648     { PInf, PSmallestNormalized, "inf", APFloat::opOK, APFloat::fcInfinity },
 2649     { PInf, MSmallestNormalized, "-inf", APFloat::opOK, APFloat::fcInfinity },
 2652     { MInf, PZero, "-inf", APFloat::opOK, APFloat::fcInfinity },
 2653     { MInf, MZero, "inf", APFloat::opOK, APFloat::fcInfinity },
 2659     { MInf, PNormalValue, "-inf", APFloat::opOK, APFloat::fcInfinity },
 2660     { MInf, MNormalValue, "inf", APFloat::opOK, APFloat::fcInfinity },
 2661     { MInf, PLargestValue, "-inf", APFloat::opOK, APFloat::fcInfinity },
 2662     { MInf, MLargestValue, "inf", APFloat::opOK, APFloat::fcInfinity },
 2663     { MInf, PSmallestValue, "-inf", APFloat::opOK, APFloat::fcInfinity },
 2664     { MInf, MSmallestValue, "inf", APFloat::opOK, APFloat::fcInfinity },
 2665     { MInf, PSmallestNormalized, "-inf", APFloat::opOK, APFloat::fcInfinity },
 2666     { MInf, MSmallestNormalized, "inf", APFloat::opOK, APFloat::fcInfinity },
 2737     { PNormalValue, PZero, "inf", APFloat::opDivByZero, APFloat::fcInfinity },
 2738     { PNormalValue, MZero, "-inf", APFloat::opDivByZero, APFloat::fcInfinity },
 2748     { PNormalValue, PSmallestValue, "inf", OverflowStatus, APFloat::fcInfinity },
 2749     { PNormalValue, MSmallestValue, "-inf", OverflowStatus, APFloat::fcInfinity },
 2754     { MNormalValue, PZero, "-inf", APFloat::opDivByZero, APFloat::fcInfinity },
 2755     { MNormalValue, MZero, "inf", APFloat::opDivByZero, APFloat::fcInfinity },
 2765     { MNormalValue, PSmallestValue, "-inf", OverflowStatus, APFloat::fcInfinity },
 2766     { MNormalValue, MSmallestValue, "inf", OverflowStatus, APFloat::fcInfinity },
 2771     { PLargestValue, PZero, "inf", APFloat::opDivByZero, APFloat::fcInfinity },
 2772     { PLargestValue, MZero, "-inf", APFloat::opDivByZero, APFloat::fcInfinity },
 2782     { PLargestValue, PSmallestValue, "inf", OverflowStatus, APFloat::fcInfinity },
 2783     { PLargestValue, MSmallestValue, "-inf", OverflowStatus, APFloat::fcInfinity },
 2784     { PLargestValue, PSmallestNormalized, "inf", OverflowStatus, APFloat::fcInfinity },
 2785     { PLargestValue, MSmallestNormalized, "-inf", OverflowStatus, APFloat::fcInfinity },
 2788     { MLargestValue, PZero, "-inf", APFloat::opDivByZero, APFloat::fcInfinity },
 2789     { MLargestValue, MZero, "inf", APFloat::opDivByZero, APFloat::fcInfinity },
 2799     { MLargestValue, PSmallestValue, "-inf", OverflowStatus, APFloat::fcInfinity },
 2800     { MLargestValue, MSmallestValue, "inf", OverflowStatus, APFloat::fcInfinity },
 2801     { MLargestValue, PSmallestNormalized, "-inf", OverflowStatus, APFloat::fcInfinity },
 2802     { MLargestValue, MSmallestNormalized, "inf", OverflowStatus, APFloat::fcInfinity },
 2805     { PSmallestValue, PZero, "inf", APFloat::opDivByZero, APFloat::fcInfinity },
 2806     { PSmallestValue, MZero, "-inf", APFloat::opDivByZero, APFloat::fcInfinity },
 2822     { MSmallestValue, PZero, "-inf", APFloat::opDivByZero, APFloat::fcInfinity },
 2823     { MSmallestValue, MZero, "inf", APFloat::opDivByZero, APFloat::fcInfinity },
 2839     { PSmallestNormalized, PZero, "inf", APFloat::opDivByZero, APFloat::fcInfinity },
 2840     { PSmallestNormalized, MZero, "-inf", APFloat::opDivByZero, APFloat::fcInfinity },
 2856     { MSmallestNormalized, PZero, "-inf", APFloat::opDivByZero, APFloat::fcInfinity },
 2857     { MSmallestNormalized, MZero, "inf", APFloat::opDivByZero, APFloat::fcInfinity },
 3383                       0x7948000000000000ull, 0ull, APFloat::fcInfinity,
 3395                       APFloat::fcInfinity, APFloat::rmNearestTiesToEven),
 3554                       APFloat::fcInfinity, APFloat::rmNearestTiesToEven),
 3560                       APFloat::fcInfinity, APFloat::rmNearestTiesToEven),