/external/clang/test/CodeGen/ |
D | builtin-expect.c | 12 if (__builtin_expect (x, y())) in FUNC() 21 (void) __builtin_expect((isigprocmask(), 0), bar()); in main() 35 if (__builtin_expect (x, 1)) in test1() 43 switch(__builtin_expect(x, 5)) { in test2()
|
/external/e2fsprogs/intl/ |
D | bindtextdom.c | 156 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()
|
D | loadmsgcat.c | 947 __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()
|
D | loadinfo.h | 42 # define __builtin_expect(expr, val) (expr) macro
|
/external/elfutils/lib/ |
D | eu-config.h | 96 __builtin_expect (_e, E); \ 111 __builtin_expect (_e, E); \ 121 # define unlikely(expr) __builtin_expect (!!(expr), 0) 122 # define likely(expr) __builtin_expect (!!(expr), 1)
|
/external/llvm/docs/ |
D | BranchWeightMetadata.rst | 18 `__builtin_expect`_ instruction. 72 .. _\__builtin_expect: 77 ``__builtin_expect(long exp, long c)`` instruction provides branch prediction 92 if (__builtin_expect(x > 0, 1)) { 105 switch (__builtin_expect(x, 5)) {
|
/external/e2fsprogs/lib/ext2fs/ |
D | crc32c_defs.h | 46 #define likely(x) __builtin_expect(!!(x), 1) 47 #define unlikely(x) __builtin_expect(!!(x), 0)
|
/external/mesa3d/src/mapi/mapi/ |
D | u_compiler.h | 43 # define likely(x) __builtin_expect(!!(x), 1) 44 # define unlikely(x) __builtin_expect(!!(x), 0)
|
/external/libunwind/include/ |
D | compiler.h | 51 # define likely(x) __builtin_expect ((x), 1) 52 # define unlikely(x) __builtin_expect ((x), 0)
|
/external/e2fsprogs/e2fsck/ |
D | crc32defs.h | 59 #define likely(x) __builtin_expect(!!(x), 1) 60 #define unlikely(x) __builtin_expect(!!(x), 0)
|
/external/clang/test/Analysis/ |
D | weak-functions.c | 96 …do { if (__builtin_expect(*(&pred), ~0l) != ~0l) dispatch_once((&pred), (^() {})); } while (0); //… in test_dispatch_once() 100 …do { if (__builtin_expect(*(&pred), ~0l) != ~0l) dispatch_once((&pred), (^() {})); } while (0); //… in test_dispatch_once_neg()
|
D | unix-fns.c | 62 …do { if (__builtin_expect(*(&pred), ~0l) != ~0l) dispatch_once((&pred), (^() {})); } while (0); //… in test_dispatch_once() 66 …do { if (__builtin_expect(*(&pred), ~0l) != ~0l) dispatch_once((&pred), (^() {})); } while (0); //… in test_dispatch_once_neg()
|
/external/valgrind/VEX/priv/ |
D | main_util.h | 46 #define LIKELY(x) __builtin_expect(!!(x), 1) 47 #define UNLIKELY(x) __builtin_expect(!!(x), 0)
|
/external/mesa3d/src/mesa/main/ |
D | compiler.h | 178 # define __builtin_expect(x, y) (x) macro 183 # define likely(x) __builtin_expect(!!(x), 1) 184 # define unlikely(x) __builtin_expect(!!(x), 0)
|
/external/v8/include/ |
D | v8config.h | 224 # define V8_HAS_BUILTIN_EXPECT (__has_builtin(__builtin_expect)) 367 # define V8_UNLIKELY(condition) (__builtin_expect(!!(condition), 0)) 368 # define V8_LIKELY(condition) (__builtin_expect(!!(condition), 1))
|
/external/llvm/include/llvm/Support/ |
D | Compiler.h | 169 #if __has_builtin(__builtin_expect) || LLVM_GNUC_PREREQ(4, 0, 0) 170 #define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true) 171 #define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
|
/external/clang/lib/Headers/ |
D | htmxlintrin.h | 58 if (__builtin_expect (__builtin_tbegin (0), 1)) in __TM_simple_begin() 68 if (__builtin_expect (__builtin_tbegin (0), 1)) in __TM_begin() 84 if (__builtin_expect (__builtin_tend (0), 1)) in __TM_end()
|
/external/mesa3d/src/gallium/include/pipe/ |
D | p_compiler.h | 306 # define likely(x) __builtin_expect(!!(x), 1) 307 # define unlikely(x) __builtin_expect(!!(x), 0)
|
/external/google-benchmark/include/benchmark/ |
D | macros.h | 43 # define BENCHMARK_BUILTIN_EXPECT(x, y) __builtin_expect(x, y)
|
/external/iproute2/include/ |
D | bpf_api.h | 36 # define likely(X) __builtin_expect(!!(X), 1) 40 # define unlikely(X) __builtin_expect(!!(X), 0)
|
/external/mesa3d/src/glx/ |
D | indirect_vertex_program.c | 34 # define __builtin_expect(x, y) x macro 72 if (__builtin_expect(dpy != NULL, 1)) { in get_parameter()
|
D | pixelstore.c | 35 # define __builtin_expect(x, y) x macro 54 if (__builtin_expect(dpy != NULL, 1)) { in send_PixelStore()
|
/external/jemalloc/include/jemalloc/internal/ |
D | util.h | 70 # define likely(x) __builtin_expect(!!(x), 1) 71 # define unlikely(x) __builtin_expect(!!(x), 0)
|
/external/fio/compiler/ |
D | compiler.h | 23 #define fio_unlikely(x) __builtin_expect(!!(x), 0)
|
/external/elfutils/src/ |
D | ldscript.y | 614 if (__builtin_expect (*str == '*', 0) in special_char_p() 615 || __builtin_expect (*str == '?', 0) in special_char_p() 616 || __builtin_expect (*str == '[', 0)) in special_char_p() 634 else if (__builtin_expect (special_char_p (str), false)) in new_id_listelem()
|