Home
last modified time | relevance | path

Searched refs:__builtin_clz (Results 1 – 25 of 173) sorted by relevance

1234567

/external/compiler-rt/lib/builtins/
Dfp_extend.h24 #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
Dudivmoddi4.c102 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()
Dint_lib.h100 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()
Dudivsi3.c36 sr = __builtin_clz(d) - __builtin_clz(n); in ARM_EABI_FNALIAS()
/external/libhevc/common/x86/
Dihevc_platform_macros.h78 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/llvm-project/compiler-rt/lib/builtins/
Dfp_extend.h36 return __builtin_clz(a >> 32); in src_rep_t_clz()
38 return 32 + __builtin_clz(a & REP_C(0xffffffff)); in src_rep_t_clz()
51 #define src_rep_t_clz __builtin_clz
Dint_lib.h120 int __inline __builtin_clz(uint32_t value) { in __builtin_clz() function
141 return __builtin_clz(msh); in __builtin_clzll()
142 return 32 + __builtin_clz(lsh); in __builtin_clzll()
/external/zopfli/src/zopfli/
Dutil.c31 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/
D2006-01-16-BitCountIntrinsicsUnsigned.c6 return __builtin_clz(X); in t2()
11 return __builtin_clz(X); in t1()
/external/llvm-project/clang/test/CodeGen/
D2006-01-16-BitCountIntrinsicsUnsigned.c6 return __builtin_clz(X); in t2()
11 return __builtin_clz(X); in t1()
Dbuiltin-count-zeros.c4 int a(int a) {return __builtin_ctz(a) + __builtin_clz(a);} in a()
/external/libhevc/common/arm/
Dihevc_platform_macros.h139 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/clang/test/Sema/
Dconstant-builtins-2.c115 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/clang/lib/Headers/
Dlzcntintrin.h43 return __X ? __builtin_clz(__X) : 32; in __lzcnt32()
49 return __X ? __builtin_clz(__X) : 32; in _lzcnt_u32()
/external/llvm-project/clang/test/Sema/
Dconstant-builtins.c44 _Static_assert((__builtin_clz)(1u) >= 15, "");
47 _Static_assert(_Generic(1u,unsigned:__builtin_clz)(1u) >= 15, "");
Dconstant-builtins-2.c132 char clz1[__builtin_clz(1) == BITSIZE(int) - 1 ? 1 : -1];
133 char clz2[__builtin_clz(7) == BITSIZE(int) - 3 ? 1 : -1];
134 char clz3[__builtin_clz(1 << (BITSIZE(int) - 1)) == 0 ? 1 : -1];
135 int clz4 = __builtin_clz(0); // expected-error {{not a compile-time constant}}
/external/libcxx/include/support/ibm/
Dsupport.h40 #define __builtin_clz(x) __cntlz4(x) macro
45 #define __builtin_clzl(x) __builtin_clz(x)
/external/llvm-project/libcxx/include/support/ibm/
Dsupport.h39 #define __builtin_clz(x) __cntlz4(x) macro
44 #define __builtin_clzl(x) __builtin_clz(x)
/external/libmpeg2/common/armv8/
Dicv_platform_macros.h46 return (__builtin_clz(u4_word)); in CLZ()
54 return (__builtin_clz(u4_word)); in CLZNZ()
/external/libmpeg2/common/mips/
Dicv_platform_macros.h44 return(__builtin_clz(u4_word)); in CLZ()
52 return(__builtin_clz(u4_word)); in CLZNZ()
/external/libmpeg2/common/x86/
Dicv_platform_macros.h44 return(__builtin_clz(u4_word)); in CLZ()
52 return(__builtin_clz(u4_word)); in CLZNZ()
/external/libhevc/common/mips/
Dihevc_platform_macros.h64 return (__builtin_clz(u4_word)); in CLZ()
71 return (__builtin_clz(u4_word)); in CLZNZ()
/external/libmpeg2/common/arm/
Dicv_platform_macros.h44 return (__builtin_clz(u4_word)); in CLZ()
52 return (__builtin_clz(u4_word)); in CLZNZ()
/external/llvm-project/libclc/generic/lib/integer/
Dclz.cl21 return x ? __builtin_clz(x) : 32;
25 return x ? __builtin_clz(x) : 32;
/external/vixl/src/
Dcompiler-intrinsics-vixl.h57 #define COMPILER_HAS_BUILTIN_CLZ (__has_builtin(__builtin_clz))
131 return (value == 0) ? 32 : __builtin_clz(static_cast<unsigned>(value));

1234567