Home
last modified time | relevance | path

Searched refs:likely (Results 1 – 25 of 1522) sorted by relevance

12345678910>>...61

/external/llvm-project/clang/test/SemaCXX/
Dattr-likelihood.cpp7 [[likely]] {} // expected-warning {{use of the 'likely' attribute is a C++20 extension}} in g()
14 [[likely]]; // expected-warning {{conflicting attributes 'likely' are ignored}} in a()
16 [[likely]]; // expected-note {{conflicting attribute is here}} in a()
28 [[likely]]; in c()
38 [[likely]] {} in g()
45 [[likely]] {} in h()
60 [[likely]] {} in j()
66 [[likely]] {} in k()
71 [[likely]] {} in l()
73 [[unlikely]] if (false) [[likely]] {} in l()
[all …]
/external/llvm-project/clang/test/CodeGenCXX/
Dattr-likelihood-switch-branch-weights.cpp10 [[likely]] case 1: break; in OneCaseL()
28 [[likely]] case 1: break; in TwoCasesLN()
48 [[likely]] case 1: break; in TwoCasesLU()
60 [[likely]] case 3: in CasesFallthroughNNLN()
84 [[likely]] case 103: in CasesFallthroughRangeSmallLN()
108 [[likely]] case 0 ... 64: in CasesFallthroughRangeLargeLLN()
109 [[likely]] case 1003: in CasesFallthroughRangeLargeLLN()
133 [[likely]] default: break; in OneCaseDefaultL()
152 [[likely]] case 1: break; in TwoCasesDefaultLNL()
154 [[likely]] default: break; in TwoCasesDefaultLNL()
[all …]
Dattr-likelihood-iteration-stmt.cpp7 while(e) [[likely]] ++e; in wl()
21 while(1) [[likely]] ++e; in w_branch_elided()
28 for(int i = 0; i != e; ++e) [[likely]]; in fl()
42 for(;;) [[likely]]; in f_branch_elided()
49 for(int i : e) [[likely]];
Dattr-likelihood-if-vs-builtin-expect.cpp27 if (a() && b() && c()) [[likely]] { in al()
77 if (a() || b() || c()) [[likely]] { in ol()
121 if (bool d = !a()) [[likely]] { in nl()
167 if (bool d = a() ? b() : c()) [[likely]] { in tl()
179 if (a() ? b() : c()) [[likely]] { in tl2()
/external/harfbuzz_ng/src/
Dhb-ot-layout-base-table.hh49 return_trace (likely (c->check_struct (this))); in sanitize()
99 return_trace (likely (c->check_struct (this) && in sanitize()
161 if (likely (min)) *min = &(this+minCoord); in get_min_max()
162 if (likely (max)) *max = &(this+maxCoord); in get_min_max()
168 return_trace (likely (c->check_struct (this) && in sanitize()
200 if (likely (min)) *min = &(this+minCoord); in get_min_max()
201 if (likely (max)) *max = &(this+maxCoord); in get_min_max()
208 return_trace (likely (c->check_struct (this) && in sanitize()
242 return_trace (likely (c->check_struct (this) && in sanitize()
272 return_trace (likely (c->check_struct (this) && in sanitize()
[all …]
Dhb-aat-layout-just-table.hh51 return_trace (likely (c->check_struct (this))); in sanitize()
68 return_trace (likely (c->check_struct (this))); in sanitize()
115 return_trace (likely (c->check_struct (this))); in sanitize()
140 return_trace (likely (c->check_struct (this))); in sanitize()
166 return_trace (likely (c->check_struct (this))); in sanitize()
297 return_trace (likely (c->check_struct (this))); in sanitize()
334 return_trace (likely (c->check_struct (this) && in sanitize()
353 return_trace (likely (c->check_struct (this) && in sanitize()
391 return_trace (likely (c->check_struct (this) && in sanitize()
Dhb-utf.hh56 if (likely (text < end && in next()
68 if (likely (1 < end - text && in next()
83 if (likely (2 < end - text && in next()
118 if (likely (next (text, end, unicode, replacement) == end)) in prev()
194 if (likely (!hb_in_range<hb_codepoint_t> (c, 0xD800u, 0xDFFFu))) in next()
200 if (likely (c <= 0xDBFFu && text < end)) in next()
204 if (likely (hb_in_range<hb_codepoint_t> (l, 0xDC00u, 0xDFFFu))) in next()
226 if (likely (!hb_in_range<hb_codepoint_t> (c, 0xD800u, 0xDFFFu))) in prev()
232 if (likely (c >= 0xDC00u && start < text)) in prev()
236 if (likely (hb_in_range<hb_codepoint_t> (h, 0xD800u, 0xDBFFu))) in prev()
Dhb-ot-stat-table.hh67 return_trace (likely (c->check_struct (this))); in sanitize()
92 return_trace (likely (c->check_struct (this))); in sanitize()
121 return_trace (likely (c->check_struct (this))); in sanitize()
146 return_trace (likely (c->check_struct (this))); in sanitize()
165 return_trace (likely (c->check_struct (this))); in sanitize()
234 return_trace (likely (c->check_struct (this))); in sanitize()
291 return_trace (likely (c->check_struct (this) && in sanitize()
Dhb-aat-layout-bsln-table.hh45 return_trace (likely (c->check_struct (this))); in sanitize()
63 return_trace (likely (c->check_struct (this) && in sanitize()
81 return_trace (likely (c->check_struct (this))); in sanitize()
/external/llvm-project/clang/test/Sema/
Dattr-likelihood.c5 [[clang::likely]] {} in g()
8 …[[clang::likely]] int x = 42; // expected-error {{'likely' attribute cannot be applied to a declar… in m()
17 [[clang::likely]] {} in m()
19 [[clang::likely]] case 2 : case 3 : {} in m()
48 [[clang::likely]] x = x + 1; in m()
50 [[clang::likely]]++ x; in m()
/external/elfutils/libdw/
Dcfi.c51 if (likely (copy != NULL)) in duplicate_frame_state()
114 if (likely (ok)) break; \ in execute_cfi()
161 if (likely (!read_encoded_value (cache, cie->fde_encoding, in execute_cfi()
308 if (unlikely (abi_cfi) && likely (opcode == DW_CFA_restore)) in execute_cfi()
431 if (likely (result == DWARF_E_NOERROR)) in execute_cfi()
444 if (likely (cie->initial_state != NULL)) in cie_cache_initial_state()
463 if (likely (cache->ebl != (void *) -1l) in cie_cache_initial_state()
490 && likely (result == DWARF_E_NOERROR)) in cie_cache_initial_state()
496 if (likely (result == DWARF_E_NOERROR)) in cie_cache_initial_state()
513 if (likely (result == DWARF_E_NOERROR)) in __libdw_frame_at_address()
[all …]
/external/igt-gpu-tools/assembler/
Dbrw_compat.h44 #ifndef likely
46 # define likely(x) __builtin_expect(!!(x), 1) macro
49 # define likely(x) (x)
/external/cldr/tools/java/org/unicode/cldr/tool/
DGenerateAliases.java60 Map<String, String> likely = new TreeMap<>(); in Builder() local
64 likely.put(max, getDefaultContents(max)); in Builder()
67 addToLikely(likely); in Builder()
70 addToLikely(likely); in Builder()
72 addToLikely(likely); in Builder()
75 for (Entry<String, String> small2large : likely.entrySet()) { in Builder()
105 private void addToLikely(Map<String, String> likely) { in addToLikely() argument
112 likely.put(partial, target); in addToLikely()
/external/clang/test/SemaObjC/
Dwarn-retain-cycle.m12 …^{ [x actNow]; }]; // expected-warning {{capturing 'x' strongly in this block is likely to lead to…
14 …^{ [x actNow]; }; // expected-warning {{capturing 'x' strongly in this block is likely to lead to …
17 …^{ [x actNow]; }]; // expected-warning {{capturing 'x' strongly in this block is likely to lead to…
31 …ctNow; }; // expected-warning {{capturing 'x' strongly in this block is likely to lead to a retai…
74 …ner; }; // expected-warning {{capturing 'self' strongly in this block is likely to lead to a retai…
94 …test2_helper(x); // expected-warning {{capturing 'self' strongly in this block is likely to lead t…
126 …doSomething(count); // expected-warning {{capturing 'self' strongly in this block is likely to lea…
149 …b1(); // expected-warning{{capturing 'b1' strongly in this block is likely to lead to a retain cyc…
154 …b2(); // expected-warning{{capturing 'b2' strongly in this block is likely to lead to a retain cyc…
170 …[obj actNow]; // expected-warning{{capturing 'obj' strongly in this block is likely to lead to a r…
[all …]
/external/llvm-project/clang/test/SemaObjC/
Dwarn-retain-cycle.m12 …^{ [x actNow]; }]; // expected-warning {{capturing 'x' strongly in this block is likely to lead to…
14 …^{ [x actNow]; }; // expected-warning {{capturing 'x' strongly in this block is likely to lead to …
17 …^{ [x actNow]; }]; // expected-warning {{capturing 'x' strongly in this block is likely to lead to…
31 …ctNow; }; // expected-warning {{capturing 'x' strongly in this block is likely to lead to a retai…
74 …ner; }; // expected-warning {{capturing 'self' strongly in this block is likely to lead to a retai…
94 …test2_helper(x); // expected-warning {{capturing 'self' strongly in this block is likely to lead t…
126 …doSomething(count); // expected-warning {{capturing 'self' strongly in this block is likely to lea…
149 …b1(); // expected-warning{{capturing 'b1' strongly in this block is likely to lead to a retain cyc…
154 …b2(); // expected-warning{{capturing 'b2' strongly in this block is likely to lead to a retain cyc…
170 …[obj actNow]; // expected-warning{{capturing 'obj' strongly in this block is likely to lead to a r…
[all …]
/external/llvm-project/llvm/test/CodeGen/PowerPC/
Dtail-dup-break-cfg.ll33 br i1 %tagbit1eq0, label %test2, label %body1, !prof !1 ; %test2 more likely
43 br i1 %tagbit2eq0, label %exit, label %body2, !prof !1 ; %exit more likely
72 br i1 %tagbit1eq0, label %test2, label %body1, !prof !1 ; %test2 more likely
82 br i1 %tagbit2eq0, label %body2, label %exit, !prof !3 ; %body2 more likely
116 br i1 %tagbit1eq0, label %v, label %bb, !prof !2 ; %v very much more likely
120 br i1 %tagbit2eq0, label %succ, label %c, !prof !3 ; %succ more likely
128 br i1 %tagbit3eq0, label %ret, label %v, !prof !1 ; %u more likely
/external/zstd/contrib/pzstd/utils/
DBUCK18 name='likely',
29 deps=[':likely'],
68 ':likely',
/external/cldr/tools/java/org/unicode/cldr/util/
DLanguageTagCanonicalizer.java24 private final LikelySubtags likely; field in LanguageTagCanonicalizer
41 case region: likely = LIKELY_FAVOR_REGION; break; in LanguageTagCanonicalizer()
42 case script: likely = LIKELY_FAVOR_SCRIPT; break; in LanguageTagCanonicalizer()
43 default: likely = null; in LanguageTagCanonicalizer()
83 if (likely == null) { in transform()
87 String likelyMin = likely.minimize(result, oo); in transform()
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DLikelySubtagsTest.java35 static final Map<String, String> likely = SUPPLEMENTAL_DATA_INFO field in LikelySubtagsTest
61 for (Entry<String, String> entry : likely.entrySet()) { in Tags()
251 for (Entry<String, String> entry : likely.entrySet()) { in TestStability()
321 String likelyExpansion = likely.get(language); in TestMissingInfoForLanguage()
325 logln("Likely subtags for " + language + ":\t " + likely); in TestMissingInfoForLanguage()
340 String likelyExpansion = likely.get("und_" + region); in TestMissingInfoForRegion()
346 likely); in TestMissingInfoForRegion()
358 logln("Likely subtags for region: " + region + ":\t " + likely); in TestMissingInfoForRegion()
386 String likelyExpansion = likely.get(undScript); in TestMissingInfoForScript()
/external/virglrenderer/src/gallium/include/pipe/
Dp_compiler.h222 #ifndef likely
224 # define likely(x) __builtin_expect(!!(x), 1) macro
227 # define likely(x) (x) macro
/external/elfutils/libelf/
Delf_strptr.c186 if (likely (validate_str (strscn->zdata_base, offset, sh_size))) in elf_strptr()
191 else if (likely (strscn->data_list_rear == NULL)) in elf_strptr()
204 if (likely (validate_str (strscn->rawdata_base, offset, sh_size))) in elf_strptr()
221 if (likely (validate_str ((char *) dl->data.d.d_buf, in elf_strptr()
Delf_flagscn.c54 if (likely (cmd == ELF_C_SET)) in elf_flagscn()
56 else if (likely (cmd == ELF_C_CLR)) in elf_flagscn()
Delf_flagshdr.c54 if (likely (cmd == ELF_C_SET)) in elf_flagshdr()
56 else if (likely (cmd == ELF_C_CLR)) in elf_flagshdr()
/external/jemalloc_new/include/jemalloc/internal/
Darena_inlines_b.h92 if (likely(tcache != NULL)) { in arena_malloc()
93 if (likely(size <= SMALL_MAXCLASS)) { in arena_malloc()
97 if (likely(size <= tcache_maxclass)) { in arena_malloc()
180 if (likely(slab)) { in arena_dalloc_no_tcache()
222 if (likely(slab)) { in arena_dalloc()
277 if (likely(slab)) { in arena_sdalloc_no_tcache()
334 if (likely(slab)) { in arena_sdalloc()
/external/llvm/docs/
DBranchWeightMetadata.rst87 comparison value. If it is equal to 1 (true), the condition is likely to be
88 true, in other case condition is likely to be false. For example:
93 // This block is likely to be taken.
101 case is assumed to be likely taken.
109 case 5: // This case is likely to be taken.

12345678910>>...61