Home
last modified time | relevance | path

Searched refs:LIKELY (Results 1 – 25 of 35) sorted by relevance

12

/external/libchrome/base/
Dbits.h64 return LIKELY(_BitScanReverse(&index, static_cast<uint32_t>(x))) in CountLeadingZeroBits()
76 return LIKELY(_BitScanReverse64(&index, static_cast<uint64_t>(x))) in CountLeadingZeroBits()
88 return LIKELY(_BitScanForward(&index, static_cast<uint32_t>(x))) ? index in CountTrailingZeroBits()
99 return LIKELY(_BitScanForward64(&index, static_cast<uint64_t>(x))) ? index in CountTrailingZeroBits()
128 return LIKELY(value) in CountLeadingZeroBits()
140 return LIKELY(value) ? bits == 64 in CountTrailingZeroBits()
Dcompiler_specific.h213 #if !defined(LIKELY)
215 #define LIKELY(x) __builtin_expect(!!(x), 1) macro
217 #define LIKELY(x) (x) macro
/external/pdfium/third_party/base/
Dbits.h66 return LIKELY(_BitScanReverse(&index, x)) ? (31 - index) : 32; in CountLeadingZeroBits32()
74 return LIKELY(_BitScanReverse64(&index, x)) ? (63 - index) : 64; in CountLeadingZeroBits64()
87 return LIKELY(x) ? __builtin_clz(x) : 32; in CountLeadingZeroBits32()
91 return LIKELY(x) ? __builtin_clzll(x) : 64; in CountLeadingZeroBits64()
Dcompiler_specific.h217 #if !defined(LIKELY)
219 #define LIKELY(x) __builtin_expect(!!(x), 1) macro
221 #define LIKELY(x) (x) macro
/external/libaom/libaom/aom_dsp/x86/
Dsum_squares_avx2.c68 if (LIKELY(width == 4 && height == 4)) { in aom_sum_squares_2d_i16_avx2()
70 } else if (LIKELY(width == 4 && (height & 3) == 0)) { in aom_sum_squares_2d_i16_avx2()
72 } else if (LIKELY(width == 8 && (height & 3) == 0)) { in aom_sum_squares_2d_i16_avx2()
74 } else if (LIKELY(((width & 15) == 0) && ((height & 3) == 0))) { in aom_sum_squares_2d_i16_avx2()
Dsum_squares_sse2.c128 if (LIKELY(width == 4 && height == 4)) { in aom_sum_squares_2d_i16_sse2()
130 } else if (LIKELY(width == 4 && (height & 3) == 0)) { in aom_sum_squares_2d_i16_sse2()
132 } else if (LIKELY((width & 7) == 0 && (height & 3) == 0)) { in aom_sum_squares_2d_i16_sse2()
Dhighbd_quantize_intrin_avx2.c75 if (LIKELY(nzflag)) { in quantize()
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LowerExpectIntrinsic/
Dexpect_nonboolean.ll11 ; CHECK: br i1 %tmp2{{.*}}!prof [[LIKELY:![0-9]+]]
45 ; CHECK: br i1 %tmp2{{.*}}!prof [[LIKELY]]
62 ; CHECK: br i1 %tmp2{{.*}}!prof [[LIKELY]]
102 ; CHECK: [[LIKELY]] = !{!"branch_weights", i32 2000, i32 1}
/external/pdfium/third_party/base/allocator/partition_allocator/
Dpartition_alloc.cc372 if (LIKELY(num_partition_pages_left >= num_partition_pages)) { in PartitionAllocPartitionPages()
528 if (LIKELY(firstFreelistPointerExtent <= freelist_limit)) { in PartitionPageAllocAndFillFreelist()
547 if (LIKELY(num_new_freelist_entries)) { in PartitionPageAllocAndFillFreelist()
588 if (LIKELY(PartitionPageStateIsActive(page))) { in PartitionSetNewActivePage()
594 if (LIKELY(PartitionPageStateIsEmpty(page))) { in PartitionSetNewActivePage()
597 } else if (LIKELY(PartitionPageStateIsDecommitted(page))) { in PartitionSetNewActivePage()
777 } else if (LIKELY(PartitionSetNewActivePage(bucket))) { in PartitionAllocSlowPath()
781 } else if (LIKELY(bucket->empty_pages_head != nullptr) || in PartitionAllocSlowPath()
782 LIKELY(bucket->decommitted_pages_head != nullptr)) { in PartitionAllocSlowPath()
786 while (LIKELY((new_page = bucket->empty_pages_head) != nullptr)) { in PartitionAllocSlowPath()
[all …]
Dspin_lock.h35 if (LIKELY(!lock_.exchange(true, std::memory_order_acquire))) in lock()
Dspin_lock.cc72 LIKELY(!lock_.exchange(true, std::memory_order_acquire))) in LockSlow()
/external/v8/tools/clang/rewrite_to_chrome_style/tests/
Dmacros-expected.cc15 #define LIKELY(x) x macro
30 if (LIKELY(derived_ptr)) { in F()
Dmacros-original.cc15 #define LIKELY(x) x macro
30 if (LIKELY(derivedPtr)) { in F()
/external/libaom/libaom/aom_dsp/
Daom_dsp_common.h45 #define LIKELY(v) __builtin_expect(v, 1) macro
48 #define LIKELY(v) (v)
/external/libvpx/libvpx/vp9/encoder/x86/
Dvp9_diamond_search_sad_avx.c22 #define LIKELY(v) __builtin_expect(v, 1) macro
25 #define LIKELY(v) (v) macro
158 if (LIKELY(_mm_test_all_zeros(v_inside_d, v_inside_d))) { in vp9_diamond_search_sad_avx()
284 if (LIKELY(local_best_sad < best_sad)) { in vp9_diamond_search_sad_avx()
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DLikelySubtagsTest.java37 static final LikelySubtags LIKELY = new LikelySubtags( field in LikelySubtagsTest
169 String max = LIKELY.maximize(source); in checkAdding()
196 final String maximize = LIKELY.maximize(test); in checkAdding()
200 LIKELY.maximize(test); // do again for debugging in checkAdding()
/external/libchrome/libchrome_tools/patch/
Dcompiler_specific.patch1 # In Android, prefer Android's libbase definitions for LIKELY/UNLIKELY macros.
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_internal_defs.h139 # define LIKELY(x) (x) macro
152 # define LIKELY(x) __builtin_expect(!!(x), 1) macro
/external/compiler-rt/lib/scudo/
Dscudo_allocator.cpp340 if (LIKELY(!ThreadTornDown)) { in allocate()
417 if (LIKELY(!ThreadTornDown)) { in deallocate()
492 if (LIKELY(!ThreadTornDown)) { in reallocate()
/external/python/cpython2/Modules/_ctypes/libffi/include/
Dffi_common.h125 #define LIKELY(x) __builtin_expect(!!(x),1) macro
/external/libffi/include/
Dffi_common.h125 #define LIKELY(x) __builtin_expect(!!(x),1) macro
/external/compiler-rt/lib/asan/
Dasan_stack.h42 if (LIKELY(asan_inited)) { in GetStackTraceWithPcBpAndContext()
/external/python/cpython3/Modules/_blake2/impl/
Dblake2s-round.h25 #define LIKELY(x) __builtin_expect((x),1) macro
Dblake2b-round.h25 #define LIKELY(x) __builtin_expect((x),1) macro
/external/compiler-rt/lib/tsan/rtl/
Dtsan_rtl.cc625 if (LIKELY(store_word == 0)) in MemoryAccessImpl1()
789 if (LIKELY(ContainsSameAccess(shadow_mem, cur.raw(), in MemoryAccess()
814 if (LIKELY(ContainsSameAccess(shadow_mem, cur.raw(), in MemoryAccessImpl()

12