Home
last modified time | relevance | path

Searched refs:UNLIKELY (Results 1 – 25 of 65) sorted by relevance

123

/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_allocator_testlib.cc74 if (UNLIKELY(!thread_inited)) in malloc()
82 if (UNLIKELY(!thread_inited)) in free()
89 if (UNLIKELY(!thread_inited)) in calloc()
99 if (UNLIKELY(!thread_inited)) in realloc()
112 if (UNLIKELY(!thread_inited)) in memalign()
120 if (UNLIKELY(!thread_inited)) in posix_memalign()
128 if (UNLIKELY(!thread_inited)) in valloc()
/external/valgrind/VEX/priv/
Dhost_s390_defs.c1504 if (UNLIKELY(vex_traceflags & VEX_TRACE_ASM)) in s390_emit_AR()
1514 if (UNLIKELY(vex_traceflags & VEX_TRACE_ASM)) in s390_emit_AGR()
1524 if (UNLIKELY(vex_traceflags & VEX_TRACE_ASM)) in s390_emit_A()
1534 if (UNLIKELY(vex_traceflags & VEX_TRACE_ASM)) in s390_emit_AY()
1544 if (UNLIKELY(vex_traceflags & VEX_TRACE_ASM)) in s390_emit_AG()
1556 if (UNLIKELY(vex_traceflags & VEX_TRACE_ASM)) in s390_emit_AFI()
1568 if (UNLIKELY(vex_traceflags & VEX_TRACE_ASM)) in s390_emit_AGFI()
1578 if (UNLIKELY(vex_traceflags & VEX_TRACE_ASM)) in s390_emit_AH()
1588 if (UNLIKELY(vex_traceflags & VEX_TRACE_ASM)) in s390_emit_AHY()
1598 if (UNLIKELY(vex_traceflags & VEX_TRACE_ASM)) in s390_emit_AHI()
[all …]
Dhost_generic_maddf.c144 if (UNLIKELY (u.ieee.exponent + v.ieee.exponent in h_generic_calc_MAddF64()
146 || UNLIKELY (u.ieee.exponent >= 0x7ff - DBL_MANT_DIG) in h_generic_calc_MAddF64()
147 || UNLIKELY (v.ieee.exponent >= 0x7ff - DBL_MANT_DIG) in h_generic_calc_MAddF64()
148 || UNLIKELY (w.ieee.exponent >= 0x7ff - DBL_MANT_DIG) in h_generic_calc_MAddF64()
149 || UNLIKELY (u.ieee.exponent + v.ieee.exponent in h_generic_calc_MAddF64()
253 if (UNLIKELY (adjust < 0)) { in h_generic_calc_MAddF64()
Dmain_util.h47 #define UNLIKELY(x) __builtin_expect(!!(x), 0) macro
Dguest_s390_toIR.c1736 if (UNLIKELY(vex_traceflags & VEX_TRACE_FE)) in s390_format_I()
1745 if (UNLIKELY(vex_traceflags & VEX_TRACE_FE)) in s390_format_E()
1762 if (UNLIKELY(vex_traceflags & VEX_TRACE_FE)) in s390_format_RI_RU()
1772 if (UNLIKELY(vex_traceflags & VEX_TRACE_FE)) in s390_format_RI_RI()
1782 if (UNLIKELY(vex_traceflags & VEX_TRACE_FE)) in s390_format_RI_RP()
1792 if (UNLIKELY(vex_traceflags & VEX_TRACE_FE)) in s390_format_RIE_RRP()
1802 if (UNLIKELY(vex_traceflags & VEX_TRACE_FE)) in s390_format_RIE_RRI0()
1813 if (UNLIKELY(vex_traceflags & VEX_TRACE_FE)) in s390_format_RIE_RRUUU()
1825 if (UNLIKELY(vex_traceflags & VEX_TRACE_FE)) in s390_format_RIE_RRPU()
1837 if (UNLIKELY(vex_traceflags & VEX_TRACE_FE)) in s390_format_RIE_RUPU()
[all …]
Dhost_generic_simd64.c1566 if (UNLIKELY(y == 0)) return 0; in h_calc_udiv32_w_arm_semantics()
1574 if (UNLIKELY(y == 0)) return 0; in h_calc_udiv64_w_arm_semantics()
1582 if (UNLIKELY(y == 0)) return 0; in h_calc_sdiv32_w_arm_semantics()
1584 if (UNLIKELY( ((UInt)x) == ((UInt)0x80000000) in h_calc_sdiv32_w_arm_semantics()
1597 if (UNLIKELY(y == 0)) return 0; in h_calc_sdiv64_w_arm_semantics()
1599 if (UNLIKELY( ((ULong)x) == ((ULong)0x8000000000000000ULL ) in h_calc_sdiv64_w_arm_semantics()
/external/valgrind/coregrind/
Dm_stacks.c287 if (UNLIKELY(stackseg == NULL)) { in VG_()
296 if (UNLIKELY((!stackseg->hasR || !stackseg->hasW) in VG_()
308 if (UNLIKELY(*start < stackseg->start)) { in VG_()
319 if (UNLIKELY(stackseg->kind == SkResvn)) { in VG_()
334 if (UNLIKELY(*end > stackseg->end)) { in VG_()
344 if (UNLIKELY(*start > *end)) { in VG_()
401 if (UNLIKELY(current_stack == NULL || \
420 if (UNLIKELY(delta < -VG_(clo_max_stackframe) \
Dm_poolalloc.c122 if (UNLIKELY(pa->nextFree == NULL)) { in VG_()
/external/libchrome/base/
Dcompiler_specific.h182 #if !defined(UNLIKELY)
184 #define UNLIKELY(x) __builtin_expect(!!(x), 0) macro
186 #define UNLIKELY(x) (x) macro
/external/libweave/third_party/chromium/base/
Dcompiler_specific.h182 #if !defined(UNLIKELY)
184 #define UNLIKELY(x) __builtin_expect(!!(x), 0) macro
186 #define UNLIKELY(x) (x) macro
/external/compiler-rt/lib/asan/
Dasan_malloc_linux.cc39 if (UNLIKELY(IsInCallocPool(ptr))) in INTERCEPTOR()
46 if (UNLIKELY(IsInCallocPool(ptr))) in INTERCEPTOR()
57 if (UNLIKELY(!asan_inited)) { in INTERCEPTOR()
72 if (UNLIKELY(IsInCallocPool(ptr))) { in INTERCEPTOR()
Dasan_interceptors.cc155 if (SANITIZER_MAC && UNLIKELY(!asan_inited)) \
376 if (UNLIKELY(!asan_inited)) return internal_memcpy(to, from, size); \
398 if (UNLIKELY(!asan_inited)) return internal_memset(block, c, size); \
414 if (UNLIKELY(!asan_inited)) \
459 if (UNLIKELY(!asan_inited)) return internal_strchr(str, c); in INTERCEPTOR()
535 if (UNLIKELY(!asan_inited)) return REAL(strcpy)(to, from); // NOLINT in INTERCEPTOR()
556 if (UNLIKELY(!asan_inited)) return internal_strdup(s); in INTERCEPTOR()
572 if (UNLIKELY(!asan_inited)) return internal_strlen(s); in INTERCEPTOR()
641 if (UNLIKELY(!asan_inited)) return REAL(atoi)(nptr); in INTERCEPTOR()
662 if (UNLIKELY(!asan_inited)) return REAL(atol)(nptr); in INTERCEPTOR()
[all …]
Dasan_interceptors.h119 if (UNLIKELY(!asan_inited)) { \
Dasan_rtl.cc164 if (UNLIKELY(s)) { \
165 if (UNLIKELY(size >= SHADOW_GRANULARITY || \
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_internal_defs.h136 # define UNLIKELY(x) (x) macro
149 # define UNLIKELY(x) __builtin_expect(!!(x), 0) macro
202 if (UNLIKELY(!(expr))) { \
214 if (UNLIKELY(!(v1 op v2))) \
/external/valgrind/helgrind/
Dlibhb_core.c1047 if (UNLIKELY(free_lineF)) { in clear_LineF_of_Z()
1333 && UNLIKELY(tree[7] == SVal_INVALID || tree[6] == SVal_INVALID in normalise_tree()
1668 if (UNLIKELY(ga_ix == N_WAY_NENT)) in shmem__invalidate_scache_range()
2312 if (UNLIKELY(here->thrid >= me_thrid)) in VTS__tick()
2337 if (UNLIKELY(here->tym >= (1ULL << SCALARTS_N_TYMBITS) - 2ULL)) { in VTS__tick()
2595 if (UNLIKELY(i == useda)) { in VTS__cmp_structural()
3602 while (UNLIKELY(!VG_IS_8_ALIGNED(a)) && LIKELY(len > 0)) { in Filter__clear_range_SLOW()
3614 while (UNLIKELY(len > 0)) { in Filter__clear_range_SLOW()
3662 if (UNLIKELY(!VG_IS_8_ALIGNED(c))) { in Filter__clear_range()
3711 if (UNLIKELY(address_in_range(fi->tags[clineno], c, full_len))) { in Filter__clear_range()
[all …]
/external/valgrind/drd/
Ddrd_load_store.c540 if (UNLIKELY(DRD_(any_address_is_traced)())) { in instrument_store()
671 if (UNLIKELY(DRD_(any_address_is_traced)())) { in DRD_()
686 if (UNLIKELY(DRD_(any_address_is_traced)())) { in DRD_()
755 if (UNLIKELY(DRD_(any_address_is_traced)())) in DRD_()
776 if (UNLIKELY(DRD_(any_address_is_traced)())) in DRD_()
Ddrd_main.c349 if (UNLIKELY(DRD_(any_address_is_traced)())) in drd_start_using_mem()
354 if (UNLIKELY(DRD_(running_thread_inside_pthread_create)())) in drd_start_using_mem()
382 if (UNLIKELY(DRD_(any_address_is_traced)())) in drd_stop_using_mem()
/external/valgrind/memcheck/
Dmc_main.c634 if (UNLIKELY(is_distinguished_sm(*p))) in get_secmap_for_writing_low()
642 if (UNLIKELY(is_distinguished_sm(*p))) in get_secmap_for_writing_high()
1791 if (UNLIKELY( MC_(clo_mc_level) == 3 )) in MC_()
1807 if (UNLIKELY( MC_(clo_mc_level) == 3 )) in MC_()
1844 if (UNLIKELY( MC_(clo_mc_level) == 3 )) in MC_()
1867 if (UNLIKELY(MC_(clo_mc_level) >= 3)) { in make_mem_defined_if_addressable()
1884 if (UNLIKELY(MC_(clo_mc_level) >= 3)) { in make_mem_defined_if_noaccess()
2492 if (UNLIKELY(0 == (ocacheL1_event_ctr++ in find_OCacheLine_SLOW()
2619 if (UNLIKELY(a > MAX_PRIMARY_ADDRESS)) { in make_aligned_word32_undefined()
2662 if (UNLIKELY(a > MAX_PRIMARY_ADDRESS)) { in make_aligned_word32_noaccess()
[all …]
/external/valgrind/include/
Dpub_tool_basics.h433 # define UNLIKELY(x) __builtin_expect(!!(x), 0) macro
436 # define UNLIKELY(x) (x) macro
/external/compiler-rt/lib/tsan/rtl/
Dtsan_platform_mac.cc51 if (UNLIKELY(val == nullptr)) { in SignalSafeGetOrAllocate()
/external/libchrome/base/trace_event/
Dprocess_memory_maps_dump_provider.cc161 if (UNLIKELY(proc_smaps_for_testing)) { in OnMemoryDump()
/external/valgrind/coregrind/m_gdbserver/
Dserver.h123 do { if (UNLIKELY(VG_(debugLog_getLevel)() >= level)) \
/external/compiler-rt/lib/msan/
Dmsan.cc318 if (UNLIKELY(s)) { \
334 if (UNLIKELY(s)) { \
/external/valgrind/callgrind/
Dglobal.h809 if (UNLIKELY( (CLG_(clo).verbose >x) && \
819 if (UNLIKELY(!(cond))) { \

123