Home
last modified time | relevance | path

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

123

/llvm-project-15.0.7/libclc/generic/lib/math/
H A Dlogb.cl5 _CLC_OVERLOAD _CLC_DEF float logb(float x) {
15 _CLC_UNARY_VECTORIZE(_CLC_OVERLOAD _CLC_DEF, float, logb, float);
20 _CLC_OVERLOAD _CLC_DEF double logb(double x) {
30 _CLC_UNARY_VECTORIZE(_CLC_OVERLOAD _CLC_DEF, double, logb, double)
/llvm-project-15.0.7/clang/test/Headers/
H A Dtgmath.c36 _Static_assert(sizeof(logb(f)) == sizeof(f), "");
37 _Static_assert(sizeof(logb(d)) == sizeof(d), "");
38 _Static_assert(sizeof(logb(l)) == sizeof(l), "");
/llvm-project-15.0.7/libc/src/math/generic/
H A Dlogb.cpp15 LLVM_LIBC_FUNCTION(double, logb, (double x)) { return fputil::logb(x); }
H A Dlogbf.cpp15 LLVM_LIBC_FUNCTION(float, logbf, (float x)) { return fputil::logb(x); }
H A Dlogbl.cpp16 return fputil::logb(x);
/llvm-project-15.0.7/clang/lib/Headers/
H A D__clang_cuda_math_forward_declares.h130 __DEVICE__ double logb(double);
131 __DEVICE__ float logb(float);
248 using ::logb;
H A D__clang_cuda_complex_builtins.h42 #define _LOGBd std::logb
43 #define _LOGBf std::logb
/llvm-project-15.0.7/libc/fuzzing/math/
H A Dmath_differential_fuzz.cpp100 SingleInputSingleOutputDiff<double>(&__llvm_libc::logb, &::logb, data, size); in LLVMFuzzerTestOneInput()
H A DCMakeLists.txt27 libc.src.math.logb
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/performance/
H A Dtype-promotion-in-math-fn.cpp38 double logb(double);
173 logb(a); in check_all_fns()
/llvm-project-15.0.7/libc/test/src/math/
H A Dlogb_test.cpp13 LIST_LOGB_TESTS(double, __llvm_libc::logb)
/llvm-project-15.0.7/libc/src/math/
H A Dlogb.h14 double logb(double x);
H A DCMakeLists.txt132 add_math_entrypoint_object(logb)
/llvm-project-15.0.7/libclc/generic/include/clc/math/
H A Dlogb.h2 #define __CLC_FUNCTION logb
/llvm-project-15.0.7/clang/test/Headers/Inputs/include/
H A Dcmath108 double logb(double);
109 float logb(float);
205 using ::logb;
/llvm-project-15.0.7/compiler-rt/test/builtins/Unit/
H A Dcompiler_rt_logb_test.c14 fp_t libm_value = logb(x); in test__compiler_rt_logb()
/llvm-project-15.0.7/llvm/test/Transforms/InstCombine/
H A Dwin-math.ll193 declare double @logb(double %x)
197 ; MSVCXX: double @logb
199 ; MSVC19: double @logb
201 %2 = call double @logb(double %1)
H A Ddouble-float-shrink-1.ll348 ; MS32: [[POWF:%.*]] = call fast double @logb(double [[F:%.*]])
352 %call = call fast double @logb(double %conv)
360 ; CHECK-NEXT: [[CALL:%.*]] = call fast double @logb(double [[CONV]])
364 %call = call fast double @logb(double %conv)
566 declare double @logb(double)
/llvm-project-15.0.7/clang/lib/Headers/openmp_wrappers/
H A Dcmath59 __DEVICE__ float logb(float __x) { return ::logbf(__x); }
114 __DEVICE__ float logb(float __x) { return ::logbf(__x); }
/llvm-project-15.0.7/libcxx/test/std/depr/depr.c.headers/
H A Dmath_h.pass.cpp86 Ambiguous logb(Ambiguous){ return Ambiguous(); } in logb() function
1212 static_assert((std::is_same<decltype(logb((float)0)), float>::value), ""); in test_logb()
1213 static_assert((std::is_same<decltype(logb((bool)0)), double>::value), ""); in test_logb()
1215 static_assert((std::is_same<decltype(logb((int)0)), double>::value), ""); in test_logb()
1216 static_assert((std::is_same<decltype(logb((unsigned int)0)), double>::value), ""); in test_logb()
1217 static_assert((std::is_same<decltype(logb((long)0)), double>::value), ""); in test_logb()
1218 static_assert((std::is_same<decltype(logb((unsigned long)0)), double>::value), ""); in test_logb()
1219 static_assert((std::is_same<decltype(logb((long long)0)), double>::value), ""); in test_logb()
1221 static_assert((std::is_same<decltype(logb((double)0)), double>::value), ""); in test_logb()
1225 static_assert((std::is_same<decltype(logb(Ambiguous())), Ambiguous>::value), ""); in test_logb()
[all …]
/llvm-project-15.0.7/libclc/clspv/lib/
H A DSOURCES36 ../../generic/lib/math/logb.cl
/llvm-project-15.0.7/llvm/test/Transforms/Util/
H A Dlibcalls-shrinkwrap-double.ll159 %call_10 = call double @logb(double %value)
163 ; CHECK-NEXT: %call_10 = call double @logb(double %value)
188 declare double @logb(double)
/llvm-project-15.0.7/clang/test/CodeGen/
H A Dlibcall-declarations.c127 double logb(double);
287 F(log2f), F(log2l), F(logb), F(logbf), F(logbl),
/llvm-project-15.0.7/libc/src/__support/FPUtil/
H A DManipulationFunctions.h104 static inline T logb(T x) { in logb() function
/llvm-project-15.0.7/libcxx/test/std/numerics/c.math/
H A Dcmath.pass.cpp89 Ambiguous logb(Ambiguous){ return Ambiguous(); } in logb() function
1294 static_assert((std::is_same<decltype(std::logb((float)0)), float>::value), ""); in test_logb()
1295 static_assert((std::is_same<decltype(std::logb((bool)0)), double>::value), ""); in test_logb()
1297 static_assert((std::is_same<decltype(std::logb((int)0)), double>::value), ""); in test_logb()
1298 static_assert((std::is_same<decltype(std::logb((unsigned int)0)), double>::value), ""); in test_logb()
1299 static_assert((std::is_same<decltype(std::logb((long)0)), double>::value), ""); in test_logb()
1300 static_assert((std::is_same<decltype(std::logb((unsigned long)0)), double>::value), ""); in test_logb()
1301 static_assert((std::is_same<decltype(std::logb((long long)0)), double>::value), ""); in test_logb()
1303 static_assert((std::is_same<decltype(std::logb((double)0)), double>::value), ""); in test_logb()
1307 static_assert((std::is_same<decltype(logb(Ambiguous())), Ambiguous>::value), ""); in test_logb()
[all …]

123