Home
last modified time | relevance | path

Searched refs:Clause (Results 1 – 25 of 50) sorted by relevance

12

/llvm-project-15.0.7/llvm/utils/TableGen/
H A DDirectiveEmitter.cpp80 Clause C{R}; in GenerateEnumClauseVal()
309 Clause C{R}; in GenerateGetKindClauseVal()
536 Clause Clause{C}; in GenerateFlangClauseParserClass() local
539 if (Clause.isValueOptional() && Clause.isValueList()) { in GenerateFlangClauseParserClass()
563 Clause Clause{C}; in GenerateFlangClauseParserClassList() local
576 Clause Clause{C}; in GenerateFlangClauseDump() local
592 Clause Clause{C}; in GenerateFlangClauseUnparse() local
643 Clause Clause{C}; in GenerateFlangClauseCheckPrototypes() local
658 Clause Clause{C}; in GenerateFlangClauseParserKindMap() local
673 Clause C1{R1}; in compareClauseName()
[all …]
/llvm-project-15.0.7/flang/lib/Semantics/
H A Dcheck-acc-structure.cpp14 CheckAllowed(llvm::acc::Clause::Y); \
27 llvm::acc::Clause::ACCC_async, llvm::acc::Clause::ACCC_wait,
28 llvm::acc::Clause::ACCC_num_gangs, llvm::acc::Clause::ACCC_num_workers,
32 llvm::acc::Clause::ACCC_auto, llvm::acc::Clause::ACCC_collapse,
33 llvm::acc::Clause::ACCC_independent, llvm::acc::Clause::ACCC_gang,
34 llvm::acc::Clause::ACCC_seq, llvm::acc::Clause::ACCC_tile,
35 llvm::acc::Clause::ACCC_vector, llvm::acc::Clause::ACCC_worker};
38 llvm::acc::Clause::ACCC_async, llvm::acc::Clause::ACCC_wait};
41 llvm::acc::Clause::ACCC_bind, llvm::acc::Clause::ACCC_gang,
42 llvm::acc::Clause::ACCC_vector, llvm::acc::Clause::ACCC_worker};
[all …]
H A Dcheck-omp-structure.h27 Fortran::common::EnumSet<llvm::omp::Clause, llvm::omp::Clause_enumSize>;
104 Clause::OMPC_private, Clause::OMPC_firstprivate, Clause::OMPC_lastprivate};
106 OmpClauseSet{Clause::OMPC_reduction} | privateSet};
129 using llvmOmpClause = const llvm::omp::Clause;
188 llvm::omp::Clause GetClauseKindForParserClass(const A &) { in GetClauseKindForParserClass()
206 llvm::StringRef getClauseName(llvm::omp::Clause clause) override;
218 const parser::OmpObjectList &, const llvm::omp::Clause);
220 void CheckDefinableObjects(SymbolSourceMap &, const llvm::omp::Clause);
222 SymbolSourceMap &, const llvm::omp::Clause);
257 const parser::OmpObjectList &, const llvm::omp::Clause);
[all …]
H A Dcheck-omp-structure.cpp19 CheckAllowed(llvm::omp::Clause::Y); \
24 CheckAllowed(llvm::omp::Clause::Y); \
30 CheckAllowed(llvm::omp::Clause::Y); \
1696 llvm::omp::Clause::OMPC_ordered, {llvm::omp::Clause::OMPC_linear}); in Leave()
1747 llvm::omp::Clause::OMPC_copyprivate, {llvm::omp::Clause::OMPC_nowait}); in Leave()
1760 llvm::omp::Clause::OMPC_copyprivate, llvm::omp::Clause::OMPC_schedule, in Leave()
1761 llvm::omp::Clause::OMPC_num_threads, llvm::omp::Clause::OMPC_thread_limit, in Leave()
1762 llvm::omp::Clause::OMPC_if}; in Leave()
2183 {llvm::omp::Clause::OMPC_release, llvm::omp::Clause::OMPC_acq_rel}); in CHECK_SIMPLE_PARSER_CLAUSE()
2187 {llvm::omp::Clause::OMPC_acquire, llvm::omp::Clause::OMPC_acq_rel}); in Leave()
[all …]
H A Dcheck-acc-structure.h27 Fortran::common::EnumSet<llvm::acc::Clause, llvm::acc::Clause_enumSize>;
35 : public DirectiveStructureChecker<llvm::acc::Directive, llvm::acc::Clause,
74 bool CheckAllowedModifier(llvm::acc::Clause clause);
78 llvm::StringRef getClauseName(llvm::acc::Clause clause) override;
/llvm-project-15.0.7/clang/lib/AST/
H A DOpenMPClause.cpp337 auto *Clause = in Create() local
343 return Clause; in Create()
354 return Clause; in CreateEmpty()
395 auto *Clause = in Create() local
400 return Clause; in Create()
412 return Clause; in CreateEmpty()
431 return Clause; in Create()
464 return Clause; in Create()
516 return Clause; in Create()
534 return Clause; in Create()
[all …]
H A DASTTypeTraits.cpp151 case llvm::omp::Clause::Enum: \ in getFromNode()
154 case llvm::omp::Clause::Enum: \ in getFromNode()
/llvm-project-15.0.7/llvm/include/llvm/Frontend/OpenACC/
H A DACC.td35 def ACCC_Async : Clause<"async"> {
41 def ACCC_Auto : Clause<"auto"> {}
49 def ACCC_Bind : Clause<"bind"> {
63 def ACCC_Copy : Clause<"copy"> {
149 def ACCC_Gang : Clause<"gang"> {
155 def ACCC_Host : Clause<"host"> {
160 def ACCC_If : Clause <"if"> {
171 def ACCC_Link : Clause<"link"> {
222 def ACCC_Self : Clause<"self"> {
228 def ACCC_Seq : Clause<"seq"> {}
[all …]
/llvm-project-15.0.7/llvm/include/llvm/Frontend/OpenMP/
H A DOMP.td38 def OMPC_If : Clause<"if"> {
42 def OMPC_Final : Clause<"final"> {
217 def OMPC_Map : Clause<"map"> {
244 def OMPC_Hint : Clause<"hint"> {
257 def OMPC_To : Clause<"to"> {
261 def OMPC_From : Clause<"from"> {
323 def OMPC_Init : Clause<"init"> {
326 def OMPC_Use : Clause<"use"> {
382 def OMPC_Link : Clause<"link"> {
395 def OMPC_When: Clause<"when"> {}
[all …]
/llvm-project-15.0.7/llvm/test/TableGen/
H A Ddirective3.td10 def TDLC_ClauseA : Clause<"clausea"> {
14 def TDLC_ClauseB : Clause<"clauseb"> {
17 def TDLC_ClauseC : Clause<"clausec"> {
20 def TDLC_ClauseD : Clause<"claused"> {
40 // CHECK: error: Clause TDLC_ClauseA already defined on directive TDL_DirA
41 // CHECK: error: Clause TDLC_ClauseD already defined on directive TDL_DirA
H A Ddirective1.td21 def TDLC_ClauseA : Clause<"clausea"> {
30 def TDLC_ClauseB : Clause<"clauseb"> {
63 // CHECK-NEXT: enum class Clause {
88 // CHECK-NEXT: Clause getTdlClauseKind(llvm::StringRef Str);
90 // CHECK-NEXT: llvm::StringRef getTdlClauseName(Clause C);
112 // IMPL-NEXT: llvm::tdl::Clause::TDLC_clausea,
113 // IMPL-NEXT: llvm::tdl::Clause::TDLC_clauseb,
192 // IMPL-NEXT: return llvm::tdl::Clause::TDLC_clausea;
194 // IMPL-NEXT: return llvm::tdl::Clause::TDLC_clauseb;
266 // IMPL-NEXT: return llvm::StringSwitch<Clause>(Str)
[all …]
H A Ddirective2.td16 def TDLC_ClauseA : Clause<"clausea"> {
19 def TDLC_ClauseB : Clause<"clauseb"> {
24 def TDLC_ClauseC : Clause<"clausec"> {
30 def TDLC_ClauseD : Clause<"claused"> {
56 // CHECK-NEXT: enum class Clause {
70 // CHECK-NEXT: Clause getTdlClauseKind(llvm::StringRef Str);
72 // CHECK-NEXT: llvm::StringRef getTdlClauseName(Clause C);
90 // IMPL-NEXT: llvm::tdl::Clause::TDLC_clausea,
91 // IMPL-NEXT: llvm::tdl::Clause::TDLC_clauseb,
234 // IMPL-NEXT: return llvm::StringSwitch<Clause>(Str)
[all …]
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/openmp/
H A DUseDefaultNoneCheck.cpp40 if (const auto *Clause = Result.Nodes.getNodeAs<OMPDefaultClause>("clause")) { in check() local
45 << getOpenMPSimpleClauseTypeName(Clause->getClauseKind(), in check()
46 unsigned(Clause->getDefaultKind())); in check()
47 diag(Clause->getBeginLoc(), "existing 'default' clause specified here", in check()
/llvm-project-15.0.7/llvm/include/llvm/TableGen/
H A DDirectiveEmitter.h123 class Clause : public BaseRecord {
125 explicit Clause(const llvm::Record *Def) : BaseRecord(Def) {} in Clause() function
196 Clause getClause() const { return Clause{Def->getValueAsDef("clause")}; } in getClause()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DR600ControlFlowFinalizer.cpp439 const DebugLoc &DL, ClauseFile &Clause, in EmitFetchClause() argument
441 CounterPropagateAddr(*Clause.first, CfCount); in EmitFetchClause()
442 MachineBasicBlock *BB = Clause.first->getParent(); in EmitFetchClause()
444 for (MachineInstr *MI : Clause.second) in EmitFetchClause()
446 CfCount += 2 * Clause.second.size(); in EmitFetchClause()
450 ClauseFile &Clause, unsigned &CfCount) { in EmitALUClause() argument
451 Clause.first->getOperand(0).setImm(0); in EmitALUClause()
452 CounterPropagateAddr(*Clause.first, CfCount); in EmitALUClause()
453 MachineBasicBlock *BB = Clause.first->getParent(); in EmitALUClause()
455 for (MachineInstr *MI : Clause.second) in EmitALUClause()
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Dwineh-coreclr.ll166 ; Clause 1: call f(2) is guarded by catch1
205 ; Clause 4: call f(3) is guarded by finally
221 ; Clause 5: call f(5) is guarded by fault
250 ; Clause 7: call f(6) is guarded by finally
343 ; Clause 1: call f(1) is guarded by fault
559 ; Clause 1: call f(1) is guarded by fault1
572 ; Clause 3: call f(6) is guarded by catch1
598 ; Clause 4: call f(7) is guarded by fault5
614 ; Clause 5: call f(4) is guarded by fault4
643 ; Clause 7: call f(3) is guarded by fault3
[all …]
/llvm-project-15.0.7/mlir/test/mlir-tblgen/
H A Ddirective-common.td14 def TDLC_ClauseA : Clause<"clausea"> {
28 // CHECK: "AKind Clause",
/llvm-project-15.0.7/libcxx/docs/Status/
H A DCxx20Papers.csv74 "`P1148R0 <https://wg21.link/P1148R0>`__","LWG","Cleaning up Clause 20","San Diego","* *",""
97 "`P1462R1 <https://wg21.link/P1462R1>`__","LWG","Mandating the Standard Library: Clause 20 - String…
98 "`P1463R1 <https://wg21.link/P1463R1>`__","LWG","Mandating the Standard Library: Clause 21 - Contai…
142 "`P1686R2 <https://wg21.link/P1686R2>`__","LWG","Mandating the Standard Library: Clause 27 - Time l…
145 "`P1718R2 <https://wg21.link/P1718R2>`__","LWG","Mandating the Standard Library: Clause 25 - Algori…
146 "`P1719R2 <https://wg21.link/P1719R2>`__","LWG","Mandating the Standard Library: Clause 26 - Numeri…
147 "`P1720R2 <https://wg21.link/P1720R2>`__","LWG","Mandating the Standard Library: Clause 28 - Locali…
148 "`P1721R2 <https://wg21.link/P1721R2>`__","LWG","Mandating the Standard Library: Clause 29 - Input/…
150 "`P1723R2 <https://wg21.link/P1723R2>`__","LWG","Mandating the Standard Library: Clause 31 - Atomic…
170 "`P1460R1 <https://wg21.link/P1460R1>`__","LWG","Mandating the Standard Library: Clause 20 - Utilit…
[all …]
/llvm-project-15.0.7/llvm/unittests/Frontend/
H A DOpenACCTest.cpp20 static const Clause AllClauses[] = {ACCC_unknown,
212 const ArrayRef<Clause> &AllowedClauses) { in expectAllowedClauses()
213 SmallSet<Clause, 30> AllowedClausesSet; in expectAllowedClauses()
214 for (Clause Cl : AllowedClauses) { in expectAllowedClauses()
219 for (Clause Cl : AllClauses) { in expectAllowedClauses()
/llvm-project-15.0.7/mlir/tools/mlir-tblgen/
H A DDirectiveCommonGen.cpp23 using llvm::Clause;
59 Clause c{r}; in emitDecls()
/llvm-project-15.0.7/llvm/include/llvm/Frontend/Directive/
H A DDirectiveBase.td32 // Optional prefix used for the generation of the enumerator in the Clause
70 class Clause<string c> {
119 class VersionedClause<Clause c, int min = 1, int max = 0x7FFFFFFF> {
121 Clause clause = c;
/llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/
H A DWinException.cpp1254 for (ClrClause &Clause : Clauses) { in emitCLRExceptionTable()
1304 getOffsetPlusOne(Clause.StartLabel, FuncBeginSym); in emitCLRExceptionTable()
1305 const MCExpr *ClauseEnd = getOffsetPlusOne(Clause.EndLabel, FuncBeginSym); in emitCLRExceptionTable()
1307 const ClrEHUnwindMapEntry &Entry = FuncInfo.ClrEHUnwindMap[Clause.State]; in emitCLRExceptionTable()
1311 MCSymbol *EndSym = EndSymbolMap[Clause.State]; in emitCLRExceptionTable()
1329 if (Clause.EnclosingState != MinClauseMap[Clause.State]) { in emitCLRExceptionTable()
1332 assert(Clause.EnclosingState > MinClauseMap[Clause.State]); in emitCLRExceptionTable()
/llvm-project-15.0.7/clang/lib/Analysis/FlowSensitive/
H A DWatchedLiteralsSolver.cpp626 llvm::ArrayRef<Literal> Clause = Formula.clauseLiterals(LitWatcher); in watchedByUnitClause() local
633 assert(Clause.front() == Lit); in watchedByUnitClause()
635 if (isUnit(Clause)) in watchedByUnitClause()
642 bool isUnit(llvm::ArrayRef<Literal> Clause) const { in isUnit()
643 return llvm::all_of(Clause.drop_front(), in isUnit()
/llvm-project-15.0.7/clang/lib/Parse/
H A DParseOpenMP.cpp609 OMPClause *Clause = in ParseOpenMPDeclareMapperDirective() local
611 if (Clause) in ParseOpenMPDeclareMapperDirective()
612 Clauses.push_back(Clause); in ParseOpenMPDeclareMapperDirective()
2114 if (Clause != nullptr) in ParseOpenMPDeclarativeDirectiveWithExtDecl()
2155 if (Clause != nullptr) in ParseOpenMPDeclarativeDirectiveWithExtDecl()
2156 Clauses.push_back(Clause); in ParseOpenMPDeclarativeDirectiveWithExtDecl()
2702 if (Clause != nullptr) in ParseOpenMPDeclarativeOrExecutableDirective()
2894 if (Clause) { in ParseOpenMPDeclarativeOrExecutableDirective()
2896 Clauses.push_back(Clause); in ParseOpenMPDeclarativeOrExecutableDirective()
3147 OMPClause *Clause = nullptr; in ParseOpenMPClause() local
[all …]
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DOpenMPKinds.h27 using OpenMPClauseKind = llvm::omp::Clause;

12