Searched refs:__builtin_expect (Results 1 - 25 of 72) sorted by relevance

123

/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.dg/opt/
H A Dexpect2.C10 __builtin_expect (foo () && true, 1) ? 0 : (abort (), 0);
H A Dexpect1.C16 __builtin_expect (foo () && (bar ().i) == 0, 0) ? 0 : (abort (), 1);
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.dg/
H A Dsparc-trap-1.c18 if (__builtin_expect (!page_mapping (flags), 0))
H A D20020313-1.c67 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 D20020320-1.c15 if (__builtin_expect (a, 0))
/openbsd-current/gnu/llvm/compiler-rt/lib/gwp_asan/
H A Ddefinitions.h15 #define GWP_ASAN_UNLIKELY(X) __builtin_expect(!!(X), 0)
/openbsd-current/gnu/llvm/compiler-rt/lib/orc/
H A Dcompiler.h58 #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 D20020418-1.c8 if (__builtin_expect(p->a < 52, 0))
/openbsd-current/gnu/llvm/compiler-rt/lib/tsan/benchmarks/
H A Dfunc_entry_exit.cpp18 if (__builtin_expect(x, false))
/openbsd-current/sys/dev/pci/drm/include/linux/
H A Dcompiler.h9 #define unlikely(x) __builtin_expect(!!(x), 0)
10 #define likely(x) __builtin_expect(!!(x), 1)
/openbsd-current/gnu/gcc/libgomp/config/linux/
H A Dmutex.h55 if (__builtin_expect (val > 1, 0))
/openbsd-current/gnu/gcc/fixincludes/tests/base/iso/
H A Dmath_c99.h59 __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 Dbindtextdom.c163 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 Dloadinfo.h50 # define __builtin_expect(expr, val) (expr) macro
/openbsd-current/gnu/usr.bin/gcc/gcc/intl/
H A Dbindtextdom.c158 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 Dloadmsgcat.c389 __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 Dloadinfo.h38 # define __builtin_expect(expr, val) (expr) macro
/openbsd-current/gnu/usr.bin/texinfo/intl/
H A Dbindtextdom.c156 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 Dloadinfo.h42 # define __builtin_expect(expr, val) (expr) macro
/openbsd-current/gnu/gcc/libstdc++-v3/include/ext/
H A Dpool_allocator.h198 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 Dmt_allocator.h216 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 Dnew_allocator.h88 if (__builtin_expect(__n > this->max_size(), false))
/openbsd-current/gnu/llvm/compiler-rt/lib/crt/
H A Dcrtbegin.c33 if (__builtin_expect(__initialized, 0))
84 if (__builtin_expect(__finalized, 0))
/openbsd-current/gnu/gcc/libstdc++-v3/include/std/
H A Dstd_streambuf.h298 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 Dstreambuf_iterator.h205 if (__builtin_expect(!_M_failed, true) &&
206 __builtin_expect(this->_M_sbuf->sputn(__ws, __len) != __len, false))

Completed in 397 milliseconds

123