Home
last modified time | relevance | path

Searched refs:isnormal (Results 1 – 23 of 23) sorted by relevance

/llvm-project-15.0.7/libclc/generic/lib/relational/
H A Disnormal.cl4 _CLC_DEFINE_RELATIONAL_UNARY(int, isnormal, __builtin_isnormal, float)
10 // The scalar version of isnormal(double) returns an int, but the vector versions
12 _CLC_DEF _CLC_OVERLOAD int isnormal(double x) {
16 _CLC_DEFINE_RELATIONAL_UNARY_VEC_ALL(long, isnormal, double)
23 // The scalar version of isnormal(half) returns an int, but the vector versions
25 _CLC_DEF _CLC_OVERLOAD int isnormal(half x) {
29 _CLC_DEFINE_RELATIONAL_UNARY_VEC_ALL(short, isnormal, half)
/llvm-project-15.0.7/libclc/generic/include/clc/relational/
H A Disnormal.h1 #undef isnormal
3 #define __CLC_FUNCTION isnormal
/llvm-project-15.0.7/clang/lib/Headers/
H A D__clang_cuda_math_forward_declares.h112 __DEVICE__ bool isnormal(double);
113 __DEVICE__ bool isnormal(float);
237 using ::isnormal;
H A D__clang_cuda_cmath.h147 __DEVICE__ bool isnormal(float __x) { return __builtin_isnormal(__x); } in isnormal() function
148 __DEVICE__ bool isnormal(double __x) { return __builtin_isnormal(__x); } in isnormal() function
275 __CUDA_CLANG_FN_INTEGER_OVERLOAD_1(bool, isnormal)
402 using ::isnormal;
H A D__clang_hip_cmath.h137 __DEVICE__ __CONSTEXPR__ bool isnormal(float __x) { in isnormal() function
140 __DEVICE__ __CONSTEXPR__ bool isnormal(double __x) { in isnormal() function
517 __HIP_OVERLOAD1(bool, isnormal)
685 using ::isnormal;
H A Dopencl-c.h10773 int __ovld __cnfn isnormal(float);
10774 int2 __ovld __cnfn isnormal(float2);
10775 int3 __ovld __cnfn isnormal(float3);
10776 int4 __ovld __cnfn isnormal(float4);
10777 int8 __ovld __cnfn isnormal(float8);
10780 int __ovld __cnfn isnormal(double);
10788 int __ovld __cnfn isnormal(half);
10789 short2 __ovld __cnfn isnormal(half2);
10790 short3 __ovld __cnfn isnormal(half3);
10791 short4 __ovld __cnfn isnormal(half4);
[all …]
/llvm-project-15.0.7/clang/test/Headers/Inputs/include/
H A Dcmath92 bool isnormal(double);
93 bool isnormal(float);
196 using ::isnormal;
/llvm-project-15.0.7/llvm/test/CodeGen/SystemZ/
H A Dtdc-05.ll47 ; Test float isnormal, from clang.
73 ; Test isnormal, from clang.
/llvm-project-15.0.7/clang/test/CodeGen/
H A Dstrictfp_builtins.c258 P(isnormal, (d)); in test_isnormal()
/llvm-project-15.0.7/libcxx/test/std/numerics/c.math/
H A Dcmath.pass.cpp60 Ambiguous isnormal(Ambiguous){ return Ambiguous(); } in isnormal() function
634 #ifdef isnormal in test_isnormal()
635 #error isnormal defined in test_isnormal()
637 static_assert((std::is_same<decltype(std::isnormal((float)0)), bool>::value), ""); in test_isnormal()
639 static_assert((std::is_same<decltype(std::isnormal(0)), bool>::value), ""); in test_isnormal()
642 assert(std::isnormal(-1.0) == true); in test_isnormal()
643 assert(std::isnormal(0) == false); in test_isnormal()
644 assert(std::isnormal(1) == true); in test_isnormal()
645 assert(std::isnormal(-1) == true); in test_isnormal()
646 assert(std::isnormal(std::numeric_limits<int>::max()) == true); in test_isnormal()
[all …]
/llvm-project-15.0.7/libcxx/include/
H A Dmath.h570 #ifdef isnormal
580 return isnormal(__lcpp_x); in __libcpp_isnormal()
584 #undef isnormal
589 isnormal(_A1 __lcpp_x) _NOEXCEPT in isnormal() function
597 isnormal(_A1 __lcpp_x) _NOEXCEPT in isnormal() function
H A Dnumeric149 #include <cmath> // for isnormal
H A Dcmath146 bool isnormal(arithmetic x);
327 using ::isnormal _LIBCPP_USING_IF_EXISTS;
/llvm-project-15.0.7/libcxx/test/std/depr/depr.c.headers/
H A Dmath_h.pass.cpp59 Ambiguous isnormal(Ambiguous){ return Ambiguous(); } in isnormal() function
612 #ifdef isnormal in test_isnormal()
613 #error isnormal defined in test_isnormal()
615 static_assert((std::is_same<decltype(isnormal((float)0)), bool>::value), ""); in test_isnormal()
616 static_assert((std::is_same<decltype(isnormal((double)0)), bool>::value), ""); in test_isnormal()
617 static_assert((std::is_same<decltype(isnormal(0)), bool>::value), ""); in test_isnormal()
618 static_assert((std::is_same<decltype(isnormal((long double)0)), bool>::value), ""); in test_isnormal()
619 static_assert((std::is_same<decltype(isnormal(Ambiguous())), Ambiguous>::value), ""); in test_isnormal()
620 assert(isnormal(-1.0) == true); in test_isnormal()
/llvm-project-15.0.7/libclc/generic/lib/
H A DSOURCES208 relational/isnormal.cl
/llvm-project-15.0.7/libc/AOR_v20.02/math/test/
H A Dmathtest.c311 MFUNC(at_d, rt_i, isnormal, 0),
1085 case m_isnormal: intres = isnormal(d_arg1.f); break; in runtest()
1098 case m_isnormalf: intres = isnormal(s_arg1.f); break; in runtest()
/llvm-project-15.0.7/libc/docs/
H A Dmath.rst91 isnormal
/llvm-project-15.0.7/libcxx/include/experimental/
H A Dsimd560 template <class Abi> simd_mask<float, Abi> isnormal(floatv<Abi> x);
561 template <class Abi> simd_mask<double, Abi> isnormal(doublev<Abi> x);
562 template <class Abi> simd_mask<long double, Abi> isnormal(ldoublev<Abi> x);
/llvm-project-15.0.7/clang/include/clang/Tooling/Inclusions/
H A DCSymbolMap.inc557 SYMBOL(isnormal, None, <math.h>)
H A DStdSymbolMap.inc665 SYMBOL(isnormal, std::, <cmath>)
/llvm-project-15.0.7/clang/lib/Sema/
H A DOpenCLBuiltins.td803 foreach name = ["isfinite", "isinf", "isnan", "isnormal", "signbit"] in {
/llvm-project-15.0.7/llvm/test/DebugInfo/NVPTX/
H A Ddebug-info.ll8532 !102 = !DISubprogram(name: "isnormal", linkageName: "_ZL8isnormalf", scope: !7, file: !7, line: 118…
/llvm-project-15.0.7/clang/docs/tools/
H A Dclang-formatted-files.txt3351 libclc/generic/include/clc/relational/isnormal.h