Home
last modified time | relevance | path

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

123456

/llvm-project-15.0.7/flang/docs/
H A DOpenMP-4.5-grammar.md15 parallel-clause -> if-clause |
27 2.7.1 do -> DO [do-clause[ [,] do-clause]...]
28 do-clause -> private-clause |
40 sections-clause -> private-clause |
50 single-clause -> private-clause |
62 simd-clause -> safelen-clause |
82 do-simd-clause -> do-clause |
88 task-clause -> if-clause |
102 taskloop-clause -> if-clause |
150 target-clause -> if-clause |
[all …]
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/openmp/
H A Duse-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.
21 // ``for`` directive cannot 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.
55 // ``parallel`` directive can have ``default`` clause, and said clause is
[all …]
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DOpenMPKinds.def76 // Modifiers for 'schedule' clause.
81 // Modifiers for 'device' clause.
90 // Modifiers for 'defaultmap' clause.
112 // Modifiers for 'linear' clause.
122 // Map types for 'map' clause.
130 // Map-type-modifiers for 'map' clause.
138 // Modifiers for 'to' or 'from' clause.
150 // Type of the 'lastprivate' clause.
153 // Type of the 'order' clause.
156 // Modifiers for 'reduction' clause.
[all …]
/llvm-project-15.0.7/flang/lib/Semantics/
H A Dcheck-directive-structure.h183 const PC *clause{nullptr};
202 void SetContextClause(const PC &clause) { in SetContextClause() argument
203 GetContext().clauseSource = clause.source; in SetContextClause()
204 GetContext().clause = &clause; in SetContextClause()
336 void CheckAllowed(C clause);
348 void RequiresPositiveParameter(const C &clause,
382 if (cl == clause) { in CheckOnlyAllowedAfter()
449 C clause) { in CheckAllowed() argument
462 FindClause(clause)) { in CheckAllowed()
488 SetContextClauseInfo(clause); in CheckAllowed()
[all …]
H A Dcheck-omp-structure.cpp330 ompClause = &clause; in CheckHintClause()
339 context_.Say(clause.source, in CheckHintClause()
343 context_.Say(clause.source, in CheckHintClause()
857 if (const auto *clause{ in ChecksOnOrderedAsBlock() local
1198 if (const auto *clause{ in ChecksOnOrderedAsStandalone() local
1765 const auto *clause = it.second; in Leave() local
2001 const auto *clause = it.second; in CheckMultipleAppearanceAcrossContext() local
2197 context_.Say(clause->source, in Leave()
2201 context_.Say(clause->source, in Leave()
2482 const llvm::omp::Clause clause) { in CheckArraySection() argument
[all …]
H A Dunparse-with-symbols.cpp38 bool Pre(const parser::AccClause &clause) { in Pre() argument
39 currStmt_ = clause.source; in Pre()
43 bool Pre(const parser::OmpClause &clause) { in Pre() argument
44 currStmt_ = clause.source; in Pre()
H A Dcanonicalize-acc.cpp59 for (const auto &clause : accClauseList.v) { in CheckTileClauseRestriction() local
61 std::get_if<parser::AccClause::Tile>(&clause.u)) { in CheckTileClauseRestriction()
100 for (const auto &clause : accClauseList.v) { in CheckDoConcurrentClauseRestriction() local
101 if (std::holds_alternative<parser::AccClause::Collapse>(clause.u) || in CheckDoConcurrentClauseRestriction()
102 std::holds_alternative<parser::AccClause::Tile>(clause.u)) { in CheckDoConcurrentClauseRestriction()
/llvm-project-15.0.7/llvm/include/llvm/Frontend/Directive/
H A 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.
92 // List of allowed clause values
101 // Is clause implicit? If clause is set as implicit, the default kind will
110 // `clause(prefix: value)`
114 // `clause([prefix]: value)`
120 // Actual clause.
[all …]
/llvm-project-15.0.7/flang/lib/Lower/
H A DOpenACC.cpp286 &clause.u)) { in createLoopOp()
325 &clause.u)) { in createLoopOp()
394 &clause.u)) { in createParallelOp()
399 &clause.u)) { in createParallelOp()
404 &clause.u)) { in createParallelOp()
454 &clause.u)) { in createParallelOp()
467 &clause.u)) { in createParallelOp()
471 &clause.u)) { in createParallelOp()
475 &clause.u)) { in createParallelOp()
482 &clause.u)) { in createParallelOp()
[all …]
H A DOpenMP.cpp103 &clause.u)) { in privatizeVars()
108 &clause.u)) { in privatizeVars()
640 &clause.u)) { in createCombinedParallelOp()
645 &clause.u)) { in createCombinedParallelOp()
689 &clause.u)) { in genOMP()
695 &clause.u)) { in genOMP()
699 &clause.u)) { in genOMP()
704 &clause.u) || in genOMP()
713 &clause.u)) { in genOMP()
738 &clause.u)) { in genOMP()
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/
H A 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:
62 ; EG-NEXT: ALU clause starting at 8:
64 ; EG-NEXT: ALU clause starting at 9:
84 ; EG-NEXT: ALU clause starting at 8:
86 ; EG-NEXT: ALU clause starting at 9:
[all …]
H A 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:
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:
134 ; EG-NEXT: ALU clause starting at 4:
[all …]
H A Dkernel-args.ll52 ; EG-NEXT: Fetch clause starting at 6:
54 ; EG-NEXT: ALU clause starting at 8:
56 ; EG-NEXT: ALU clause starting at 9:
68 ; CM-NEXT: Fetch clause starting at 6:
70 ; CM-NEXT: ALU clause starting at 8:
72 ; CM-NEXT: ALU clause starting at 9:
126 ; EG-NEXT: ALU clause starting at 8:
128 ; EG-NEXT: ALU clause starting at 9:
143 ; CM-NEXT: ALU clause starting at 8:
145 ; CM-NEXT: ALU clause starting at 9:
[all …]
H A Dmul_uint24-r600.ll12 ; CM-NEXT: ALU clause starting at 4:
28 ; EG-NEXT: ALU clause starting at 4:
55 ; CM-NEXT: Fetch clause starting at 6:
58 ; CM-NEXT: ALU clause starting at 10:
60 ; CM-NEXT: ALU clause starting at 11:
81 ; EG-NEXT: ALU clause starting at 10:
83 ; EG-NEXT: ALU clause starting at 11:
108 ; CM-NEXT: ALU clause starting at 10:
110 ; CM-NEXT: ALU clause starting at 11:
152 ; CM-NEXT: ALU clause starting at 4:
[all …]
H A 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
H A Dselectcc-icmp-select-float.ll15 ; CHECK-NEXT: Fetch clause starting at 6:
17 ; CHECK-NEXT: ALU clause starting at 8:
19 ; CHECK-NEXT: ALU clause starting at 9:
H A Dctpop16.ll49 ; EG-NEXT: Fetch clause starting at 6:
51 ; EG-NEXT: ALU clause starting at 8:
53 ; EG-NEXT: ALU clause starting at 9:
116 ; EG-NEXT: Fetch clause starting at 6:
118 ; EG-NEXT: ALU clause starting at 8:
121 ; EG-NEXT: ALU clause starting at 10:
204 ; EG-NEXT: ALU clause starting at 12:
207 ; EG-NEXT: ALU clause starting at 14:
209 ; EG-NEXT: ALU clause starting at 15:
376 ; EG-NEXT: ALU clause starting at 8:
[all …]
H A Dsrl.ll48 ; EG-NEXT: Fetch clause starting at 6:
50 ; EG-NEXT: ALU clause starting at 8:
52 ; EG-NEXT: ALU clause starting at 9:
107 ; EG-NEXT: Fetch clause starting at 6:
109 ; EG-NEXT: ALU clause starting at 8:
111 ; EG-NEXT: ALU clause starting at 9:
177 ; EG-NEXT: ALU clause starting at 10:
179 ; EG-NEXT: ALU clause starting at 11:
237 ; EG-NEXT: ALU clause starting at 8:
239 ; EG-NEXT: ALU clause starting at 9:
[all …]
/llvm-project-15.0.7/clang/docs/
H A 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
131 | loop | clause: if for SIMD directives | :go…
137 | memory management | allocate directive and allocate clause | :go…
149 | task | clause: depend on the taskwait construct | :pa…
179 | device | clause: device_type | :go…
181 | device | clause: extended device | :go…
183 | device | clause: uses_allocators clause | :go…
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Dwineh-coreclr.ll172 ; ^ offset of end of clause
185 ; ^ offset of end of clause
198 ; ^ offset of end of clause
214 ; ^ offset of end of clause
227 ; ^ offset of end of clause
243 ; ^ offset of end of clause
259 ; ^ offset of end of clause
349 ; ^ offset of end of clause
362 ; ^ offset of end of clause
375 ; ^ offset of end of clause
[all …]
/llvm-project-15.0.7/clang/test/Parser/
H A Dattr-external-source-symbol.m29 …ed_declaration))); // expected-error {{duplicate 'generated_declaration' clause in an 'external_so…
31 …e="Swift", language="Swift"))); // expected-error {{duplicate 'language' clause in an 'external_so…
33 …"Swift", defined_in="foo"))); // expected-error {{duplicate 'defined_in' clause in an 'external_so…
36 …nguage="Swift"))); // expected-error {{duplicate 'generated_declaration' clause in an 'external_so…
81 …me in 'external_source_symbol'}} expected-error {{duplicate 'defined_in' clause in an 'external_so…
84 …name in 'external_source_symbol'}} expected-error {{duplicate 'language' clause in an 'external_so…
H A Dobjc-try-catch-1.m41 @try { // expected-error {{@try statement without a @catch and @finally clause}}
49 @try {}// expected-error {{@try statement without a @catch and @finally clause}}
55 @try {}// expected-error {{@try statement without a @catch and @finally clause}}
/llvm-project-15.0.7/mlir/include/mlir/Dialect/OpenMP/
H A DOpenMPOps.td329 clause specified without parameter.
417 a simdlen clause is specified.
487 When an `if` clause is present on a task construct, and the value of
512 tasks (those with a higher numerical value in the priority clause
514 default priority-value when no priority clause is specified should be
607 When the `mergeable` clause is present on a taskloop construct, each
626 previously defined by a reduction scoping clause.
936 "depend clause",
952 or the DEPEND(SINK: vec) clause.
984 present, it behaves as if the THREADS clause is specified or no clause is
[all …]
/llvm-project-15.0.7/llvm/test/Transforms/Inline/
H A Dinvoke-combine-clauses.ll46 ; Check that there isn't another "catch" clause:
80 ; Check that there isn't another "catch" clause:
86 ; include the "catch i8* @exception_outer" clause from the outer
88 ; reachable), but it's OK to include this clause.
117 ; Check that there isn't another "catch" clause:
/llvm-project-15.0.7/flang/examples/FlangOmpReport/
H A DFlangOmpReportVisitor.h25 std::string clause; member
29 : clause{c}, clauseDetails{cd} {} in ClauseInfo()
31 : clause{std::get<0>(p)}, clauseDetails{std::get<1>(p)} {} in ClauseInfo()

123456