Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/libc/test/src/math/
H A Dfdim_test.cpp19 TEST_F(LlvmLibcFDimTest, NaNArg_fdim) { test_na_n_arg(&__llvm_libc::fdim); } in TEST_F()
21 TEST_F(LlvmLibcFDimTest, InfArg_fdim) { test_inf_arg(&__llvm_libc::fdim); } in TEST_F()
24 test_neg_inf_arg(&__llvm_libc::fdim); in TEST_F()
27 TEST_F(LlvmLibcFDimTest, BothZero_fdim) { test_both_zero(&__llvm_libc::fdim); } in TEST_F()
30 test_in_range(&__llvm_libc::fdim); in TEST_F()
/llvm-project-15.0.7/libc/src/math/generic/
H A Dfdim.cpp15 LLVM_LIBC_FUNCTION(double, fdim, (double x, double y)) {
16 return fputil::fdim(x, y);
H A Dfdiml.cpp16 return fputil::fdim(x, y);
H A Dfdimf.cpp16 return fputil::fdim(x, y);
H A DCMakeLists.txt1005 fdim
1007 fdim.cpp
1009 ../fdim.h
/llvm-project-15.0.7/libclc/generic/lib/math/
H A Dfdim.inc25 _CLC_OVERLOAD _CLC_DEF __CLC_GENTYPE fdim(__CLC_GENTYPE x, __CLC_GENTYPE y) {
31 _CLC_OVERLOAD _CLC_DEF float##width fdim(float##width x, float##width y) { \
52 _CLC_OVERLOAD _CLC_DEF __CLC_GENTYPE fdim(__CLC_GENTYPE x, private __CLC_GENTYPE y) {
58 _CLC_OVERLOAD _CLC_DEF double##width fdim(double##width x, double##width y) { \
H A Dfdim.cl5 #define __CLC_BODY <fdim.inc>
/llvm-project-15.0.7/clang/lib/Headers/
H A D__clang_cuda_math_forward_declares.h67 __DEVICE__ double fdim(double, double);
68 __DEVICE__ float fdim(float, float);
219 using ::fdim;
H A D__clang_cuda_cmath.h259 __CUDA_CLANG_FN_INTEGER_OVERLOAD_2(double, fdim);
386 using ::fdim;
H A D__clang_hip_cmath.h223 __DEF_FUN2(float, fdim)
499 __HIP_OVERLOAD2(double, fdim)
669 using ::fdim;
/llvm-project-15.0.7/libc/fuzzing/math/
H A Dmath_differential_fuzz.cpp116 TwoInputSingleOutputDiff<double, double>(&__llvm_libc::fdim, &::fdim, data, in LLVMFuzzerTestOneInput()
H A DCMakeLists.txt14 libc.src.math.fdim
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/performance/
H A Dtype-promotion-in-math-fn.cpp23 double fdim(double, double);
122 fdim(a, b); in check_all_fns()
/llvm-project-15.0.7/libc/src/math/
H A Dfdim.h14 double fdim(double x, double y);
H A DCMakeLists.txt90 add_math_entrypoint_object(fdim)
/llvm-project-15.0.7/libclc/generic/include/clc/math/
H A Dfdim.h1 #define __CLC_FUNCTION fdim
/llvm-project-15.0.7/clang/test/Headers/Inputs/include/
H A Dcmath44 double fdim(double, double);
45 float fdim(float, float);
178 using ::fdim;
H A Dmath.h58 double fdim(double __a, double __b);
/llvm-project-15.0.7/libcxx/test/std/depr/depr.c.headers/
H A Dmath_h.pass.cpp75 Ambiguous fdim(Ambiguous, Ambiguous){ return Ambiguous(); } in fdim() function
968 static_assert((std::is_same<decltype(fdim((float)0, (float)0)), float>::value), ""); in test_fdim()
969 static_assert((std::is_same<decltype(fdim((bool)0, (float)0)), double>::value), ""); in test_fdim()
971 static_assert((std::is_same<decltype(fdim((int)0, (long double)0)), long double>::value), ""); in test_fdim()
972 static_assert((std::is_same<decltype(fdim((float)0, (unsigned int)0)), double>::value), ""); in test_fdim()
973 static_assert((std::is_same<decltype(fdim((double)0, (long)0)), double>::value), ""); in test_fdim()
975 static_assert((std::is_same<decltype(fdim((int)0, (long long)0)), double>::value), ""); in test_fdim()
977 static_assert((std::is_same<decltype(fdim((double)0, (double)0)), double>::value), ""); in test_fdim()
979 static_assert((std::is_same<decltype(fdim((float)0, (double)0)), double>::value), ""); in test_fdim()
984 static_assert((std::is_same<decltype(fdim((int)0, (int)0)), double>::value), ""); in test_fdim()
[all …]
/llvm-project-15.0.7/libc/src/__support/FPUtil/
H A DBasicOperations.h67 static inline T fdim(T x, T y) { in fdim() function
/llvm-project-15.0.7/libcxx/test/std/numerics/c.math/
H A Dcmath.pass.cpp76 Ambiguous fdim(Ambiguous, Ambiguous){ return Ambiguous(); } in fdim() function
999 static_assert((std::is_same<decltype(std::fdim((float)0, (float)0)), float>::value), ""); in test_fdim()
1000 static_assert((std::is_same<decltype(std::fdim((bool)0, (float)0)), double>::value), ""); in test_fdim()
1003 … static_assert((std::is_same<decltype(std::fdim((float)0, (unsigned int)0)), double>::value), ""); in test_fdim()
1004 static_assert((std::is_same<decltype(std::fdim((double)0, (long)0)), double>::value), ""); in test_fdim()
1006 static_assert((std::is_same<decltype(std::fdim((int)0, (long long)0)), double>::value), ""); in test_fdim()
1008 static_assert((std::is_same<decltype(std::fdim((double)0, (double)0)), double>::value), ""); in test_fdim()
1010 static_assert((std::is_same<decltype(std::fdim((float)0, (double)0)), double>::value), ""); in test_fdim()
1015 static_assert((std::is_same<decltype(std::fdim((int)0, (int)0)), double>::value), ""); in test_fdim()
1016 static_assert((std::is_same<decltype(fdim(Ambiguous(), Ambiguous())), Ambiguous>::value), ""); in test_fdim()
[all …]
/llvm-project-15.0.7/clang/lib/Headers/openmp_wrappers/
H A Dcmath51 __DEVICE__ float fdim(float __x, float __y) { return ::fdimf(__x, __y); }
106 __DEVICE__ float fdim(float __x, float __y) { return ::fdimf(__x, __y); }
/llvm-project-15.0.7/clang/test/CodeGen/
H A Dlibcall-declarations.c85 double fdim(double noundef, double);
279 F(fdim), F(fdimf), F(fdiml), F(floor), F(floorf),
H A Dmath-libcalls.c226 fdim(f,f); fdimf(f,f); fdiml(f,f); in foo()
/llvm-project-15.0.7/libc/config/linux/arm/
H A Dentrypoints.txt84 libc.src.math.fdim

12