/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.dg/opt/ |
H A D | expect2.C | 10 __builtin_expect (foo () && true, 1) ? 0 : (abort (), 0);
|
H A D | expect1.C | 16 __builtin_expect (foo () && (bar ().i) == 0, 0) ? 0 : (abort (), 1);
|
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.dg/ |
H A D | sparc-trap-1.c | 18 if (__builtin_expect (!page_mapping (flags), 0))
|
H A D | 20020313-1.c | 67 do { do { } while(0); do { do { __asm__ __volatile__("": : :"memory"); (((struct cpuinfo_ia64 *) (0xa000000000000000 + 2*(1UL << 14)))->irq_stat.f.bh_count)--; } while (0); if (__builtin_expect((((struct cpuinfo_ia64 *) (0xa000000000000000 + 2*(1UL << 14)))->softirq_pending), 0) && (((struct cpuinfo_ia64 *) (0xa000000000000000 + 2*(1UL << 14)))->irq_stat.f.bh_count) == 0) do_softirq(); } while (0); } while (0); 70 do { do { } while(0); do { do { __asm__ __volatile__("": : :"memory"); (((struct cpuinfo_ia64 *) (0xa000000000000000 + 2*(1UL << 14)))->irq_stat.f.bh_count)--; } while (0); if (__builtin_expect((((struct cpuinfo_ia64 *) (0xa000000000000000 + 2*(1UL << 14)))->softirq_pending), 0) && (((struct cpuinfo_ia64 *) (0xa000000000000000 + 2*(1UL << 14)))->irq_stat.f.bh_count) == 0) do_softirq(); } while (0); } while (0);
|
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/compile/ |
H A D | 20020320-1.c | 15 if (__builtin_expect (a, 0))
|
/openbsd-current/gnu/llvm/compiler-rt/lib/gwp_asan/ |
H A D | definitions.h | 15 #define GWP_ASAN_UNLIKELY(X) __builtin_expect(!!(X), 0)
|
/openbsd-current/gnu/llvm/compiler-rt/lib/orc/ |
H A D | compiler.h | 58 #if __has_builtin(__builtin_expect) 59 #define ORC_RT_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true) 60 #define ORC_RT_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
|
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/ |
H A D | 20020418-1.c | 8 if (__builtin_expect(p->a < 52, 0))
|
/openbsd-current/gnu/llvm/compiler-rt/lib/tsan/benchmarks/ |
H A D | func_entry_exit.cpp | 18 if (__builtin_expect(x, false))
|
/openbsd-current/sys/dev/pci/drm/include/linux/ |
H A D | compiler.h | 9 #define unlikely(x) __builtin_expect(!!(x), 0) 10 #define likely(x) __builtin_expect(!!(x), 1)
|
/openbsd-current/gnu/gcc/libgomp/config/linux/ |
H A D | mutex.h | 55 if (__builtin_expect (val > 1, 0))
|
/openbsd-current/gnu/gcc/fixincludes/tests/base/iso/ |
H A D | math_c99.h | 59 __builtin_expect(!isnan(__x_f - __x_f), 1); }) 68 __builtin_expect(!isnan(__x_i) && !isfinite(__x_i), 0); }) 78 __builtin_expect(isfinite(__x_n) \
|
/openbsd-current/gnu/gcc/intl/ |
H A D | bindtextdom.c | 163 if (__builtin_expect (result != NULL, 1)) 168 if (__builtin_expect (result != NULL, 1)) 201 if (__builtin_expect (result != NULL, 1)) 205 if (__builtin_expect (result != NULL, 1)) 235 if (__builtin_expect (new_binding == NULL, 0)) 256 if (__builtin_expect (result == NULL, 0)) 261 if (__builtin_expect (result == NULL, 0)) 287 if (__builtin_expect (result == NULL, 0)) 292 if (__builtin_expect (result == NULL, 0))
|
H A D | loadinfo.h | 50 # define __builtin_expect(expr, val) (expr) macro
|
/openbsd-current/gnu/usr.bin/gcc/gcc/intl/ |
H A D | bindtextdom.c | 158 if (__builtin_expect (result != NULL, 1)) 163 if (__builtin_expect (result != NULL, 1)) 196 if (__builtin_expect (result != NULL, 1)) 200 if (__builtin_expect (result != NULL, 1)) 230 if (__builtin_expect (new_binding == NULL, 0)) 251 if (__builtin_expect (result == NULL, 0)) 256 if (__builtin_expect (result == NULL, 0)) 282 if (__builtin_expect (result == NULL, 0)) 287 if (__builtin_expect (result == NULL, 0))
|
H A D | loadmsgcat.c | 389 __builtin_expect (fstat64 (fd, &st) != 0, 0) 391 __builtin_expect (fstat (fd, &st) != 0, 0) 393 || __builtin_expect (st.st_size > INTTYPE_MAXIMUM (ssize_t), 0) 394 || __builtin_expect (st.st_size < (off_t) sizeof (struct mo_file_header), 409 if (__builtin_expect (data != (struct mo_file_header *) -1, 1)) 452 if (__builtin_expect (data->magic != _MAGIC && data->magic != _MAGIC_SWAPPED,
|
H A D | loadinfo.h | 38 # define __builtin_expect(expr, val) (expr) macro
|
/openbsd-current/gnu/usr.bin/texinfo/intl/ |
H A D | bindtextdom.c | 156 if (__builtin_expect (result != NULL, 1)) 161 if (__builtin_expect (result != NULL, 1)) 194 if (__builtin_expect (result != NULL, 1)) 198 if (__builtin_expect (result != NULL, 1)) 228 if (__builtin_expect (new_binding == NULL, 0)) 249 if (__builtin_expect (result == NULL, 0)) 254 if (__builtin_expect (result == NULL, 0)) 280 if (__builtin_expect (result == NULL, 0)) 285 if (__builtin_expect (result == NULL, 0))
|
H A D | loadinfo.h | 42 # define __builtin_expect(expr, val) (expr) macro
|
/openbsd-current/gnu/gcc/libstdc++-v3/include/ext/ |
H A D | pool_allocator.h | 198 if (__builtin_expect(__n != 0, true)) 200 if (__builtin_expect(__n > this->max_size(), false)) 223 if (__builtin_expect(__result == 0, 0)) 230 if (__builtin_expect(__ret == 0, 0)) 241 if (__builtin_expect(__n != 0 && __p != 0, true))
|
H A D | mt_allocator.h | 216 if (__builtin_expect(_M_init == false, false)) 327 if (__builtin_expect(_M_init == false, false)) 415 if (__builtin_expect(__init == false, false)) 438 if (__builtin_expect(__init == false, false)) 510 if (__builtin_expect(__init == false, false)) 533 if (__builtin_expect(__init == false, false)) 672 if (__builtin_expect(__n > this->max_size(), false)) 719 if (__builtin_expect(__p != 0, true))
|
H A D | new_allocator.h | 88 if (__builtin_expect(__n > this->max_size(), false))
|
/openbsd-current/gnu/llvm/compiler-rt/lib/crt/ |
H A D | crtbegin.c | 33 if (__builtin_expect(__initialized, 0)) 84 if (__builtin_expect(__finalized, 0))
|
/openbsd-current/gnu/gcc/libstdc++-v3/include/std/ |
H A D | std_streambuf.h | 298 if (__builtin_expect(!traits_type::eq_int_type(this->sbumpc(), 316 if (__builtin_expect(this->gptr() < this->egptr(), true)) 338 if (__builtin_expect(this->gptr() < this->egptr(), true)) 372 if (__builtin_expect(!__testpos || 396 if (__builtin_expect(this->eback() < this->gptr(), true)) 423 if (__builtin_expect(this->pptr() < this->epptr(), true))
|
/openbsd-current/gnu/lib/libstdc++/libstdc++/include/bits/ |
H A D | streambuf_iterator.h | 205 if (__builtin_expect(!_M_failed, true) && 206 __builtin_expect(this->_M_sbuf->sputn(__ws, __len) != __len, false))
|