Home
last modified time | relevance | path

Searched refs:log2 (Results 1 – 25 of 70) sorted by relevance

123

/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DHeatUtils.cpp65 double percent = (freq > 0) ? log2(double(freq)) / log2(maxFreq) : 0; in getHeatColor()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DVecFuncs.def234 TLI_DEFINE_VECFUNC("log2", "__log2d2", FIXED(2))
235 TLI_DEFINE_VECFUNC("llvm.log2.f64", "__log2d2", FIXED(2))
237 TLI_DEFINE_VECFUNC("llvm.log2.f32", "__log2f4", FIXED(4))
381 TLI_DEFINE_VECFUNC("log2", "__svml_log22", FIXED(2))
382 TLI_DEFINE_VECFUNC("log2", "__svml_log24", FIXED(4))
383 TLI_DEFINE_VECFUNC("log2", "__svml_log28", FIXED(8))
397 TLI_DEFINE_VECFUNC("llvm.log2.f64", "__svml_log22", FIXED(2))
398 TLI_DEFINE_VECFUNC("llvm.log2.f64", "__svml_log24", FIXED(4))
399 TLI_DEFINE_VECFUNC("llvm.log2.f64", "__svml_log28", FIXED(8))
401 TLI_DEFINE_VECFUNC("llvm.log2.f32", "__svml_log2f4", FIXED(4))
[all …]
/freebsd-13.1/lib/msun/tests/
H A Dlogarithm_test.c80 test(log2, x, result, exceptmask, excepts); \
139 ATF_CHECK_EQ(i, log2(ldexp(1.0, i))); in ATF_TC_BODY()
163 test(log2, 1.0, 0.0, ALL_STD_EXCEPT, 0); in ATF_TC_BODY()
227 test_tol(log2, tests[i].x, tests[i].log2x, DBL_ULP()); in ATF_TC_BODY()
/freebsd-13.1/sys/amd64/vmm/
H A Dx86.c83 log2(u_int x) in log2() function
166 width = MIN(0xF, log2(threads * cores)); in x86_emulate_cpuid()
300 (vcpu_id >> log2(threads + 1)); in x86_emulate_cpuid()
497 width = log2(logical_cpus); in x86_emulate_cpuid()
504 width = log2(logical_cpus); in x86_emulate_cpuid()
/freebsd-13.1/contrib/netbsd-tests/lib/libm/
H A Dt_log.c424 ATF_CHECK(log2(2.0) == 1.0); in ATF_TC_BODY()
438 ATF_CHECK(isnan(log2(x)) != 0); in ATF_TC_BODY()
450 const double y = log2(x); in ATF_TC_BODY()
465 ATF_CHECK(log2(x) == x); in ATF_TC_BODY()
476 const double x = log2(1.0); in ATF_TC_BODY()
494 ATF_CHECK(log2(x) == -HUGE_VAL); in ATF_TC_BODY()
507 ATF_CHECK(log2(x) == -HUGE_VAL); in ATF_TC_BODY()
/freebsd-13.1/contrib/llvm-project/clang/lib/Headers/
H A D__clang_cuda_math_forward_declares.h128 __DEVICE__ double log2(double);
129 __DEVICE__ float log2(float);
247 using ::log2;
H A D__clang_cuda_cmath.h281 __CUDA_CLANG_FN_INTEGER_OVERLOAD_1(double, log2)
411 using ::log2;
H A D__clang_hip_cmath.h235 __DEF_FUN1(float, log2)
523 __HIP_OVERLOAD1(double, log2)
694 using ::log2;
H A Dtgmath.h963 __tg_log2(double __x) {return log2(__x);} in __tg_log2()
969 #undef log2
970 #define log2(__x) __tg_log2(__tg_promote1((__x))(__x)) macro
/freebsd-13.1/lib/msun/src/
H A De_log2.c116 __weak_reference(log2, log2l);
H A Dmath.h283 double log2(double);
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXInstrFormats.td43 // The following field is encoded as log2 of the vector size minus one,
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVInstrInfoVPseudos.td122 class log2<int num> {
123 int val = !if(!eq(num, 1), 0, !add(1, log2<!srl(num, 1)>.val));
162 int Log2SEW = log2<Sew>.val;
695 RISCVVLX</*Masked*/0, Ordered, log2<EEW>.val, VLMul, LMUL> {
713 RISCVVLX</*Masked*/1, Ordered, log2<EEW>.val, VLMul, LMUL> {
728 RISCVVSE</*Masked*/0, /*Strided*/0, log2<EEW>.val, VLMul> {
742 RISCVVSE</*Masked*/1, /*Strided*/0, log2<EEW>.val, VLMul> {
755 RISCVVSE</*Masked*/0, /*Strided*/1, log2<EEW>.val, VLMul> {
769 RISCVVSE</*Masked*/1, /*Strided*/1, log2<EEW>.val, VLMul> {
936 RISCVVSX</*Masked*/0, Ordered, log2<EEW>.val, VLMul, LMUL> {
[all …]
/freebsd-13.1/include/
H A Dtgmath.h188 #define log2(x) __tg_simple(x, log2) macro
/freebsd-13.1/crypto/openssl/doc/man3/
H A DBN_num_bytes.pod23 Basically, except for a zero, it returns I<floor(log2(w))+1>.
/freebsd-13.1/lib/msun/
H A DSymbol.map228 log2;
/freebsd-13.1/sys/contrib/device-tree/Bindings/pinctrl/
H A Dcirrus,madera.yaml84 log2-fifo-ne, log3-fifo-ne, log4-fifo-ne,
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstrainedOps.def80 DAG_FUNCTION(log2, 1, 1, experimental_constrained_log2, FLOG2)
H A DAttributes.td46 /// Alignment of parameter (5 bits) stored as log2 of alignment with +1 bias.
217 /// Alignment of stack for function (3 bits) stored as log2 of alignment with
/freebsd-13.1/contrib/ntp/ntpq/
H A Dntpq-opts.def741 stratum, log2 precision, root delay, root dispersion,
817 precision (log2 s)
832 time constant and poll exponent (log2 s) (3-17)
834 minimum time constant (log2 s) (3-10)
906 precision (log2 s)
927 host poll exponent (log2 s) (3-17)
929 peer poll exponent (log2 s) (3-17)
H A Dinvoke-ntpq.texi631 stratum, log2 precision, root delay, root dispersion,
707 precision (log2 s)
722 time constant and poll exponent (log2 s) (3-17)
724 minimum time constant (log2 s) (3-10)
796 precision (log2 s)
817 host poll exponent (log2 s) (3-17)
819 peer poll exponent (log2 s) (3-17)
/freebsd-13.1/sys/netinet/
H A Dsctputil.c89 sctp_clog.x.misc.log2, in sctp_sblog()
115 sctp_clog.x.misc.log2, in sctp_log_closing()
134 sctp_clog.x.misc.log2, in rto_logging()
156 sctp_clog.x.misc.log2, in sctp_log_strm_del_alt()
177 sctp_clog.x.misc.log2, in sctp_log_nagle_event()
198 sctp_clog.x.misc.log2, in sctp_log_sack()
218 sctp_clog.x.misc.log2, in sctp_log_map()
238 sctp_clog.x.misc.log2, in sctp_log_fr()
266 sctp_clog.x.misc.log2, in sctp_log_mb()
308 sctp_clog.x.misc.log2, in sctp_log_strm_del()
[all …]
/freebsd-13.1/tools/regression/include/tgmath/
H A Dtgmath.c134 TGMACRO_REAL(log2) in TGMACRO_REAL_FIXED_RET()
550 PASS_REAL_ARG_REAL_RET(log2)); in main()
/freebsd-13.1/contrib/llvm-project/libcxx/include/
H A Dmath.h1457 inline _LIBCPP_INLINE_VISIBILITY float log2(float __lcpp_x) _NOEXCEPT {return ::log2f(_… in log2() function
1458 inline _LIBCPP_INLINE_VISIBILITY long double log2(long double __lcpp_x) _NOEXCEPT {return ::log2l(_… in log2() function
1463 log2(_A1 __lcpp_x) _NOEXCEPT {return ::log2((double)__lcpp_x);} in log2() function
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULibCalls.cpp842 static double log2(double V) { in log2() function
844 return ::log2(V); in log2()
1016 V = log2(std::abs(V)); in fold_pow()
1041 V = log2(std::abs(V)); in fold_pow()

123