Home
last modified time | relevance | path

Searched refs:fpclassify (Results 1 – 25 of 25) sorted by relevance

/llvm-project-15.0.7/clang/lib/Headers/
H A D__clang_cuda_math_forward_declares.h79 __DEVICE__ int fpclassify(double);
80 __DEVICE__ int fpclassify(float);
225 using ::fpclassify;
H A D__clang_cuda_cmath.h56 __DEVICE__ int fpclassify(float __x) { in fpclassify() function
60 __DEVICE__ int fpclassify(double __x) { in fpclassify() function
264 __CUDA_CLANG_FN_INTEGER_OVERLOAD_1(int, fpclassify)
392 using ::fpclassify;
H A D__clang_hip_cmath.h54 __DEVICE__ __CONSTEXPR__ int fpclassify(float __x) { in fpclassify() function
58 __DEVICE__ __CONSTEXPR__ int fpclassify(double __x) { in fpclassify() function
505 __HIP_OVERLOAD1(int, fpclassify)
675 using ::fpclassify;
819 return fpclassify(*p);
822 return fpclassify(*p);
/llvm-project-15.0.7/clang/test/Headers/
H A Dnvptx_device_math_macro.cpp15 return (std::fpclassify(a) != FP_ZERO); in use_macro()
/llvm-project-15.0.7/clang/test/Headers/Inputs/include/
H A Dcmath60 int fpclassify(double);
61 int fpclassify(float);
184 using ::fpclassify;
/llvm-project-15.0.7/compiler-rt/test/builtins/Unit/
H A Dcompiler_rt_logbf_test.c11 if (fpclassify(x) == FP_SUBNORMAL) in test__compiler_rt_logbf()
H A Dcompiler_rt_logb_test.c10 if (fpclassify(x) == FP_SUBNORMAL) in test__compiler_rt_logb()
H A Dcompiler_rt_scalbnf_test.c13 if (fpclassify(x) == FP_SUBNORMAL) in test__compiler_rt_scalbnf()
H A Dcompiler_rt_scalbn_test.c13 if (fpclassify(x) == FP_SUBNORMAL) in test__compiler_rt_scalbn()
H A Dcompiler_rt_logbl_test.c13 if (fpclassify(x) == FP_SUBNORMAL) in test__compiler_rt_logbl()
H A Dcompiler_rt_scalbnl_test.c15 if (fpclassify(x) == FP_SUBNORMAL) in test__compiler_rt_scalbnl()
/llvm-project-15.0.7/clang/test/CodeGen/
H A Dstrictfp_builtins.c53 P(fpclassify, (0, 1, 2, 3, 4, d)); in test_fpclassify()
H A Dbuiltins.c43 P(fpclassify, (0, 1, 2, 3, 4, 1.0)); in main()
44 P(fpclassify, (0, 1, 2, 3, 4, 1.0f)); in main()
45 P(fpclassify, (0, 1, 2, 3, 4, 1.0l)); in main()
/llvm-project-15.0.7/libcxx/include/
H A Dmath.h381 #ifdef fpclassify
392 return fpclassify(__lcpp_x); in __libcpp_fpclassify()
396 #undef fpclassify
401 fpclassify(_A1 __lcpp_x) _NOEXCEPT in fpclassify() function
409 fpclassify(_A1 __lcpp_x) _NOEXCEPT in fpclassify() function
417 fpclassify(_A1 __lcpp_x) _NOEXCEPT in fpclassify() function
419 return ::fpclassify(static_cast<typename std::__promote<_A1>::type>(__lcpp_x)); in fpclassify()
425 fpclassify(_A1 __lcpp_x) _NOEXCEPT in fpclassify() function
H A Dcmath141 int fpclassify(arithmetic x);
323 using ::fpclassify _LIBCPP_USING_IF_EXISTS;
/llvm-project-15.0.7/llvm/test/CodeGen/SystemZ/
H A Dtdc-06.ll1 ; Test the Test Data Class instruction, as used by fpclassify.
/llvm-project-15.0.7/libcxx/test/std/numerics/c.math/
H A Dcmath.pass.cpp58 Ambiguous fpclassify(Ambiguous){ return Ambiguous(); } in fpclassify() function
598 #ifdef fpclassify in test_fpclassify()
599 #error fpclassify defined in test_fpclassify()
601 static_assert((std::is_same<decltype(std::fpclassify((float)0)), int>::value), ""); in test_fpclassify()
603 static_assert((std::is_same<decltype(std::fpclassify(0)), int>::value), ""); in test_fpclassify()
606 assert(std::fpclassify(-1.0) == FP_NORMAL); in test_fpclassify()
607 assert(std::fpclassify(0) == FP_ZERO); in test_fpclassify()
608 assert(std::fpclassify(1) == FP_NORMAL); in test_fpclassify()
609 assert(std::fpclassify(-1) == FP_NORMAL); in test_fpclassify()
610 assert(std::fpclassify(std::numeric_limits<int>::max()) == FP_NORMAL); in test_fpclassify()
[all …]
/llvm-project-15.0.7/libcxx/test/std/depr/depr.c.headers/
H A Dmath_h.pass.cpp57 Ambiguous fpclassify(Ambiguous){ return Ambiguous(); } in fpclassify() function
586 #ifdef fpclassify in test_fpclassify()
587 #error fpclassify defined in test_fpclassify()
589 static_assert((std::is_same<decltype(fpclassify((float)0)), int>::value), ""); in test_fpclassify()
590 static_assert((std::is_same<decltype(fpclassify((double)0)), int>::value), ""); in test_fpclassify()
591 static_assert((std::is_same<decltype(fpclassify(0)), int>::value), ""); in test_fpclassify()
592 static_assert((std::is_same<decltype(fpclassify((long double)0)), int>::value), ""); in test_fpclassify()
593 static_assert((std::is_same<decltype(fpclassify(Ambiguous())), Ambiguous>::value), ""); in test_fpclassify()
594 assert(fpclassify(-1.0) == FP_NORMAL); in test_fpclassify()
/llvm-project-15.0.7/libc/AOR_v20.02/math/test/
H A Dmathtest.c291 MFUNC(at_d, rt_i, fpclassify, 0),
1087 case m_fpclassify: intres = fpclassify(d_arg1.f); break; in runtest()
1100 case m_fpclassifyf: intres = fpclassify(s_arg1.f); break; in runtest()
/llvm-project-15.0.7/libc/docs/
H A Dmath.rst80 fpclassify
/llvm-project-15.0.7/libcxx/include/experimental/
H A Dsimd544 template <class Abi> samesize<int, floatv<Abi>> fpclassify(floatv<Abi> x);
545 template <class Abi> samesize<int, doublev<Abi>> fpclassify(doublev<Abi> x);
546 template <class Abi> samesize<int, ldoublev<Abi>> fpclassify(ldoublev<Abi> x);
/llvm-project-15.0.7/clang/include/clang/Tooling/Inclusions/
H A DCSymbolMap.inc483 SYMBOL(fpclassify, None, <math.h>)
H A DStdSymbolMap.inc372 SYMBOL(fpclassify, std::, <cmath>)
/llvm-project-15.0.7/llvm/lib/Target/
H A DREADME.txt2040 extended to support general "fpclassify" operations that can return
/llvm-project-15.0.7/llvm/test/DebugInfo/NVPTX/
H A Ddebug-info.ll8497 !67 = !DISubprogram(name: "fpclassify", linkageName: "_ZL10fpclassifyf", scope: !7, file: !7, line:…