/system/core/include/cutils/ |
compiler.h | 25 # define CC_LIKELY( exp ) (__builtin_expect( !!(exp), true )) 26 # define CC_UNLIKELY( exp ) (__builtin_expect( !!(exp), false )) 28 # define CC_LIKELY( exp ) (__builtin_expect( !!(exp), 1 )) 29 # define CC_UNLIKELY( exp ) (__builtin_expect( !!(exp), 0 ))
|
/external/mesa3d/src/mapi/mapi/ |
u_compiler.h | 43 # define likely(x) __builtin_expect(!!(x), 1) 44 # define unlikely(x) __builtin_expect(!!(x), 0)
|
/external/clang/test/CodeGen/ |
builtin-expect.c | 12 if (__builtin_expect (x, y())) 21 (void) __builtin_expect((isigprocmask(), 0), bar()); 35 if (__builtin_expect (x, 1)) 43 switch(__builtin_expect(x, 5)) {
|
/external/e2fsprogs/intl/ |
bindtextdom.c | 156 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)) 227 if (__builtin_expect (new_binding == NULL, 0)) 248 if (__builtin_expect (result == NULL, 0)) 253 if (__builtin_expect (result == NULL, 0)) 279 if (__builtin_expect (result == NULL, 0)) 284 if (__builtin_expect (result == NULL, 0))
|
/external/clang/test/Sema/ |
constant-builtins.c | 19 //int h2 = __builtin_expect(0, 0);
|
/development/tools/yuv420sp2rgb/ |
debug.h | 7 #define unlikely(expr) __builtin_expect (expr, 0) 8 #define likely(expr) __builtin_expect (expr, 1)
|
/external/e2fsprogs/lib/ext2fs/ |
crc32c_defs.h | 46 #define likely(x) __builtin_expect(!!(x), 1) 47 #define unlikely(x) __builtin_expect(!!(x), 0)
|
/toolchain/binutils/binutils-2.25/intl/ |
bindtextdom.c | 163 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))
|
/external/llvm/docs/ |
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/e2fsck/ |
crc32defs.h | 59 #define likely(x) __builtin_expect(!!(x), 1) 60 #define unlikely(x) __builtin_expect(!!(x), 0)
|
/external/libunwind/include/ |
compiler.h | 51 # define likely(x) __builtin_expect ((x), 1) 52 # define unlikely(x) __builtin_expect ((x), 0)
|
/hardware/qcom/display/msm8960/libhwcomposer/ |
hwc_fbupdate.h | 25 #define LIKELY( exp ) (__builtin_expect( (exp) != 0, true )) 26 #define UNLIKELY( exp ) (__builtin_expect( (exp) != 0, false ))
|
/toolchain/binutils/binutils-2.25/libiberty/ |
memmem.c | 39 # define __builtin_expect(expr, val) (expr) macro 60 if (__builtin_expect (haystack_len < needle_len, 0))
|
/external/elfutils/lib/ |
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/fio/compiler/ |
compiler.h | 23 #define fio_unlikely(x) __builtin_expect(!!(x), 0)
|
/external/google-benchmark/include/benchmark/ |
macros.h | 43 # define BENCHMARK_BUILTIN_EXPECT(x, y) __builtin_expect(x, y)
|
/device/google/contexthub/firmware/inc/ |
toolchain.h | 82 #define LIKELY(x) (__builtin_expect(x, 1)) 83 #define UNLIKELY(x) (__builtin_expect(x, 0))
|
/hardware/qcom/display/msm8084/libhwcomposer/ |
hwc_fbupdate.h | 25 #define LIKELY( exp ) (__builtin_expect( (exp) != 0, true )) 26 #define UNLIKELY( exp ) (__builtin_expect( (exp) != 0, false ))
|
/hardware/qcom/display/msm8226/libhwcomposer/ |
hwc_fbupdate.h | 25 #define LIKELY( exp ) (__builtin_expect( (exp) != 0, true )) 26 #define UNLIKELY( exp ) (__builtin_expect( (exp) != 0, false ))
|
/hardware/qcom/display/msm8909/libhwcomposer/ |
hwc_fbupdate.h | 25 #define LIKELY( exp ) (__builtin_expect( (exp) != 0, true )) 26 #define UNLIKELY( exp ) (__builtin_expect( (exp) != 0, false ))
|
/hardware/qcom/display/msm8994/libhwcomposer/ |
hwc_fbupdate.h | 25 #define LIKELY( exp ) (__builtin_expect( (exp) != 0, true )) 26 #define UNLIKELY( exp ) (__builtin_expect( (exp) != 0, false ))
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/X11/ |
Xfuncproto.h | 102 # define _X_LIKELY(x) __builtin_expect(!!(x), 1) 103 # define _X_UNLIKELY(x) __builtin_expect(!!(x), 0)
|
/system/extras/libfec/ |
fec_private.h | 136 #define unlikely(x) __builtin_expect(!!(x), 0) 137 #define likely(x) __builtin_expect(!!(x), 1)
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/bits/ |
basic_ios.tcc | 159 if (__builtin_expect(has_facet<__ctype_type>(__loc), true)) 164 if (__builtin_expect(has_facet<__num_put_type>(__loc), true)) 169 if (__builtin_expect(has_facet<__num_get_type>(__loc), true))
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/bits/ |
basic_ios.tcc | 159 if (__builtin_expect(has_facet<__ctype_type>(__loc), true)) 164 if (__builtin_expect(has_facet<__num_put_type>(__loc), true)) 169 if (__builtin_expect(has_facet<__num_get_type>(__loc), true))
|