/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()
|
/external/bcc/examples/usdt_sample/usdt_sample_lib1/include/usdt_sample_lib1/ |
D | lib1_sdt.h | 17 #define USDT_SAMPLE_LIB1_OPERATION_START_ENABLED() __builtin_expect (operation_start_semaphore, 0) 20 #define USDT_SAMPLE_LIB1_OPERATION_START_ENABLED() __builtin_expect (usdt_sample_lib1_operation_sta… 28 #define USDT_SAMPLE_LIB1_OPERATION_END_ENABLED() __builtin_expect (operation_end_semaphore, 0) 31 #define USDT_SAMPLE_LIB1_OPERATION_END_ENABLED() __builtin_expect (usdt_sample_lib1_operation_end_s…
|
/external/tensorflow/tensorflow/core/platform/ |
D | macros.h | 86 (TF_HAS_BUILTIN(__builtin_expect) || (defined(__GNUC__) && __GNUC__ >= 3)) 87 #define TF_PREDICT_FALSE(x) (__builtin_expect(x, 0)) 88 #define TF_PREDICT_TRUE(x) (__builtin_expect(!!(x), 1))
|
/external/arm-optimized-routines/math/single/ |
D | e_powf.c | 24 if (__builtin_expect((ix - 0x00800000) >= (0x7f800000 - 0x00800000) || in powf() 69 …if (__builtin_expect(((iy << 1) + 0x02000000) >= 0x40000000, 1)) { /* normalised and sensible y … in powf() 72 …if (__builtin_expect((ix - 0x80800000) < (0xff800000 - 0x80800000), 1)) { /* normal but negative… in powf() 122 … } else if (__builtin_expect((ix << 1) != 0 && (ix << 1) < 0x01000000, 0)) { /* denormal x */ in powf() 367 if (__builtin_expect((ix - 0x3f7ff000) <= (0x3f801000 - 0x3f7ff000), 0)) { in powf()
|
D | rredf.h | 79 if (__builtin_expect((k & 0x7fffffff) < 0x46490e49, 1)) { in __mathlib_rredf() 126 if (__builtin_expect((k & 0x7fffffff) < 0x46490e49, 1)) in __mathlib_rredf()
|
D | e_expf.c | 26 if (__builtin_expect((ix << 1) - 0x67000000 > 0x85500000 - 0x67000000, 0)) { in expf() 99 if (__builtin_expect(edgecaseflag, 0)) { in expf()
|
/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/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/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/elfutils/lib/ |
D | eu-config.h | 108 __builtin_expect (_e, E); \ 123 __builtin_expect (_e, E); \ 133 # define unlikely(expr) __builtin_expect (!!(expr), 0) 134 # define likely(expr) __builtin_expect (!!(expr), 1)
|
/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/jemalloc_new/include/jemalloc/internal/ |
D | util.h | 32 # define likely(x) __builtin_expect(!!(x), 1) 33 # define unlikely(x) __builtin_expect(!!(x), 0)
|
/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/swiftshader/third_party/llvm-7.0/llvm/docs/ |
D | BranchWeightMetadata.rst | 18 `__builtin_expect`_ instruction. 86 .. _\__builtin_expect: 91 ``__builtin_expect(long exp, long c)`` instruction provides branch prediction 106 if (__builtin_expect(x > 0, 1)) { 119 switch (__builtin_expect(x, 5)) {
|
/external/libunwind/include/ |
D | compiler.h | 51 # define likely(x) __builtin_expect ((x), 1) 52 # 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)
|
D | simple_mtx.h | 82 if (__builtin_expect(c != 0, 0)) { in simple_mtx_lock() 98 if (__builtin_expect(c != 1, 0)) { in simple_mtx_unlock()
|
/external/libxkbcommon/xkbcommon/m4/ |
D | ax_gcc_builtin.m4 | 19 # __builtin_expect()). 42 # __builtin_expect 117 [__builtin_expect], [$1(0, 0)],
|
/external/mesa3d/m4/ |
D | ax_gcc_builtin.m4 | 19 # __builtin_expect()). 42 # __builtin_expect 117 [__builtin_expect], [$1(0, 0)],
|
/external/libaom/libaom/aom_dsp/ |
D | aom_dsp_common.h | 45 #define LIKELY(v) __builtin_expect(v, 1) 46 #define UNLIKELY(v) __builtin_expect(v, 0)
|
/external/linux-kselftest/tools/testing/selftests/rseq/ |
D | rseq.h | 49 #define rseq_likely(x) __builtin_expect(!!(x), 1) 50 #define rseq_unlikely(x) __builtin_expect(!!(x), 0)
|
/external/u-boot/include/linux/ |
D | compiler.h | 110 #define likely_notrace(x) __builtin_expect(!!(x), 1) 111 #define unlikely_notrace(x) __builtin_expect(!!(x), 0) 165 # define likely(x) __builtin_expect(!!(x), 1) 166 # define unlikely(x) __builtin_expect(!!(x), 0)
|
/external/perfetto/include/perfetto/base/ |
D | utils.h | 38 #define PERFETTO_LIKELY(_x) __builtin_expect(!!(_x), 1) 39 #define PERFETTO_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()
|