Home
last modified time | relevance | path

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

123

/llvm-project-15.0.7/libclc/generic/lib/math/
H A Dcosh.cl29 _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 Dsinh.cl49 // 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 Dtanh.cl30 // 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.h53 __DEVICE__ double cosh(double);
54 __DEVICE__ float cosh(float);
212 using ::cosh;
H A D__clang_cuda_cmath.h51 __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.h216 __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 Dtype-promotion-in-math-fn.cpp16 double cosh(double);
101 cosh(a); in check_all_fns()
/llvm-project-15.0.7/libclc/generic/include/clc/math/
H A Dcosh.h24 #define __CLC_FUNCTION cosh
/llvm-project-15.0.7/libcxx/test/std/numerics/complex.number/complex.transcendentals/
H A Dcosh.pass.cpp25 assert(cosh(c) == x); in test()
40 std::complex<double> r = cosh(testcases[i]); in test_edges()
H A Dcos.pass.cpp42 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 Dcosh_valarray.pass.cpp36 std::valarray<T> v3 = cosh(v1); in main()
/llvm-project-15.0.7/clang/test/Headers/Inputs/include/
H A Dcmath32 double cosh(double);
33 float cosh(float);
172 using ::cosh;
H A Dmath.h31 double cosh(double __a);
/llvm-project-15.0.7/clang/lib/Headers/openmp_wrappers/
H A Dcomplex_cmath.h273 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 Dwin-math.ll108 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 Dmath-1.ll50 declare double @cosh(double) #0
55 %res = tail call fast double @cosh(double 1.0)
H A Dcalls.ll10 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 Dmath_h.pass.cpp40 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 Dlibcalls-shrinkwrap-double.ll10 %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 Dlibcall-declarations.c67 double cosh(double);
275 F(cosf), F(cosl), F(cosh), F(coshf), F(coshl),
H A Dmath-libcalls.c172 cosh(f); coshf(f); coshl(f); in foo()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DScalarFuncs.def57 TLI_DEFINE_SCALAR_MASS_FUNC("cosh", "__xl_cosh")
/llvm-project-15.0.7/libcxx/test/std/numerics/c.math/
H A Dcmath.pass.cpp41 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 DSOURCES33 ../../generic/lib/math/cosh.cl
/llvm-project-15.0.7/libclc/spirv64/lib/
H A DSOURCES33 ../../generic/lib/math/cosh.cl

123