Home
last modified time | relevance | path

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

12

/external/valgrind/include/
Dpub_tool_libcassert.h37 ((void) (LIKELY(expr) ? 0 : \
45 ((void) (LIKELY(expr) ? 0 : \
Dpub_tool_basics.h344 # define LIKELY(x) __builtin_expect(!!(x), 1) macro
347 # define LIKELY(x) (x) macro
Dpub_tool_libcbase.h145 if (LIKELY(0 == (((Addr)sz) & (Addr)(sizeof(UWord)-1))) in VG_()
146 && LIKELY(0 == (((Addr)s) & (Addr)(sizeof(UWord)-1)))) { in VG_()
/external/valgrind/coregrind/
Dpub_core_libcassert.h51 ((void) (LIKELY(expr) ? 0 : \
58 ((void) (LIKELY(expr) ? 0 : \
Dm_stacks.c275 if (LIKELY(stack)) { in VG_()
Dm_execontext.c129 if (LIKELY(init_done)) in init_ExeContext_storage()
Dm_libcbase.c43 ((void) (LIKELY(expr) ? 0 : \
/external/valgrind/memcheck/
Dmc_main.c519 if (LIKELY(auxmap_L1[0].base == a)) in maybe_find_in_auxmap()
521 if (LIKELY(auxmap_L1[1].base == a)) { in maybe_find_in_auxmap()
573 if (LIKELY(res)) in find_or_alloc_in_auxmap()
1085 if (LIKELY(gIgnoredAddressRanges != NULL)) in init_gIgnoredAddressRanges()
1093 if (LIKELY(gIgnoredAddressRanges == NULL)) in MC_()
1249 if (LIKELY(n_addrs_bad == 0)) in mc_LOADV_128_or_256_slow()
1322 if (LIKELY(sizeof(void*) == 8 in mc_LOADVn_slow()
1327 if (LIKELY(vabits16 == VA_BITS16_DEFINED)) in mc_LOADVn_slow()
1329 if (LIKELY(vabits16 == VA_BITS16_UNDEFINED)) in mc_LOADVn_slow()
1333 if (LIKELY(sizeof(void*) == 8 in mc_LOADVn_slow()
[all …]
/external/valgrind/VEX/priv/
Dmain_util.h46 #define LIKELY(x) __builtin_expect(!!(x), 1) macro
60 ((void) (LIKELY(expr) ? 0 : \
Dhost_generic_maddf.c264 if (LIKELY (adjust == 0)) { in h_generic_calc_MAddF64()
269 } else if (LIKELY (adjust > 0)) { in h_generic_calc_MAddF64()
Dhost_generic_regs.h368 if (LIKELY(ha->arr_used < ha->arr_size)) { in addHInstr()
Dhost_generic_regs.c168 if (LIKELY(hregIsVirtual(reg))) { in addHRegUse()
Dhost_generic_reg_alloc2.c224 if (LIKELY(used < *size)) return; in ensureRRLRspace()
694 if (LIKELY((rMentioned & jMask) == 0)) in doRegisterAllocation()
Dir_opt.c491 if (LIKELY(!is_IRExpr_VECRET_or_BBPTR(arg))) in flatten_Stmt()
2702 if (LIKELY(!is_IRExpr_VECRET_or_BBPTR(arg))) { in subst_and_fold_Stmt()
3043 if (LIKELY(!is_IRExpr_VECRET_or_BBPTR(arg))) in addUses_Stmt()
3500 if (LIKELY(a1->tag != a2->tag)) in eq_AvailExpr()
4668 if (LIKELY(!is_IRExpr_VECRET_or_BBPTR(arg))) in deltaIRStmt()
5205 if (LIKELY(!is_IRExpr_VECRET_or_BBPTR(arg))) in aoccCount_Stmt()
5596 if (LIKELY(!is_IRExpr_VECRET_or_BBPTR(arg))) in atbSubst_Stmt()
6326 if (LIKELY(!is_IRExpr_VECRET_or_BBPTR(arg))) { in do_XOR_TRANSFORM_IRSB()
6535 if (LIKELY(!is_IRExpr_VECRET_or_BBPTR(arg))) in considerExpensives()
/external/valgrind/helgrind/
Dlibhb_core.c788 if (LIKELY(gaKey == smCache[0].gaKey)) in shmem__find_SecMap()
790 if (LIKELY(gaKey == smCache[1].gaKey)) { in shmem__find_SecMap()
923 if (LIKELY(sm)) { in shmem__find_or_alloc_SecMap()
1027 if (LIKELY(free_lineF)) { in alloc_LineF_for_Z()
1570 if (LIKELY(i == N_LINE_ARANGE)) { in cacheline_wback()
1727 if (LIKELY(tag == cache_shmem.tags0[wix])) { in get_cacheline()
2581 if (LIKELY(useda == usedb)) { in VTS__cmp_structural()
2589 if (LIKELY(tmpa->tym == tmpb->tym in VTS__cmp_structural()
3455 return LIKELY(vi1 == vi2) ? True : VtsID__cmpLEQ_WRK(vi1, vi2); in VtsID__cmpLEQ()
3487 return LIKELY(vi1 == vi2) ? vi1 : VtsID__join2_WRK(vi1, vi2); in VtsID__join2()
[all …]
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_internal_defs.h133 # define LIKELY(x) (x) macro
147 # define LIKELY(x) __builtin_expect(!!(x), 1) macro
/external/compiler-rt/lib/asan/
Dasan_stack.h41 if (LIKELY(asan_inited)) { in GetStackTraceWithPcBpAndContext()
Dasan_rtl.cc361 if (LIKELY(asan_inited)) return; in AsanInitInternal()
/external/valgrind/coregrind/m_aspacemgr/
Dpriv_aspacemgr.h82 ((void) (LIKELY(expr) ? 0 : \
/external/compiler-rt/lib/tsan/rtl/
Dtsan_rtl.cc603 if (LIKELY(store_word == 0)) in MemoryAccessImpl1()
767 if (LIKELY(ContainsSameAccess(shadow_mem, cur.raw(), in MemoryAccess()
792 if (LIKELY(ContainsSameAccess(shadow_mem, cur.raw(), in MemoryAccessImpl()
/external/valgrind/coregrind/m_debuginfo/
Dtytypes.c355 if (LIKELY(cache != NULL)) { in ML_()
394 if (LIKELY(cache != NULL) && LIKELY(res != NULL)) { in ML_()
Dimage.c599 if (LIKELY(/* img->ces[0] != NULL && */ in get()
809 if (LIKELY(ML_(img_valid)(img, offset, size))) in ensure_valid()
/external/valgrind/exp-dhat/
Ddh_main.c114 if (LIKELY(fbc_cache0 in find_Block_containing()
121 if (LIKELY(fbc_cache1 in find_Block_containing()
/external/valgrind/exp-sgcheck/
Dsg_main.c1462 if (LIKELY(sf->htab[ix].insn_addr == ip)) { in find_or_create_IInstance()
1467 if (LIKELY(sf->htab[ix].insn_addr == 0)) { in find_or_create_IInstance()
1823 if (LIKELY(eq_Invar(&new_inv, inv))) in helperc__mem_access()
/external/valgrind/coregrind/m_scheduler/
Dscheduler.c875 if (LIKELY(VG_(tt_fast)[cno].guest == (Addr)tst->arch.vex.VG_INSTR_PTR)) in run_thread_for_a_while()
886 if (LIKELY(found)) { in run_thread_for_a_while()

12