Home
last modified time | relevance | path

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

12

/external/clang/test/CodeGen/
Dbuiltin-expect.c8 if (__builtin_expect (x, y())) in FUNC()
17 (void) __builtin_expect((isigprocmask(), 0), bar()); in main()
27 if (__builtin_expect (x, 1)) in test1()
35 switch(__builtin_expect(x, 5)) { in test2()
/external/e2fsprogs/intl/
Dbindtextdom.c156 if (__builtin_expect (result != NULL, 1)) in __libc_rwlock_define()
161 if (__builtin_expect (result != NULL, 1)) in __libc_rwlock_define()
194 if (__builtin_expect (result != NULL, 1)) in __libc_rwlock_define()
198 if (__builtin_expect (result != NULL, 1)) in __libc_rwlock_define()
227 if (__builtin_expect (new_binding == NULL, 0)) in __libc_rwlock_define()
248 if (__builtin_expect (result == NULL, 0)) in __libc_rwlock_define()
253 if (__builtin_expect (result == NULL, 0)) in __libc_rwlock_define()
279 if (__builtin_expect (result == NULL, 0)) in __libc_rwlock_define()
284 if (__builtin_expect (result == NULL, 0)) in __libc_rwlock_define()
Dloadinfo.h42 # define __builtin_expect(expr, val) (expr) macro
Dloadmsgcat.c947 __builtin_expect (fstat64 (fd, &st) != 0, 0) in _nl_load_domain()
949 __builtin_expect (fstat (fd, &st) != 0, 0) in _nl_load_domain()
951 || __builtin_expect ((size = (size_t) st.st_size) != st.st_size, 0) in _nl_load_domain()
952 || __builtin_expect (size < sizeof (struct mo_file_header), 0)) in _nl_load_domain()
965 if (__builtin_expect (data != (struct mo_file_header *) -1, 1)) in _nl_load_domain()
1008 if (__builtin_expect (data->magic != _MAGIC && data->magic != _MAGIC_SWAPPED, in _nl_load_domain()
Dlocalealias.c302 if (__builtin_expect (extend_alias_table (), 0)) in read_alias_file()
318 if (__builtin_expect (string_space != new_pool, 0)) in read_alias_file()
/external/elfutils/lib/
Deu-config.h130 __builtin_expect (_e, E); \
145 __builtin_expect (_e, E); \
155 # define unlikely(expr) __builtin_expect (!!(expr), 0)
156 # define likely(expr) __builtin_expect (!!(expr), 1)
/external/oprofile/m4/
Dbuiltinexpect.m44 AC_MSG_CHECKING([whether __builtin_expect is understood])
9 if (__builtin_expect(i, 0)) { }
/external/oprofile/module/
Dcompat.h51 #define likely(a) __builtin_expect((a), 1)
58 #define unlikely(a) __builtin_expect((a), 0)
/external/valgrind/main/VEX/priv/
Dmain_util.h46 #define LIKELY(x) __builtin_expect(!!(x), 1)
47 #define UNLIKELY(x) __builtin_expect(!!(x), 0)
/external/webkit/Source/JavaScriptCore/wtf/
DAlwaysInline.h45 #define UNLIKELY(x) __builtin_expect((x), 0)
53 #define LIKELY(x) __builtin_expect((x), 1)
/external/qemu/
Dosdep.h22 #define __builtin_expect(x, n) (x) macro
25 #define likely(x) __builtin_expect(!!(x), 1)
26 #define unlikely(x) __builtin_expect(!!(x), 0)
/external/e2fsprogs/e2fsck/
Dcrc32defs.h59 #define likely(x) __builtin_expect(!!(x), 1)
60 #define unlikely(x) __builtin_expect(!!(x), 0)
/external/kernel-headers/original/linux/
Dcompiler.h62 #define likely(x) __builtin_expect(!!(x), 1)
63 #define unlikely(x) __builtin_expect(!!(x), 0)
/external/clang/test/Analysis/
Dunix-fns.c42 …do { if (__builtin_expect(*(&pred), ~0l) != ~0l) dispatch_once((&pred), (^() {})); } while (0); //… in test_dispatch_once()
46 …do { if (__builtin_expect(*(&pred), ~0l) != ~0l) dispatch_once((&pred), (^() {})); } while (0); //… in test_dispatch_once_neg()
/external/mesa3d/src/mesa/main/
Dcompiler.h198 # define __builtin_expect(x, y) x macro
202 #define likely(x) __builtin_expect(!!(x), 1)
203 #define unlikely(x) __builtin_expect(!!(x), 0)
/external/valgrind/main/include/
Dpub_tool_basics.h294 # define LIKELY(x) __builtin_expect(!!(x), 1)
295 # define UNLIKELY(x) __builtin_expect(!!(x), 0)
/external/bluetooth/glib/glib/
Dgmacros.h270 #define G_LIKELY(expr) (__builtin_expect (_G_BOOLEAN_EXPR(expr), 1))
271 #define G_UNLIKELY(expr) (__builtin_expect (_G_BOOLEAN_EXPR(expr), 0))
/external/clang/test/Sema/
Dconstant-builtins-2.c52 extern __typeof__(__builtin_expect(0, 0)) bi0;
Dwarn-unreachable.c121 (__builtin_expect(!(e), 0) ? __myassert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
Dconst-eval.c78 EVAL_EXPR(38, __builtin_expect(1,1) == 1 ? 1 : -1)
/external/elfutils/src/
Dldscript.y622 if (__builtin_expect (*str == '*', 0) in special_char_p()
623 || __builtin_expect (*str == '?', 0) in special_char_p()
624 || __builtin_expect (*str == '[', 0)) in special_char_p()
642 else if (__builtin_expect (special_char_p (str), false)) in new_id_listelem()
/external/valgrind/tsan/
Dts_util.h228 #define UNLIKELY(x) __builtin_expect((x), 0)
229 #define LIKELY(x) __builtin_expect(!!(x), 1)
/external/dbus/dbus/
Ddbus-internals.h77 #define _DBUS_LIKELY(expr) (__builtin_expect (_DBUS_BOOLEAN_EXPR(expr), 1))
78 #define _DBUS_UNLIKELY(expr) (__builtin_expect (_DBUS_BOOLEAN_EXPR(expr), 0))
/external/linux-tools-perf/
Dperf.h171 #define unlikely(x) __builtin_expect(!!(x), 0)
/external/llvm/include/llvm/Support/
DCompiler.h71 #define BUILTIN_EXPECT(EXPR, VALUE) __builtin_expect((EXPR), (VALUE))

12