/external/compiler-rt/lib/builtins/ |
D | fp_extend.h | 24 #define src_rep_t_clz __builtin_clz 36 return __builtin_clz(a >> 32); in src_rep_t_clz() 38 return 32 + __builtin_clz(a & REP_C(0xffffffff)); in src_rep_t_clz() 47 #define src_rep_t_clz __builtin_clz
|
D | udivmoddi4.c | 102 sr = __builtin_clz(d.s.high) - __builtin_clz(n.s.high); in __udivmoddi4() 142 sr = 1 + n_uword_bits + __builtin_clz(d.s.low) - __builtin_clz(n.s.high); in __udivmoddi4() 176 sr = __builtin_clz(d.s.high) - __builtin_clz(n.s.high); in __udivmoddi4()
|
D | int_lib.h | 100 uint32_t __inline __builtin_clz(uint32_t value) { in __builtin_clz() function 121 return __builtin_clz(msh); in __builtin_clzll() 122 return 32 + __builtin_clz(lsh); in __builtin_clzll()
|
D | udivsi3.c | 36 sr = __builtin_clz(d) - __builtin_clz(n); in ARM_EABI_FNALIAS()
|
D | fp_lib.h | 50 return __builtin_clz(a); in rep_clz() 74 return __builtin_clz(a >> 32); in rep_clz() 76 return 32 + __builtin_clz(a & REP_C(0xffffffff)); in rep_clz()
|
/external/libhevc/common/x86/ |
D | ihevc_platform_macros.h | 78 return (__builtin_clz(u4_word)); in CLZ() 85 return (__builtin_clz(u4_word)); in CLZNZ() 111 r = 31 - __builtin_clz(word); \ 146 r = 32 - __builtin_clz(word); \
|
/external/libhevc/common/arm/ |
D | ihevc_platform_macros.h | 139 return (__builtin_clz(u4_word)); in CLZ() 146 return (__builtin_clz(u4_word)); in CLZNZ() 172 r = 31 - __builtin_clz(word); \ 207 r = 32 - __builtin_clz(word); \
|
/external/zopfli/src/zopfli/ |
D | util.c | 31 return (31 ^ __builtin_clz(dist - 1)) - 1; /* log2(dist - 1) - 1 */ in ZopfliGetDistExtraBits() 55 int l = 31 ^ __builtin_clz(dist - 1); /* log2(dist - 1) */ in ZopfliGetDistExtraBitsValue() 81 int l = (31 ^ __builtin_clz(dist - 1)); /* log2(dist - 1) */ in ZopfliGetDistSymbol()
|
/external/clang/test/CodeGen/ |
D | 2006-01-16-BitCountIntrinsicsUnsigned.c | 6 return __builtin_clz(X); in t2() 11 return __builtin_clz(X); in t1()
|
D | builtin-count-zeros.c | 4 int a(int a) {return __builtin_ctz(a) + __builtin_clz(a);} in a()
|
/external/clang/test/Sema/ |
D | constant-builtins-2.c | 115 char clz1[__builtin_clz(1) == BITSIZE(int) - 1 ? 1 : -1]; 116 char clz2[__builtin_clz(7) == BITSIZE(int) - 3 ? 1 : -1]; 117 char clz3[__builtin_clz(1 << (BITSIZE(int) - 1)) == 0 ? 1 : -1]; 118 int clz4 = __builtin_clz(0); // expected-error {{not a compile-time constant}}
|
/external/brotli/c/enc/ |
D | fast_log.h | 23 #if BROTLI_GNUC_HAS_BUILTIN(__builtin_clz, 3, 4, 0) || \ in Log2FloorNonZero() 25 return 31u ^ (uint32_t)__builtin_clz((uint32_t)n); in Log2FloorNonZero()
|
/external/clang/lib/Headers/ |
D | lzcntintrin.h | 43 return __X ? __builtin_clz(__X) : 32; in __lzcnt32() 49 return __X ? __builtin_clz(__X) : 32; in _lzcnt_u32()
|
/external/libcxx/include/support/ibm/ |
D | support.h | 40 #define __builtin_clz(x) __cntlz4(x) macro 45 #define __builtin_clzl(x) __builtin_clz(x)
|
/external/libmpeg2/common/armv8/ |
D | icv_platform_macros.h | 46 return (__builtin_clz(u4_word)); in CLZ() 54 return (__builtin_clz(u4_word)); in CLZNZ()
|
/external/libmpeg2/common/mips/ |
D | icv_platform_macros.h | 44 return(__builtin_clz(u4_word)); in CLZ() 52 return(__builtin_clz(u4_word)); in CLZNZ()
|
/external/libmpeg2/common/x86/ |
D | icv_platform_macros.h | 44 return(__builtin_clz(u4_word)); in CLZ() 52 return(__builtin_clz(u4_word)); in CLZNZ()
|
/external/libhevc/common/mips/ |
D | ihevc_platform_macros.h | 64 return (__builtin_clz(u4_word)); in CLZ() 71 return (__builtin_clz(u4_word)); in CLZNZ()
|
/external/libmpeg2/common/arm/ |
D | icv_platform_macros.h | 44 return (__builtin_clz(u4_word)); in CLZ() 52 return (__builtin_clz(u4_word)); in CLZNZ()
|
/external/vixl/src/ |
D | compiler-intrinsics-vixl.h | 56 #define COMPILER_HAS_BUILTIN_CLZ (__has_builtin(__builtin_clz)) 124 return (value == 0) ? 32 : __builtin_clz(static_cast<unsigned>(value));
|
/external/mesa3d/src/intel/isl/ |
D | isl_priv.h | 112 return 31 - __builtin_clz(n); in isl_log2u() 121 return 1 << (32 - __builtin_clz(value - 1)); in isl_round_up_to_power_of_two()
|
/external/swiftshader/third_party/subzero/src/ |
D | IceUtils.h | 133 #if __has_builtin(__builtin_clz) 141 ((1 << (CHAR_BIT * sizeof(uint32_t) - __builtin_clz(Size))) - 1) - 1;
|
/external/drrickorang/LoopbackApp/app/src/main/cpp/audio_utils/ |
D | roundup.c | 25 int lz = __builtin_clz((int) v); in roundup()
|
/external/mesa3d/src/mesa/main/ |
D | imports.h | 238 return (1 + y) << ((__builtin_clz(x - y) ^ 31) ); in _mesa_next_pow_two_32() 279 return (31 - __builtin_clz(n | 1)); in _mesa_logbase2()
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/common/ |
D | os.h | 201 *Index = __builtin_clz(Mask); in _BitScanReverse() 208 *Index = __builtin_clz(Mask); in _BitScanReverse()
|