| /llvm-project-15.0.7/libclc/generic/lib/math/ |
| H A D | cosh.cl | 29 _CLC_OVERLOAD _CLC_DEF float cosh(float x) { 33 // cosh(x) = sign(x)*Inf 39 // cosh(x) is then z. 49 // z = sinh(y) = sinh(y0)cosh(dy) + cosh(y0)sinh(dy) 50 // z = cosh(y) = cosh(y0)cosh(dy) + sinh(y0)sinh(dy) 51 // where sinh(y0) and cosh(y0) are tabulated above. 106 _CLC_OVERLOAD _CLC_DEF double cosh(double x) { 112 // cosh(x) = sign(x)*Inf 120 // cosh(x) is then sign(x)*z. 132 // z = cosh(y) = cosh(y0)cosh(dy) + sinh(y0)sinh(dy) [all …]
|
| H A D | sinh.cl | 49 // z = sinh(y) = sinh(y0)cosh(dy) + cosh(y0)sinh(dy) 50 // where sinh(y0) and cosh(y0) are tabulated above. 132 // z = sinh(y) = sinh(y0)cosh(dy) + cosh(y0)sinh(dy) 133 // where sinh(y0) and cosh(y0) are obtained from tables
|
| H A D | tanh.cl | 30 // The definition of tanh(x) is sinh(x)/cosh(x), which is also equivalent 83 // The definition of tanh(x) is sinh(x)/cosh(x), which is also equivalent
|
| /llvm-project-15.0.7/clang/lib/Headers/ |
| H A D | __clang_cuda_math_forward_declares.h | 53 __DEVICE__ double cosh(double); 54 __DEVICE__ float cosh(float); 212 using ::cosh;
|
| H A D | __clang_cuda_cmath.h | 51 __DEVICE__ float cosh(float __x) { return ::coshf(__x); } in cosh() function 252 __CUDA_CLANG_FN_INTEGER_OVERLOAD_1(double, cosh) 379 using ::cosh;
|
| H A D | __clang_hip_cmath.h | 216 __DEF_FUN1(float, cosh) 492 __HIP_OVERLOAD1(double, cosh) 662 using ::cosh; 812 return cosh(x) * y;
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/performance/ |
| H A D | type-promotion-in-math-fn.cpp | 16 double cosh(double); 101 cosh(a); in check_all_fns()
|
| /llvm-project-15.0.7/libclc/generic/include/clc/math/ |
| H A D | cosh.h | 24 #define __CLC_FUNCTION cosh
|
| /llvm-project-15.0.7/libcxx/test/std/numerics/complex.number/complex.transcendentals/ |
| H A D | cosh.pass.cpp | 25 assert(cosh(c) == x); in test() 40 std::complex<double> r = cosh(testcases[i]); in test_edges()
|
| H A D | cos.pass.cpp | 42 std::complex<double> z = cosh(t1); in test_edges()
|
| /llvm-project-15.0.7/libcxx/test/std/numerics/numarray/valarray.nonmembers/valarray.transcend/ |
| H A D | cosh_valarray.pass.cpp | 36 std::valarray<T> v3 = cosh(v1); in main()
|
| /llvm-project-15.0.7/clang/test/Headers/Inputs/include/ |
| H A D | cmath | 32 double cosh(double); 33 float cosh(float); 172 using ::cosh;
|
| H A D | math.h | 31 double cosh(double __a);
|
| /llvm-project-15.0.7/clang/lib/Headers/openmp_wrappers/ |
| H A D | complex_cmath.h | 273 cosh(__x.real()) * sin(__x.imag())); in sinh() 279 __DEVICE__ std::complex<_Tp> cosh(const std::complex<_Tp> &__x) { in cosh() function 288 return std::complex<_Tp>(cosh(__x.real()) * cos(__x.imag()), in cosh() 306 _Tp __d(cosh(__2r) + cos(__2i)); in tanh() 375 return cosh(complex<_Tp>(-__x.imag(), __x.real())); in cos()
|
| /llvm-project-15.0.7/llvm/test/Transforms/InstCombine/ |
| H A D | win-math.ll | 108 declare double @cosh(double %x) 112 ; MSVCXX: double @cosh 114 ; MSVC19: double @cosh 116 %2 = call double @cosh(double %1)
|
| /llvm-project-15.0.7/llvm/test/Transforms/InstSimplify/ConstProp/ |
| H A D | math-1.ll | 50 declare double @cosh(double) #0 55 %res = tail call fast double @cosh(double 1.0)
|
| H A D | calls.ll | 10 declare double @cosh(double) readnone nounwind willreturn 80 %6 = call double @cosh(double 3.000000e+00)
|
| /llvm-project-15.0.7/libcxx/test/std/depr/depr.c.headers/ |
| H A D | math_h.pass.cpp | 40 Ambiguous cosh(Ambiguous){ return Ambiguous(); } in cosh() function 259 static_assert((std::is_same<decltype(cosh((float)0)), float>::value), ""); in test_cosh() 260 static_assert((std::is_same<decltype(cosh((bool)0)), double>::value), ""); in test_cosh() 262 static_assert((std::is_same<decltype(cosh((int)0)), double>::value), ""); in test_cosh() 263 static_assert((std::is_same<decltype(cosh((unsigned int)0)), double>::value), ""); in test_cosh() 264 static_assert((std::is_same<decltype(cosh((long)0)), double>::value), ""); in test_cosh() 265 static_assert((std::is_same<decltype(cosh((unsigned long)0)), double>::value), ""); in test_cosh() 266 static_assert((std::is_same<decltype(cosh((long long)0)), double>::value), ""); in test_cosh() 268 static_assert((std::is_same<decltype(cosh((double)0)), double>::value), ""); in test_cosh() 272 static_assert((std::is_same<decltype(cosh(Ambiguous())), Ambiguous>::value), ""); in test_cosh() [all …]
|
| /llvm-project-15.0.7/llvm/test/Transforms/Util/ |
| H A D | libcalls-shrinkwrap-double.ll | 10 %call_0 = call double @cosh(double %value) 16 ; CHECK-NEXT: %call_0 = call double @cosh(double %value) 61 declare double @cosh(double)
|
| /llvm-project-15.0.7/clang/test/CodeGen/ |
| H A D | libcall-declarations.c | 67 double cosh(double); 275 F(cosf), F(cosl), F(cosh), F(coshf), F(coshl),
|
| H A D | math-libcalls.c | 172 cosh(f); coshf(f); coshl(f); in foo()
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | ScalarFuncs.def | 57 TLI_DEFINE_SCALAR_MASS_FUNC("cosh", "__xl_cosh")
|
| /llvm-project-15.0.7/libcxx/test/std/numerics/c.math/ |
| H A D | cmath.pass.cpp | 41 Ambiguous cosh(Ambiguous){ return Ambiguous(); } in cosh() function 264 static_assert((std::is_same<decltype(std::cosh((float)0)), float>::value), ""); in test_cosh() 265 static_assert((std::is_same<decltype(std::cosh((bool)0)), double>::value), ""); in test_cosh() 267 static_assert((std::is_same<decltype(std::cosh((int)0)), double>::value), ""); in test_cosh() 268 static_assert((std::is_same<decltype(std::cosh((unsigned int)0)), double>::value), ""); in test_cosh() 269 static_assert((std::is_same<decltype(std::cosh((long)0)), double>::value), ""); in test_cosh() 270 static_assert((std::is_same<decltype(std::cosh((unsigned long)0)), double>::value), ""); in test_cosh() 271 static_assert((std::is_same<decltype(std::cosh((long long)0)), double>::value), ""); in test_cosh() 273 static_assert((std::is_same<decltype(std::cosh((double)0)), double>::value), ""); in test_cosh() 277 static_assert((std::is_same<decltype(cosh(Ambiguous())), Ambiguous>::value), ""); in test_cosh() [all …]
|
| /llvm-project-15.0.7/libclc/spirv/lib/ |
| H A D | SOURCES | 33 ../../generic/lib/math/cosh.cl
|
| /llvm-project-15.0.7/libclc/spirv64/lib/ |
| H A D | SOURCES | 33 ../../generic/lib/math/cosh.cl
|