/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/ |
H A D | fp_extend.h | 70 return __builtin_clz(a) - 16; in src_rep_t_clz_impl() 88 #define src_rep_t_clz __builtin_clz
|
H A D | clzdi2.c | 23 #define __builtin_clz(a) __clzsi2(a) macro
|
H A D | int_types.h | 28 #define clzsi __builtin_clz
|
/freebsd/lib/libc/string/ |
H A D | fls.c | 45 return (mask == 0 ? 0 : CHAR_BIT * sizeof(mask) - __builtin_clz(mask)); in fls()
|
/freebsd/contrib/jemalloc/include/jemalloc/internal/ |
H A D | bit_util.h | 126 msb_on_index = (31 ^ __builtin_clz(x - 1)); in pow2_ceil_u32() 188 return ((8 << LG_SIZEOF_PTR) - 1) - __builtin_clz(x); in lg_floor()
|
/freebsd/sys/teken/ |
H A D | teken_wcwidth.h | 153 if (__builtin_clz(~(bytes[0] & 0xf0) << 24) != nbytes) in teken_utf8_bytes_to_codepoint()
|
/freebsd/contrib/llvm-project/libcxx/include/__bit/ |
H A D | countl.h | 31 return __builtin_clz(__x); in __libcpp_clz()
|
/freebsd/contrib/arm-optimized-routines/math/aarch64/experimental/ |
H A D | atan2f_3u.c | 35 return ex - __builtin_clz (fi << 9); in biased_exponent()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | bit.h | 246 #if __has_builtin(__builtin_clz) || defined(__GNUC__) 247 return __builtin_clz(Val);
|
/freebsd/sys/sys/ |
H A D | libkern.h | 171 8 * sizeof(mask) - __builtin_clz((u_int)mask)); in fls() 195 return (8 * sizeof(n) - 1 - __builtin_clz((u_int)n)); in ilog2_int()
|
/freebsd/contrib/llvm-project/clang/lib/Headers/ |
H A D | ia32intrin.h | 60 return 31 - __builtin_clz((unsigned int)__A); in __bsrd()
|
/freebsd/sys/contrib/openzfs/module/zstd/lib/common/ |
H A D | zstd_internal.h | 399 return __builtin_clz (val) ^ 31; in ZSTD_highbit32()
|
H A D | bitstream.h | 147 return __builtin_clz (val) ^ 31; in BIT_highbit32()
|
/freebsd/sys/contrib/zstd/lib/common/ |
H A D | zstd_internal.h | 381 return __builtin_clz (val) ^ 31; in ZSTD_highbit32()
|
H A D | bitstream.h | 158 return __builtin_clz (val) ^ 31; in BIT_highbit32()
|
/freebsd/sys/dev/gpio/ |
H A D | gpioregulator.c | 243 sc->init_def.npins = 32 - __builtin_clz(mask); in gpioregulator_parse_fdt()
|
/freebsd/sys/contrib/dpdk_rte_lpm/ |
H A D | rte_common.h | 629 return (x == 0) ? 0 : 32 - __builtin_clz(x); in rte_fls_u32()
|
/freebsd/sys/compat/linux/ |
H A D | linux_vdso_gtod.inc | 43 return ((__builtin_clz(mask) ^ 0x1f) + 1);
|
/freebsd/sys/dev/ocs_fc/ |
H A D | ocs_os.h | 221 return 31 - __builtin_clz(val); in ocs_lg2()
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | lz4_zfs.c | 442 return (__builtin_clz(val) >> 3); in LZ4_NbCommonBytes()
|
/freebsd/sys/cddl/contrib/opensolaris/common/lz4/ |
H A D | lz4.c | 438 return (__builtin_clz(val) >> 3); in LZ4_NbCommonBytes()
|
/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/ |
H A D | zstd_compress_internal.h | 550 return (__builtin_clz((U32)val) >> 3); in ZSTD_NbCommonBytes()
|
/freebsd/sys/contrib/zstd/lib/compress/ |
H A D | zstd_compress_internal.h | 786 return (__builtin_clz((U32)val) >> 3); in ZSTD_NbCommonBytes()
|
/freebsd/sys/contrib/zstd/lib/dictBuilder/ |
H A D | zdict.c | 201 return (unsigned)(__builtin_clz((U32)val) >> 3); in ZDICT_NbCommonBytes()
|
/freebsd/sys/contrib/zstd/lib/legacy/ |
H A D | zstd_v01.c | 345 return __builtin_clz (val) ^ 31; in FSE_highbit32()
|