Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_rtl_access.cpp30 if (LIKELY(pc_delta < (1 << EventAccess::kPCBits))) { in TryTraceMemoryAccess()
80 if (LIKELY(TryTraceMemoryAccessRange(thr, pc, addr, size, typ))) in TraceMemoryAccessRange()
88 if (LIKELY(TryTraceFunc(thr, pc))) in TraceFunc()
201 if (LIKELY(old.raw() == Shadow::kEmpty)) { in CheckRaces()
206 if (LIKELY(!(cur.access() & old.access()))) in CheckRaces()
208 if (LIKELY(cur.sid() == old.sid())) { in CheckRaces()
210 LIKELY(cur.access() == old.access() && old.IsRWWeakerOrEqual(typ))) { in CheckRaces()
216 if (LIKELY(old.IsBothReadsOrAtomic(typ))) in CheckRaces()
218 if (LIKELY(thr->clock.Get(old.sid()) >= old.epoch())) in CheckRaces()
225 if (LIKELY(stored)) in CheckRaces()
[all …]
H A Dtsan_sync.cpp215 if (LIKELY(s->addr == addr)) { in GetSync()
231 if (LIKELY(myidx == 0)) { in GetSync()
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_mutex.h30 if (LIKELY(TryLock())) in Lock()
173 if (LIKELY(!locked)) { in Lock()
192 if (LIKELY(!locked)) in Lock()
217 if (LIKELY(atomic_compare_exchange_weak( in TryLock()
260 if (LIKELY(!locked)) { in ReadLock()
276 if (LIKELY(!locked)) in ReadLock()
H A Dsanitizer_stackdepotbase.h119 if (!LIKELY(Node::is_valid(args))) in Put()
127 if (LIKELY(node)) in Put()
H A Dsanitizer_allocator_local_cache.h88 if (LIKELY(c->max_count)) in InitCache()
217 if (LIKELY(c->max_count)) in InitCache()
H A Dsanitizer_internal_defs.h231 # define LIKELY(x) (x) macro
245 # define LIKELY(x) __builtin_expect(!!(x), 1) macro
H A Dsanitizer_stack_store.cpp81 if (LIKELY(block_idx == last_idx)) { in Alloc()
148 if (LIKELY(ptr))
H A Dsanitizer_flat_map.h138 if (LIKELY(res))
H A Dsanitizer_allocator.cpp120 if (LIKELY(p)) in InternalCalloc()
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dtsd_exclusive.h65 if (LIKELY(Initialized)) in initOnceMaybe()
97 if (LIKELY(State.InitState != ThreadState::NotInitialized)) in initThreadMaybe()
136 if (LIKELY(State.InitState == ThreadState::Initialized && in getTSDAndLock()
188 if (LIKELY(pthread_setspecific(Instance->getTSDRegistry()->PThreadKey, in teardownThread()
H A Dlocal_cache.h28 if (LIKELY(S)) in setFromArray()
36 if (LIKELY(S)) in appendFromArray()
H A Dmutex.h28 if (LIKELY(tryLock())) in lock()
H A Dtsd_shared.h63 if (LIKELY(Initialized)) in initOnceMaybe()
89 if (LIKELY(getCurrentTSD())) in initThreadMaybe()
H A Dcombined.h386 if (LIKELY(PrimaryT::canAllocate(NeededSize))) {
418 if (LIKELY(!useMemoryTagging<AllocatorConfig>(Options))) {
538 if (LIKELY(ClassId)) {
590 if (LIKELY(NewPtr)) {
1056 if (LIKELY(Header->ClassId)) in getSize()
1121 if (LIKELY(ClassId)) { in initChunkWithMemoryTagging()
1253 if (LIKELY(!useMemoryTagging<AllocatorConfig>(Options))) { in quarantineOrDeallocateChunk()
1269 if (LIKELY(ClassId)) { in quarantineOrDeallocateChunk()
H A Dinternal_defs.h39 #define LIKELY(X) __builtin_expect(!!(X), 1) macro
/freebsd/sys/contrib/openzfs/module/zstd/lib/common/
H A Dcompiler.h158 #define LIKELY(x) (__builtin_expect((x), 1)) macro
161 #define LIKELY(x) (x) macro
/freebsd/sys/contrib/zstd/lib/common/
H A Dcompiler.h161 #define LIKELY(x) (__builtin_expect((x), 1)) macro
164 #define LIKELY(x) (x) macro
H A Dentropy_common.c119 if (LIKELY(ip <= iend-7)) { in FSE_readNCount_body()
148 if (LIKELY(ip <= iend-7) || (ip + (bitCount>>3) <= iend-4)) { in FSE_readNCount_body()
197 if (LIKELY(ip <= iend-7) || (ip + (bitCount>>3) <= iend-4)) { in FSE_readNCount_body()
/freebsd/contrib/llvm-project/compiler-rt/lib/memprof/
H A Dmemprof_rtl.cpp160 if (LIKELY(memprof_inited)) in MemprofInitInternal()
234 if (LIKELY(memprof_timestamp_inited)) in MemprofInitTime()
/freebsd/sys/dev/vmware/vmci/
H A Dvmci_kernel_defs.h20 #define LIKELY(_exp) __predict_true(_exp) macro
H A Dvmci_qpair.c521 if (LIKELY(tail + written < produce_q_size)) in enqueue()
592 if (LIKELY(head + read < consume_q_size)) in dequeue()
/freebsd/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_malloc_bisect.h34 if (LIKELY(left == 0 && right == 0)) in malloc_bisect()
/freebsd/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_rtl.cpp394 if (LIKELY(AsanInited())) in AsanInitInternal()
522 if (LIKELY(AsanInited())) in AsanInitFromRtl()
529 if (LIKELY(AsanInited())) in TryAsanInitFromRtl()
H A Dasan_interceptors_memintrinsics.h37 if (LIKELY(((*reinterpret_cast<const uptr *>(uptr_first) | in DECLARE_REAL()
/freebsd/sys/contrib/libb2/
H A Dblake2s-round.h26 #define LIKELY(x) __builtin_expect((x),1) macro

12