/external/clang/test/CodeGen/ |
D | builtin-expect.c | 12 if (__builtin_expect (x, 1)) in expect_taken() 23 if (__builtin_expect (x, 0)) in expect_not_taken() 40 if (__builtin_expect (x, y())) in expect_value_side_effects() 58 (void) __builtin_expect((isigprocmask(), 0), bar()); in main() 67 switch(__builtin_expect(x, 5)) { in switch_cond()
|
/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()
|
/external/brotli/include/brotli/ |
D | port.h | 63 #if BROTLI_MODERN_COMPILER || __has_builtin(__builtin_expect) 64 #define BROTLI_PREDICT_TRUE(x) (__builtin_expect(!!(x), 1)) 65 #define BROTLI_PREDICT_FALSE(x) (__builtin_expect(x, 0))
|
/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/python/cpython2/Modules/_ctypes/libffi/include/ |
D | ffi_common.h | 123 #define __builtin_expect(x, expected_value) (x) macro 125 #define LIKELY(x) __builtin_expect(!!(x),1) 126 #define UNLIKELY(x) __builtin_expect((x)!=0,0)
|
/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 | 54 #define likely(x) __builtin_expect(!!(x), 1) 55 #define unlikely(x) __builtin_expect(!!(x), 0)
|
/external/skia/src/jumper/ |
D | SkJumper_vectors.h | 112 if (__builtin_expect(tail,0)) { in load3() 125 if (__builtin_expect(tail,0)) { in load4() 138 if (__builtin_expect(tail,0)) { in store4() 148 if (__builtin_expect(tail,0)) { in load4() 161 if (__builtin_expect(tail,0)) { in store4() 217 if (__builtin_expect(tail, 0)) { in load3() 231 if (__builtin_expect(tail, 0)) { in load4() 252 if (__builtin_expect(tail == 0, true)) { in store4() 259 if (__builtin_expect(tail, 0)) { in load4() 270 if (__builtin_expect(tail, 0)) { in store4() [all …]
|
/external/libnetfilter_conntrack/include/internal/ |
D | internal.h | 72 #define likely(x) __builtin_expect((x),1) 73 #define unlikely(x) __builtin_expect((x),0)
|
/external/mesa3d/src/util/ |
D | macros.h | 45 # define __builtin_expect(x, y) (x) macro 50 # define likely(x) __builtin_expect(!!(x), 1) 51 # 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/syslinux/com32/include/klibc/ |
D | compiler.h | 97 # define __likely(x) __builtin_expect(!!(x), 1) 98 # define __unlikely(x) __builtin_expect(!!(x), 0)
|
/external/mesa3d/m4/ |
D | ax_gcc_builtin.m4 | 19 # __builtin_expect()). 42 # __builtin_expect 117 [__builtin_expect], [$1(0, 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 | 51 # define LIKELY(x) __builtin_expect(!!(x), 1) 52 # define UNLIKELY(x) __builtin_expect(!!(x), 0)
|
/external/v8/include/ |
D | v8config.h | 220 # define V8_HAS_BUILTIN_EXPECT (__has_builtin(__builtin_expect)) 357 # define V8_UNLIKELY(condition) (__builtin_expect(!!(condition), 0)) 358 # define V8_LIKELY(condition) (__builtin_expect(!!(condition), 1))
|
/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/llvm/include/llvm/Support/ |
D | Compiler.h | 175 #if __has_builtin(__builtin_expect) || LLVM_GNUC_PREREQ(4, 0, 0) 176 #define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true) 177 #define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | Compiler.h | 177 #if __has_builtin(__builtin_expect) || LLVM_GNUC_PREREQ(4, 0, 0) 178 #define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true) 179 #define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
|
/external/libopus/silk/ |
D | macros.h | 40 #define opus_likely(x) (__builtin_expect(!!(x), 1)) 41 #define opus_unlikely(x) (__builtin_expect(!!(x), 0))
|
/external/Microsoft-GSL/gsl/ |
D | gsl_assert | 42 #define GSL_LIKELY(x) __builtin_expect (!!(x), 1) 43 #define GSL_UNLIKELY(x) __builtin_expect (!!(x), 0)
|
/external/iproute2/include/ |
D | bpf_api.h | 36 # define likely(X) __builtin_expect(!!(X), 1) 40 # define unlikely(X) __builtin_expect(!!(X), 0)
|
/external/jemalloc/include/jemalloc/internal/ |
D | util.h | 69 # define likely(x) __builtin_expect(!!(x), 1) 70 # define unlikely(x) __builtin_expect(!!(x), 0)
|