Home
last modified time | relevance | path

Searched refs:clause (Results 1 – 25 of 412) sorted by relevance

12345678910>>...17

/external/llvm-project/flang/docs/
DOpenMP-4.5-grammar.md7 2 omp-directive -> sentinel directive-name [clause[ [,] clause]...]
14 2.5 parallel -> PARALLEL [parallel-clause[ [,] parallel-clause]...]
15 parallel-clause -> if-clause |
16 num-threads-clause |
17 default-clause |
18 private-clause |
19 firstprivate-clause |
20 shared-clause |
21 copyin-clause |
22 reduction-clause |
[all …]
/external/mesa3d/src/panfrost/bifrost/
Dbi_pack.c39 bi_pack_header(bi_clause *clause, bi_clause *next_1, bi_clause *next_2, bool tdd) in bi_pack_header() argument
50 clause->flow_control, in bi_pack_header()
52 .next_clause_prefetch = clause->next_clause_prefetch, in bi_pack_header()
53 .staging_barrier = clause->staging_barrier, in bi_pack_header()
54 .staging_register = clause->staging_register, in bi_pack_header()
56 .dependency_slot = clause->scoreboard_id, in bi_pack_header()
57 .message_type = clause->message_type, in bi_pack_header()
75 bi_lookup_constant(bi_clause *clause, uint32_t cons, bool *hi) in bi_lookup_constant() argument
77 for (unsigned i = 0; i < clause->constant_count; ++i) { in bi_lookup_constant()
79 uint64_t top = clause->constants[i]; in bi_lookup_constant()
[all …]
Dbi_layout.c45 bi_can_insert_bundle(bi_clause *clause, bool constant) in bi_can_insert_bundle() argument
47 unsigned constant_count = clause->constant_count + (constant ? 1 : 0); in bi_can_insert_bundle()
48 unsigned bundle_count = clause->bundle_count + 1; in bi_can_insert_bundle()
80 bi_clause_quadwords(bi_clause *clause) in bi_clause_quadwords() argument
82 unsigned X = clause->bundle_count; in bi_clause_quadwords()
85 unsigned constants = clause->constant_count; in bi_clause_quadwords()
110 bi_foreach_clause_in_block_from(start->block, clause, start) { in bi_block_offset()
111 ret += bi_clause_quadwords(clause); in bi_block_offset()
128 bi_foreach_clause_in_block(blk, clause) { in bi_block_offset()
129 ret += bi_clause_quadwords(clause); in bi_block_offset()
[all …]
Dbi_ra.c240 bi_unwrap_singleton(bi_clause *clause) in bi_unwrap_singleton() argument
242 assert(clause->bundle_count == 1); in bi_unwrap_singleton()
243 assert((clause->bundles[0].fma != NULL) ^ (clause->bundles[0].add != NULL)); in bi_unwrap_singleton()
245 return clause->bundles[0].fma ? clause->bundles[0].fma in bi_unwrap_singleton()
246 : clause->bundles[0].add; in bi_unwrap_singleton()
260 bi_clause *clause = bi_make_singleton(memctx, uins, in bi_insert_singleton() local
264 list_addtail(&clause->link, &cursor->link); in bi_insert_singleton()
267 list_add(&clause->link, &cursor->link); in bi_insert_singleton()
304 bi_foreach_clause_in_block_safe(block, clause) { in bi_spill_register()
305 bi_instruction *ins = bi_unwrap_singleton(clause); in bi_spill_register()
[all …]
Dbi_pack_helpers.h32 bi_set_staging_register(bi_clause *clause, unsigned idx) in bi_set_staging_register() argument
37 clause->staging_register = reg; in bi_set_staging_register()
41 bi_read_staging_register(bi_clause *clause, bi_instruction *ins) in bi_read_staging_register() argument
43 bi_set_staging_register(clause, ins->src[0]); in bi_read_staging_register()
47 bi_write_staging_register(bi_clause *clause, bi_instruction *ins) in bi_write_staging_register() argument
49 bi_set_staging_register(clause, ins->dest); in bi_write_staging_register()
Dbi_print.c403 bi_print_clause(bi_clause *clause, FILE *fp) in bi_print_clause() argument
405 fprintf(fp, "\tid(%u)", clause->scoreboard_id); in bi_print_clause()
407 if (clause->dependencies) { in bi_print_clause()
411 if (clause->dependencies & (1 << i)) in bi_print_clause()
418 fprintf(fp, " %s", bi_flow_control_name(clause->flow_control)); in bi_print_clause()
420 if (!clause->next_clause_prefetch) in bi_print_clause()
423 if (clause->staging_barrier) in bi_print_clause()
428 for (unsigned i = 0; i < clause->bundle_count; ++i) in bi_print_clause()
429 bi_print_bundle(&clause->bundles[i], fp); in bi_print_clause()
431 if (clause->constant_count) { in bi_print_clause()
[all …]
/external/llvm-project/clang-tools-extra/docs/clang-tidy/checks/
Dopenmp-use-default-none.rst6 Finds OpenMP directives that are allowed to contain a ``default`` clause,
7 but either don't specify it or the clause is specified but with the kind
8 other than ``none``, and suggests to use the ``default(none)`` clause.
10 Using ``default(none)`` clause forces developers to explicitly specify data
21 // ``for`` directive can not have ``default`` clause, no diagnostics.
30 // ``parallel`` directive can have ``default`` clause, but said clause is not
36 // clause. Consider specifying ``default(none)`` clause.
39 // ``parallel`` directive can have ``default`` clause, and said clause is
46 // ``parallel`` directive can have ``default`` clause, and said clause is
52 // clause. Consider using ``default(none)`` clause instead.
[all …]
/external/llvm-project/flang/lib/Semantics/
Dcheck-directive-structure.h134 const PC *clause{nullptr};
145 void SetContextClause(const PC &clause) { in SetContextClause() argument
146 GetContext().clauseSource = clause.source; in SetContextClause()
147 GetContext().clause = &clause; in SetContextClause()
185 GetContext().clauseInfo.emplace(type, GetContext().clause); in SetContextClauseInfo()
233 void CheckOnlyAllowedAfter(C clause, common::EnumSet<C, ClauseEnumSize> set);
235 void CheckRequired(C clause);
239 void CheckAllowed(C clause);
244 C clause, common::EnumSet<C, ClauseEnumSize> set);
249 const C &clause, const parser::ScalarIntConstantExpr &i);
[all …]
/external/llvm-project/clang/include/clang/Basic/
DOpenMPKinds.def63 // Static attributes for 'schedule' clause.
70 // Modifiers for 'schedule' clause.
75 // Modifiers for 'device' clause.
79 // Static attributes for 'defaultmap' clause.
84 // Modifiers for 'defaultmap' clause.
93 // Static attributes for 'depend' clause.
102 // Modifiers for 'linear' clause.
107 // Modifiers for 'atomic_default_mem_order' clause.
112 // Map types for 'map' clause.
120 // Map-type-modifiers for 'map' clause.
[all …]
/external/llvm-project/llvm/include/llvm/Frontend/Directive/
DDirectiveBase.td56 // Name of the clause value.
59 // Integer value of the clause.
65 // Set clause value used by default when unknown.
69 // Information about a specific clause.
71 // Name of the clause.
77 // Optional class holding value of the clause in clang AST.
80 // Optional class holding the clause in flang AST. If left blank, the class
81 // is assumed to be the name of the clause with capitalized word and
87 // Optional class holding value of the clause in flang AST.
93 // Name of enum when there is a list of allowed clause values.
[all …]
/external/llvm-project/flang/lib/Lower/
DOpenACC.cpp147 for (const auto &clause : accClauseList.v) { in genACC() local
149 std::get_if<Fortran::parser::AccClause::Gang>(&clause.u)) { in genACC()
178 &clause.u)) { in genACC()
186 &clause.u)) { in genACC()
193 std::get_if<Fortran::parser::AccClause::Tile>(&clause.u)) { in genACC()
213 &clause.u)) { in genACC()
238 for (const auto &clause : accClauseList.v) { in genACC() local
240 std::get_if<Fortran::parser::AccClause::Collapse>(&clause.u)) { in genACC()
247 } else if (std::get_if<Fortran::parser::AccClause::Seq>(&clause.u)) { in genACC()
251 &clause.u)) { in genACC()
[all …]
DOpenMP.cpp148 for (const auto &clause : parallelOpClauseList.v) { in genOMP() local
150 std::get_if<Fortran::parser::OmpIfClause>(&clause.u)) { in genOMP()
156 &clause.u)) { in genOMP()
162 &clause.u)) { in genOMP()
167 &clause.u)) { in genOMP()
173 &clause.u)) { in genOMP()
178 &clause.u)) { in genOMP()
191 for (const auto &clause : parallelOpClauseList.v) { in genOMP() local
193 std::get_if<Fortran::parser::OmpDefaultClause>(&clause.u)) { in genOMP()
215 std::get_if<Fortran::parser::OmpProcBindClause>(&clause.u)) { in genOMP()
/external/mesa3d/prebuilt-intermediates/bifrost/
Dbi_generated_pack.h33 pan_pack_fma_rshift_and_i32(bi_clause *clause, bi_instruction *ins, bi_registers *regs) in pan_pack_fma_rshift_and_i32() argument
61 pan_pack_add_iadd_u32(bi_clause *clause, bi_instruction *ins, bi_registers *regs) in pan_pack_add_iadd_u32() argument
120 pan_pack_add_ld_var_flat(bi_clause *clause, bi_instruction *ins, bi_registers *regs) in pan_pack_add_ld_var_flat() argument
138 bi_write_staging_register(clause, ins); in pan_pack_add_ld_var_flat()
159 pan_pack_add_store_i24(bi_clause *clause, bi_instruction *ins, bi_registers *regs) in pan_pack_add_store_i24() argument
168 bi_read_staging_register(clause, ins); in pan_pack_add_store_i24()
173 pan_pack_fma_clz_u32(bi_clause *clause, bi_instruction *ins, bi_registers *regs) in pan_pack_fma_clz_u32() argument
184 pan_pack_fma_clz_v2u16(bi_clause *clause, bi_instruction *ins, bi_registers *regs) in pan_pack_fma_clz_v2u16() argument
205 pan_pack_fma_popcount_i32(bi_clause *clause, bi_instruction *ins, bi_registers *regs) in pan_pack_fma_popcount_i32() argument
214 pan_pack_add_fatan_table_f16(bi_clause *clause, bi_instruction *ins, bi_registers *regs) in pan_pack_add_fatan_table_f16() argument
[all …]
/external/llvm-project/mlir/test/Dialect/OpenMP/
Dinvalid.mlir4 // expected-error@+1 {{invalid is not a valid clause for the omp.parallel operation}}
14 // expected-error@+1 {{at most one if clause can appear on the omp.parallel operation}}
24 // expected-error@+1 {{at most one num_threads clause can appear on the omp.parallel operation}}
34 // expected-error@+1 {{at most one private clause can appear on the omp.parallel operation}}
44 // expected-error@+1 {{at most one firstprivate clause can appear on the omp.parallel operation}}
54 // expected-error@+1 {{at most one shared clause can appear on the omp.parallel operation}}
64 // expected-error@+1 {{at most one copyin clause can appear on the omp.parallel operation}}
74 // expected-error@+1 {{at most one default clause can appear on the omp.parallel operation}}
84 // expected-error@+1 {{at most one proc_bind clause can appear on the omp.parallel operation}}
/external/llvm-project/llvm/test/CodeGen/AMDGPU/
Dr600.bitcast.ll15 ; EG-NEXT: Fetch clause starting at 6:
17 ; EG-NEXT: ALU clause starting at 8:
19 ; EG-NEXT: ALU clause starting at 9:
38 ; EG-NEXT: Fetch clause starting at 6:
40 ; EG-NEXT: ALU clause starting at 8:
42 ; EG-NEXT: ALU clause starting at 9:
60 ; EG-NEXT: Fetch clause starting at 6:
62 ; EG-NEXT: ALU clause starting at 8:
64 ; EG-NEXT: ALU clause starting at 9:
82 ; EG-NEXT: Fetch clause starting at 6:
[all …]
Dr600.extract-lowbits.ll26 ; EG-NEXT: ALU clause starting at 4:
37 ; CM-NEXT: ALU clause starting at 4:
57 ; EG-NEXT: Fetch clause starting at 6:
59 ; EG-NEXT: ALU clause starting at 8:
61 ; EG-NEXT: ALU clause starting at 9:
76 ; CM-NEXT: Fetch clause starting at 6:
78 ; CM-NEXT: ALU clause starting at 8:
80 ; CM-NEXT: ALU clause starting at 9:
101 ; EG-NEXT: ALU clause starting at 4:
112 ; CM-NEXT: ALU clause starting at 4:
[all …]
Dlds-output-queue.ll4 ; the ALU clause.
8 ; CHECK-NOT: ALU clause
19 ; This will start a new clause for the vertex fetch
39 ; clause. The aliasing problem mentioned above causes problems when there is a
69 ; Alu clause:
71 ; VTX clause:
73 ; Alu clause:
89 ; CHECK-NOT: ALU clause
/external/llvm-project/clang/docs/
DOpenMPSupport.rst33 - New collapse clause scheme to avoid expensive remainder operations.
35 collapse clause by replacing the expensive remainder operation with
42 value of threads or as specified by the `thread_limit` clause if
49 - When using the collapse clause on a loop nest the default behavior
132 | loop extension | clause: if for SIMD directives | :go…
138 | memory mangagement | allocate directive and allocate clause | :go…
150 | task extension | clause: depend on the taskwait construct | :pa…
180 | device extension | clause: device_type | :go…
182 | device extension | clause: extended device | :go…
184 | device extension | clause: uses_allocators clause | :go…
[all …]
/external/python/cpython3/Doc/tutorial/
Derrors.rst98 * First, the *try clause* (the statement(s) between the :keyword:`try` and
101 * If no exception occurs, the *except clause* is skipped and execution of the
104 * If an exception occurs during execution of the try clause, the rest of the
105 clause is skipped. Then if its type matches the exception named after the
106 :keyword:`except` keyword, the except clause is executed, and then execution
110 clause, it is passed on to outer :keyword:`try` statements; if no handler is
114 A :keyword:`try` statement may have more than one except clause, to specify
116 Handlers only handle exceptions that occur in the corresponding try clause, not
117 in other handlers of the same :keyword:`!try` statement. An except clause may
123 A class in an :keyword:`except` clause is compatible with an exception if it is
[all …]
/external/python/cpython2/Doc/tutorial/
Derrors.rst98 * First, the *try clause* (the statement(s) between the :keyword:`try` and
101 * If no exception occurs, the *except clause* is skipped and execution of the
104 * If an exception occurs during execution of the try clause, the rest of the
105 clause is skipped. Then if its type matches the exception named after the
106 :keyword:`except` keyword, the except clause is executed, and then execution
110 clause, it is passed on to outer :keyword:`try` statements; if no handler is
114 A :keyword:`try` statement may have more than one except clause, to specify
116 Handlers only handle exceptions that occur in the corresponding try clause, not
117 in other handlers of the same :keyword:`try` statement. An except clause may
131 The last except clause may omit the exception name(s), to serve as a wildcard.
[all …]
/external/llvm-project/llvm/test/CodeGen/X86/
Dwineh-coreclr.ll170 ; ^ offset of start of clause
172 ; ^ offset of end of clause
183 ; ^ offset of start of clause
185 ; ^ offset of end of clause
196 ; ^ offset of start of clause
198 ; ^ offset of end of clause
212 ; ^ offset of start of clause
214 ; ^ offset of end of clause
225 ; ^ offset of start of clause
227 ; ^ offset of end of clause
[all …]
/external/llvm/test/CodeGen/X86/
Dwineh-coreclr.ll170 ; ^ offset of start of clause
172 ; ^ offset of end of clause
183 ; ^ offset of start of clause
185 ; ^ offset of end of clause
196 ; ^ offset of start of clause
198 ; ^ offset of end of clause
212 ; ^ offset of start of clause
214 ; ^ offset of end of clause
225 ; ^ offset of start of clause
227 ; ^ offset of end of clause
[all …]
/external/python/cpython2/Doc/reference/
Dcompound_stmts.rst20 single: clause
23 Compound statements consist of one or more 'clauses.' A clause consists of a
24 header and a 'suite.' The clause headers of a particular compound statement are
25 all at the same indentation level. Each clause header begins with a uniquely
27 controlled by a clause. A suite can be one or more semicolon-separated simple
31 mostly because it wouldn't be clear to which :keyword:`if` clause a following
32 :keyword:`else` clause would belong: ::
68 The formatting of the grammar rules in the following sections places each clause
95 false, the suite of the :keyword:`else` clause, if present, is executed.
117 suite of the :keyword:`else` clause, if present, is executed and the loop
[all …]
/external/llvm/test/CodeGen/AMDGPU/
Dlds-output-queue.ll4 ; the ALU clause.
8 ; CHECK-NOT: ALU clause
19 ; This will start a new clause for the vertex fetch
39 ; clause. The aliasing problem mentioned above causes problems when there is a
69 ; Alu clause:
71 ; VTX clause:
73 ; Alu clause:
89 ; CHECK-NOT: ALU clause
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/selects/
DSelectDeadlockLFStressTest.kt64 val clause = when (val op = scenario[i]) { in <lambda>() constant
69 add(clause) in <lambda>()
80 for (clause in clauses) clause() in <lambda>() method

12345678910>>...17