/external/arm-trusted-firmware/plat/common/ |
D | plat_gicv3.c | 159 return __builtin_ctz(SCR_IRQ_BIT); in plat_interrupt_type_to_line() 161 return __builtin_ctz(SCR_FIQ_BIT); in plat_interrupt_type_to_line() 169 return __builtin_ctz(SCR_FIQ_BIT); in plat_interrupt_type_to_line() 171 return __builtin_ctz(SCR_IRQ_BIT); in plat_interrupt_type_to_line() 178 return __builtin_ctz(SCR_FIQ_BIT); in plat_interrupt_type_to_line()
|
D | plat_gicv2.c | 143 return __builtin_ctz(SCR_IRQ_BIT); in plat_interrupt_type_to_line() 149 return ((gicv2_is_fiq_enabled() != 0U) ? __builtin_ctz(SCR_FIQ_BIT) : in plat_interrupt_type_to_line() 150 __builtin_ctz(SCR_IRQ_BIT)); in plat_interrupt_type_to_line()
|
/external/compiler-rt/lib/builtins/ |
D | ffsdi2.c | 30 return __builtin_ctz(x.s.high) + (1 + sizeof(si_int) * CHAR_BIT); in __ffsdi2() 32 return __builtin_ctz(x.s.low) + 1; in __ffsdi2()
|
D | ctzdi2.c | 27 return __builtin_ctz((x.s.high & f) | (x.s.low & ~f)) + in __ctzdi2()
|
/external/clang/test/Sema/ |
D | constant-builtins-2.c | 125 char ctz1[__builtin_ctz(1) == 0 ? 1 : -1]; 126 char ctz2[__builtin_ctz(8) == 3 ? 1 : -1]; 127 char ctz3[__builtin_ctz(1 << (BITSIZE(int) - 1)) == BITSIZE(int) - 1 ? 1 : -1]; 128 int ctz4 = __builtin_ctz(0); // expected-error {{not a compile-time constant}}
|
/external/llvm-project/clang/test/Sema/ |
D | constant-builtins.c | 46 _Static_assert((__builtin_ctz)(2u) == 1, ""); 49 _Static_assert(_Generic(1u,unsigned:__builtin_ctz)(2u) == 1, "");
|
D | constant-builtins-2.c | 142 char ctz1[__builtin_ctz(1) == 0 ? 1 : -1]; 143 char ctz2[__builtin_ctz(8) == 3 ? 1 : -1]; 144 char ctz3[__builtin_ctz(1 << (BITSIZE(int) - 1)) == BITSIZE(int) - 1 ? 1 : -1]; 145 int ctz4 = __builtin_ctz(0); // expected-error {{not a compile-time constant}}
|
/external/libcxx/include/support/ibm/ |
D | support.h | 31 #define __builtin_ctz(x) __cnttz4(x) macro 36 #define __builtin_ctzl(x) __builtin_ctz(x)
|
/external/llvm-project/libcxx/include/support/ibm/ |
D | support.h | 30 #define __builtin_ctz(x) __cnttz4(x) macro 35 #define __builtin_ctzl(x) __builtin_ctz(x)
|
/external/rust/crates/libz-sys/src/zlib-ng/arch/x86/ |
D | compare258_avx.c | 29 uint32_t match_byte = (uint32_t)__builtin_ctz(~mask); /* Invert bits so identical = 0 */ in compare256_unaligned_avx2_static() 40 uint32_t match_byte = (uint32_t)__builtin_ctz(~mask); in compare256_unaligned_avx2_static()
|
/external/mesa3d/src/panfrost/lib/ |
D | pan_attributes.c | 147 cfg.divisor_r = __builtin_ctz(padded_count); in panfrost_vertex_id() 183 cfg.divisor_r = __builtin_ctz(padded_count) - 1; in panfrost_instance_id()
|
/external/clang/lib/Headers/ |
D | bmiintrin.h | 287 return __X ? __builtin_ctz(__X) : 32; in __tzcnt_u32() 303 return __X ? __builtin_ctz(__X) : 32; in _mm_tzcnt_32()
|
/external/vixl/src/ |
D | compiler-intrinsics-vixl.h | 58 #define COMPILER_HAS_BUILTIN_CTZ (__has_builtin(__builtin_ctz)) 157 return (value == 0) ? 32 : __builtin_ctz(static_cast<unsigned>(value));
|
/external/arm-trusted-firmware/plat/rpi/common/ |
D | rpi3_common.c | 243 return __builtin_ctz(SCR_IRQ_BIT); in plat_interrupt_type_to_line() 246 return __builtin_ctz(SCR_FIQ_BIT); in plat_interrupt_type_to_line()
|
/external/llvm-project/clang/test/CodeGen/ |
D | builtin-count-zeros.c | 4 int a(int a) {return __builtin_ctz(a) + __builtin_clz(a);} in a()
|
D | ubsan-builtin-checks.c | 17 __builtin_ctz(n); in check_ctz()
|
D | mips-count-builtins.c | 19 trailing = __builtin_ctz(P); in test_i32()
|
D | count-builtins.c | 16 trailing = __builtin_ctz(P); in test_i32()
|
/external/clang/test/CodeGen/ |
D | builtin-count-zeros.c | 4 int a(int a) {return __builtin_ctz(a) + __builtin_clz(a);} in a()
|
D | mips-count-builtins.c | 19 trailing = __builtin_ctz(P); in test_i32()
|
D | count-builtins.c | 16 trailing = __builtin_ctz(P); in test_i32()
|
/external/llvm-project/compiler-rt/test/ubsan/TestCases/Misc/ |
D | builtins.cpp | 11 __builtin_ctz(n); in check_ctz()
|
/external/angle/third_party/abseil-cpp/absl/numeric/internal/ |
D | bits.h | 56 #if ABSL_NUMERIC_INTERNAL_HAVE_BUILTIN_OR_GCC(__builtin_ctz) && \ 252 #if ABSL_NUMERIC_INTERNAL_HAVE_BUILTIN_OR_GCC(__builtin_ctz) in CountTrailingZeroesNonzero32() 255 return __builtin_ctz(x); in CountTrailingZeroesNonzero32()
|
/external/llvm-project/compiler-rt/lib/builtins/ |
D | ctzdi2.c | 23 #define __builtin_ctz(a) __ctzsi2(a) macro
|
/external/rust/crates/libz-sys/src/zlib-ng/ |
D | fallback_builtins.h | 15 static __forceinline unsigned long __builtin_ctz(uint32_t value) { in __builtin_ctz() function
|