Searched refs:__builtin_expect (Results 1 - 25 of 58) sorted by relevance

123

/external/clang/test/CodeGen/
H A Dbuiltin-expect.c12 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/lib/ext2fs/
H A Dcrc32c_defs.h46 #define likely(x) __builtin_expect(!!(x), 1)
47 #define unlikely(x) __builtin_expect(!!(x), 0)
/external/mesa3d/src/mapi/mapi/
H A Du_compiler.h43 # define likely(x) __builtin_expect(!!(x), 1)
44 # define unlikely(x) __builtin_expect(!!(x), 0)
/external/libunwind/include/
H A Dcompiler.h51 # define likely(x) __builtin_expect ((x), 1)
52 # define unlikely(x) __builtin_expect ((x), 0)
/external/google-benchmark/include/benchmark/
H A Dmacros.h43 # define BENCHMARK_BUILTIN_EXPECT(x, y) __builtin_expect(x, y)
/external/e2fsprogs/intl/
H A Dbindtextdom.c156 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))
H A Dloadinfo.h42 # define __builtin_expect(expr, val) (expr) macro
H A DgettextP.h50 # define __builtin_expect(expr, val) (expr) macro
/external/e2fsprogs/e2fsck/
H A Dcrc32defs.h59 #define likely(x) __builtin_expect(!!(x), 1)
60 #define unlikely(x) __builtin_expect(!!(x), 0)
/external/elfutils/lib/
H A Deu-config.h96 __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/
H A Dcompiler.h23 #define fio_unlikely(x) __builtin_expect(!!(x), 0)
/external/clang/test/Analysis/
H A Dweak-functions.c96 do { if (__builtin_expect(*(&pred), ~0l) != ~0l) dispatch_once((&pred), (^() {})); } while (0); // expected-warning{{Call to 'dispatch_once' uses the local variable 'pred' for the predicate value}}
100 do { if (__builtin_expect(*(&pred), ~0l) != ~0l) dispatch_once((&pred), (^() {})); } while (0); // no-warning
H A Dunix-fns.c62 do { if (__builtin_expect(*(&pred), ~0l) != ~0l) dispatch_once((&pred), (^() {})); } while (0); // expected-warning{{Call to 'dispatch_once' uses the local variable 'pred' for the predicate value}}
66 do { if (__builtin_expect(*(&pred), ~0l) != ~0l) dispatch_once((&pred), (^() {})); } while (0); // no-warning
/external/valgrind/VEX/priv/
H A Dmain_util.h46 #define LIKELY(x) __builtin_expect(!!(x), 1)
47 #define UNLIKELY(x) __builtin_expect(!!(x), 0)
/external/mesa3d/src/gallium/include/pipe/
H A Dp_compiler.h306 # define likely(x) __builtin_expect(!!(x), 1)
307 # define unlikely(x) __builtin_expect(!!(x), 0)
/external/clang/test/Sema/
H A Dconst-eval.c78 EVAL_EXPR(38, __builtin_expect(1,1) == 1 ? 1 : -1)
H A Dwarn-unsequenced.c92 (__builtin_expect(++a, 0) ? 1 : 0) + ++a; // expected-warning {{multiple unsequenced modifications}}
/external/libchrome/base/
H A Dcompiler_specific.h184 #define UNLIKELY(x) __builtin_expect(!!(x), 0)
/external/libweave/third_party/chromium/base/
H A Dcompiler_specific.h184 #define UNLIKELY(x) __builtin_expect(!!(x), 0)
/external/clang/lib/Headers/
H A Dhtmxlintrin.h58 if (__builtin_expect (__builtin_tbegin (0), 1))
68 if (__builtin_expect (__builtin_tbegin (0), 1))
84 if (__builtin_expect (__builtin_tend (0), 1))
/external/llvm/include/llvm/Support/
H A DCompiler.h169 #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/mesa3d/src/mesa/main/
H A Dcompiler.h175 * __builtin_expect macros
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/
H A Dv8config.h183 // V8_HAS_BUILTIN_EXPECT - __builtin_expect() supported
224 # define V8_HAS_BUILTIN_EXPECT (__has_builtin(__builtin_expect))
361 # define V8_UNLIKELY(condition) (__builtin_expect(!!(condition), 0))
362 # define V8_LIKELY(condition) (__builtin_expect(!!(condition), 1))
/external/v8/third_party/llvm-build/Release+Asserts/lib/clang/3.9.0/include/
H A Dhtmxlintrin.h58 if (__builtin_expect (__builtin_tbegin (0), 1))
68 if (__builtin_expect (__builtin_tbegin (0), 1))
84 if (__builtin_expect (__builtin_tend (0), 1))
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_internal_defs.h148 # define LIKELY(x) __builtin_expect(!!(x), 1)
149 # define UNLIKELY(x) __builtin_expect(!!(x), 0)

Completed in 5861 milliseconds

123