/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | Compiler.h | 213 #if __has_builtin(__builtin_expect) || LLVM_GNUC_PREREQ(4, 0, 0) 214 #define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true) 215 #define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
|
/freebsd-11-stable/contrib/gcclibs/libcpp/ |
H A D | lex.c | 122 if (__builtin_expect (c == '\n', false) 123 || __builtin_expect (c == '\r', false)) 127 if (__builtin_expect (s == buffer->rlimit, false)) 131 if (__builtin_expect (c == '\r', false) 139 if (__builtin_expect (pbackslash == NULL, true)) 156 if (__builtin_expect (c == '\\', false)) 158 else if (__builtin_expect (c == '?', false) 159 && __builtin_expect (s[1] == '?', false) 546 if (__builtin_expect ((result->flags & NODE_DIAGNOSTIC)
|
H A D | system.h | 371 /* __builtin_expect(A, B) evaluates to A, but notifies the compiler that 375 #define __builtin_expect(a, b) (a) macro
|
/freebsd-11-stable/contrib/gcclibs/libmudflap/ |
H A D | mf-impl.h | 268 #define UNLIKELY(e) (__builtin_expect (!!(e), 0)) 269 #define LIKELY(e) (__builtin_expect (!!(e), 1))
|
/freebsd-11-stable/contrib/jemalloc/include/jemalloc/internal/ |
H A D | util.h | 74 # define likely(x) __builtin_expect(!!(x), 1) 75 # define unlikely(x) __builtin_expect(!!(x), 0)
|
/freebsd-11-stable/tests/sys/opencrypto/ |
H A D | cryptodevh.py | 75 def __predict_true(exp): return __builtin_expect((exp), 1) 77 def __predict_false(exp): return __builtin_expect((exp), 0)
|
/freebsd-11-stable/contrib/gcc/ |
H A D | libgcc2.c | 302 if (__builtin_expect (uu.s.high == uu.s.low >> (W_TYPE_SIZE - 1), 1)) 305 if (__builtin_expect (vv.s.high == vv.s.low >> (W_TYPE_SIZE - 1), 1)) 324 if (__builtin_expect (w1.s.high == w1.s.low >> (W_TYPE_SIZE - 1), 1)) 333 if (__builtin_expect (vv.s.high == vv.s.low >> (W_TYPE_SIZE - 1), 1)) 347 if (__builtin_expect (w1.s.high == w1.s.low >> (W_TYPE_SIZE - 1), 1)) 364 if (__builtin_expect (w >= 0, 1)) 376 if (__builtin_expect (ww.s.high < 0, 1)) 391 if (__builtin_expect (ww.s.high < 0, 1)) 404 if (__builtin_expect (ww.s.high >= 0, 1)) 1821 #define isnan(x) __builtin_expect (( [all...] |
H A D | crtstuff.c | 272 if (__builtin_expect (completed, 0))
|
H A D | gthr-posix.h | 182 if (__builtin_expect (__gthread_active_latest_value < 0, 0))
|
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/ |
H A D | zfs_context.h | 143 #define likely(x) __builtin_expect((x), 1)
|
/freebsd-11-stable/contrib/libstdc++/include/bits/ |
H A D | streambuf_iterator.h | 272 if (__builtin_expect(!_M_failed, true) 273 && __builtin_expect(this->_M_sbuf->sputn(__ws, __len) != __len,
|
/freebsd-11-stable/sys/contrib/vchiq/interface/compat/ |
H A D | vchi_bsd.h | 419 #define likely(x) __builtin_expect(!!(x), 1) 420 #define unlikely(x) __builtin_expect(!!(x), 0)
|
/freebsd-11-stable/sys/dev/cxgbe/cudbg/ |
H A D | fastlz.c | 52 #define FASTLZ_EXPECT_CONDITIONAL(c) (__builtin_expect((c), 1)) 53 #define FASTLZ_UNEXPECT_CONDITIONAL(c) (__builtin_expect((c), 0))
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_internal_defs.h | 232 # define LIKELY(x) __builtin_expect(!!(x), 1) 233 # define UNLIKELY(x) __builtin_expect(!!(x), 0)
|
/freebsd-11-stable/contrib/libstdc++/include/ext/ |
H A D | bitmap_allocator.h | 873 if (__builtin_expect(_S_last_request._M_finished() == true, false)) 1004 if (__builtin_expect(*__puse_count == 0, false)) 1052 if (__builtin_expect(__n > this->max_size(), false)) 1055 if (__builtin_expect(__n == 1, true)) 1071 if (__builtin_expect(__p != 0, true)) 1073 if (__builtin_expect(__n == 1, true))
|
/freebsd-11-stable/crypto/openssh/ |
H A D | defines.h | 862 # define __predict_true(exp) __builtin_expect(((exp) != 0), 1) 863 # define __predict_false(exp) __builtin_expect(((exp) != 0), 0)
|
/freebsd-11-stable/contrib/libstdc++/include/std/ |
H A D | std_bitset.h | 219 if (__builtin_expect(__shift != 0, 1)) 245 if (__builtin_expect(__shift != 0, 1)) 826 if (__builtin_expect(__position < _Nb, 1)) 839 if (__builtin_expect(__position < _Nb, 1))
|
/freebsd-11-stable/sys/cddl/boot/zfs/ |
H A D | lz4.c | 114 #define expect(expr, value) (__builtin_expect((expr), (value)))
|
/freebsd-11-stable/sbin/hastd/ |
H A D | lzf.c | 81 # define expect(expr,value) __builtin_expect ((expr),(value))
|
/freebsd-11-stable/contrib/gcc/config/ |
H A D | fp-bit.c | 159 return __builtin_expect (x->class == CLASS_SNAN || x->class == CLASS_QNAN, 167 return __builtin_expect (x->class == CLASS_INFINITY, 0); 249 if (__builtin_expect (src->normal_exp < NORMAL_EXPMIN, 0)) 296 && __builtin_expect (src->normal_exp > EXPBIAS, 0)) 561 && __builtin_expect (exp == EXPMAX, 0))
|
/freebsd-11-stable/sys/dev/netmap/ |
H A D | netmap_kern.h | 84 #define likely(x) __builtin_expect((long)!!(x), 1L) 85 #define unlikely(x) __builtin_expect((long)!!(x), 0L) 182 #define likely(x) __builtin_expect(!!(x), 1) 183 #define unlikely(x) __builtin_expect(!!(x), 0) 221 #define likely(x) __builtin_expect((long)!!(x), 1L) 222 #define unlikely(x) __builtin_expect((long)!!(x), 0L)
|
/freebsd-11-stable/sys/sys/ |
H A D | cdefs.h | 465 #define __predict_true(exp) __builtin_expect((exp), 1) 466 #define __predict_false(exp) __builtin_expect((exp), 0)
|
/freebsd-11-stable/sys/dev/drm2/ |
H A D | drm_os_freebsd.h | 101 #define unlikely(x) __builtin_expect(!!(x), 0) 102 #define likely(x) __builtin_expect(!!(x), 1)
|
/freebsd-11-stable/sys/dev/ocs_fc/ |
H A D | ocs_os.h | 119 #define likely(x) __builtin_expect(!!(x), 1) 120 #define unlikely(x) __builtin_expect(!!(x), 0)
|
/freebsd-11-stable/contrib/ntp/sntp/libevent/ |
H A D | util-internal.h | 306 #define EVUTIL_UNLIKELY(p) __builtin_expect(!!(p),0)
|