Home
last modified time | relevance | path

Searched refs:__builtin_ctz (Results 1 – 25 of 104) sorted by relevance

12345

/external/arm-trusted-firmware/plat/common/
Dplat_gicv3.c159 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()
Dplat_gicv2.c143 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/
Dffsdi2.c30 return __builtin_ctz(x.s.high) + (1 + sizeof(si_int) * CHAR_BIT); in __ffsdi2()
32 return __builtin_ctz(x.s.low) + 1; in __ffsdi2()
Dctzdi2.c27 return __builtin_ctz((x.s.high & f) | (x.s.low & ~f)) + in __ctzdi2()
/external/clang/test/Sema/
Dconstant-builtins-2.c125 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/
Dconstant-builtins.c46 _Static_assert((__builtin_ctz)(2u) == 1, "");
49 _Static_assert(_Generic(1u,unsigned:__builtin_ctz)(2u) == 1, "");
Dconstant-builtins-2.c142 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/
Dsupport.h31 #define __builtin_ctz(x) __cnttz4(x) macro
36 #define __builtin_ctzl(x) __builtin_ctz(x)
/external/llvm-project/libcxx/include/support/ibm/
Dsupport.h30 #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/
Dcompare258_avx.c29 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/
Dpan_attributes.c147 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/
Dbmiintrin.h287 return __X ? __builtin_ctz(__X) : 32; in __tzcnt_u32()
303 return __X ? __builtin_ctz(__X) : 32; in _mm_tzcnt_32()
/external/vixl/src/
Dcompiler-intrinsics-vixl.h58 #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/
Drpi3_common.c243 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/
Dbuiltin-count-zeros.c4 int a(int a) {return __builtin_ctz(a) + __builtin_clz(a);} in a()
Dubsan-builtin-checks.c17 __builtin_ctz(n); in check_ctz()
Dmips-count-builtins.c19 trailing = __builtin_ctz(P); in test_i32()
Dcount-builtins.c16 trailing = __builtin_ctz(P); in test_i32()
/external/clang/test/CodeGen/
Dbuiltin-count-zeros.c4 int a(int a) {return __builtin_ctz(a) + __builtin_clz(a);} in a()
Dmips-count-builtins.c19 trailing = __builtin_ctz(P); in test_i32()
Dcount-builtins.c16 trailing = __builtin_ctz(P); in test_i32()
/external/llvm-project/compiler-rt/test/ubsan/TestCases/Misc/
Dbuiltins.cpp11 __builtin_ctz(n); in check_ctz()
/external/angle/third_party/abseil-cpp/absl/numeric/internal/
Dbits.h56 #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/
Dctzdi2.c23 #define __builtin_ctz(a) __ctzsi2(a) macro
/external/rust/crates/libz-sys/src/zlib-ng/
Dfallback_builtins.h15 static __forceinline unsigned long __builtin_ctz(uint32_t value) { in __builtin_ctz() function

12345