| /llvm-project-15.0.7/libclc/generic/lib/math/ |
| H A D | logb.cl | 5 _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 D | tgmath.c | 36 _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 D | logb.cpp | 15 LLVM_LIBC_FUNCTION(double, logb, (double x)) { return fputil::logb(x); }
|
| H A D | logbf.cpp | 15 LLVM_LIBC_FUNCTION(float, logbf, (float x)) { return fputil::logb(x); }
|
| H A D | logbl.cpp | 16 return fputil::logb(x);
|
| /llvm-project-15.0.7/clang/lib/Headers/ |
| H A D | __clang_cuda_math_forward_declares.h | 130 __DEVICE__ double logb(double); 131 __DEVICE__ float logb(float); 248 using ::logb;
|
| H A D | __clang_cuda_complex_builtins.h | 42 #define _LOGBd std::logb 43 #define _LOGBf std::logb
|
| /llvm-project-15.0.7/libc/fuzzing/math/ |
| H A D | math_differential_fuzz.cpp | 100 SingleInputSingleOutputDiff<double>(&__llvm_libc::logb, &::logb, data, size); in LLVMFuzzerTestOneInput()
|
| H A D | CMakeLists.txt | 27 libc.src.math.logb
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/performance/ |
| H A D | type-promotion-in-math-fn.cpp | 38 double logb(double); 173 logb(a); in check_all_fns()
|
| /llvm-project-15.0.7/libc/test/src/math/ |
| H A D | logb_test.cpp | 13 LIST_LOGB_TESTS(double, __llvm_libc::logb)
|
| /llvm-project-15.0.7/libc/src/math/ |
| H A D | logb.h | 14 double logb(double x);
|
| H A D | CMakeLists.txt | 132 add_math_entrypoint_object(logb)
|
| /llvm-project-15.0.7/libclc/generic/include/clc/math/ |
| H A D | logb.h | 2 #define __CLC_FUNCTION logb
|
| /llvm-project-15.0.7/clang/test/Headers/Inputs/include/ |
| H A D | cmath | 108 double logb(double); 109 float logb(float); 205 using ::logb;
|
| /llvm-project-15.0.7/compiler-rt/test/builtins/Unit/ |
| H A D | compiler_rt_logb_test.c | 14 fp_t libm_value = logb(x); in test__compiler_rt_logb()
|
| /llvm-project-15.0.7/llvm/test/Transforms/InstCombine/ |
| H A D | win-math.ll | 193 declare double @logb(double %x) 197 ; MSVCXX: double @logb 199 ; MSVC19: double @logb 201 %2 = call double @logb(double %1)
|
| H A D | double-float-shrink-1.ll | 348 ; 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 D | cmath | 59 __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 D | math_h.pass.cpp | 86 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 D | SOURCES | 36 ../../generic/lib/math/logb.cl
|
| /llvm-project-15.0.7/llvm/test/Transforms/Util/ |
| H A D | libcalls-shrinkwrap-double.ll | 159 %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 D | libcall-declarations.c | 127 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 D | ManipulationFunctions.h | 104 static inline T logb(T x) { in logb() function
|
| /llvm-project-15.0.7/libcxx/test/std/numerics/c.math/ |
| H A D | cmath.pass.cpp | 89 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 …]
|