/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | SemaOpenMP.h | 213 StmtResult ActOnOpenMPMetaDirective(ArrayRef<OMPClause *> Clauses, 232 ArrayRef<OMPClause *> Clauses, 255 ArrayRef<OMPClause *> Clauses); 289 Expr *MapperVarRef, ArrayRef<OMPClause *> Clauses, 397 StmtResult ActOnOpenMPRegionEnd(StmtResult S, ArrayRef<OMPClause *> Clauses); 400 OpenMPDirectiveKind CancelRegion, ArrayRef<OMPClause *> Clauses, 405 StmtResult ActOnOpenMPParallelDirective(ArrayRef<OMPClause *> Clauses, 413 ActOnOpenMPSimdDirective(ArrayRef<OMPClause *> Clauses, Stmt *AStmt, 418 StmtResult ActOnOpenMPTileDirective(ArrayRef<OMPClause *> Clauses, 423 StmtResult ActOnOpenMPUnrollDirective(ArrayRef<OMPClause *> Clauses, [all …]
|
H A D | SemaOpenACC.h | 416 ArrayRef<OpenACCClause *> Clauses,
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | StmtOpenACC.cpp | 31 ArrayRef<const OpenACCClause *> Clauses, Stmt *StructuredBlock, in Create() argument 35 Clauses.size())); in Create() 37 Clauses, StructuredBlock); in Create() 83 ArrayRef<const OpenACCClause *> Clauses, Stmt *Loop) in OpenACCLoopConstruct() argument 92 std::uninitialized_copy(Clauses.begin(), Clauses.end(), in OpenACCLoopConstruct() 96 Clauses.size())); in OpenACCLoopConstruct() 117 ArrayRef<const OpenACCClause *> Clauses, in Create() argument 121 Clauses.size())); in Create() 123 new (Mem) OpenACCLoopConstruct(BeginLoc, DirLoc, EndLoc, Clauses, Loop); in Create()
|
H A D | StmtOpenMP.cpp | 27 void OMPChildren::setClauses(ArrayRef<OMPClause *> Clauses) { in setClauses() argument 28 assert(Clauses.size() == NumClauses && in setClauses() 30 llvm::copy(Clauses, getTrailingObjects<OMPClause *>()); in setClauses() 37 OMPChildren *OMPChildren::Create(void *Mem, ArrayRef<OMPClause *> Clauses) { in Create() argument 38 auto *Data = CreateEmpty(Mem, Clauses.size()); in Create() 39 Data->setClauses(Clauses); in Create() 43 OMPChildren *OMPChildren::Create(void *Mem, ArrayRef<OMPClause *> Clauses, in Create() argument 45 auto *Data = CreateEmpty(Mem, Clauses.size(), S, NumChildren); in Create() 46 Data->setClauses(Clauses); in Create() 265 ArrayRef<OMPClause *> Clauses, in Create() argument [all …]
|
H A D | DeclOpenMP.cpp | 146 QualType T, DeclarationName VarName, ArrayRef<OMPClause *> Clauses, in Create() argument 149 C, DC, Clauses, 1, L, Name, T, VarName, PrevDeclInScope); in Create()
|
H A D | StmtProfile.cpp | 944 ArrayRef<OMPClause *> Clauses = S->clauses(); in VisitOMPExecutableDirective() local 945 for (ArrayRef<OMPClause *>::iterator I = Clauses.begin(), E = Clauses.end(); in VisitOMPExecutableDirective() 2482 void VisitOpenACCClauseList(ArrayRef<const OpenACCClause *> Clauses) { in VisitOpenACCClauseList() argument 2483 for (const OpenACCClause *Clause : Clauses) { in VisitOpenACCClauseList()
|
H A D | StmtPrinter.cpp | 730 ArrayRef<OMPClause *> Clauses = S->clauses(); in PrintOMPExecutableDirective() local 731 for (auto *Clause : Clauses) in PrintOMPExecutableDirective()
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | StmtOpenACC.h | 40 MutableArrayRef<const OpenACCClause *> Clauses; variable 51 assert(Clauses.empty() && "Cannot change clause list"); in setClauseList() 52 Clauses = NewClauses; in setClauseList() 66 ArrayRef<const OpenACCClause *> clauses() const { return Clauses; } in clauses() 153 ArrayRef<const OpenACCClause *> Clauses, in OpenACCComputeConstruct() argument 162 std::uninitialized_copy(Clauses.begin(), Clauses.end(), in OpenACCComputeConstruct() 166 Clauses.size())); in OpenACCComputeConstruct() 186 ArrayRef<const OpenACCClause *> Clauses, Stmt *StructuredBlock, 217 ArrayRef<const OpenACCClause *> Clauses, Stmt *Loop); 235 SourceLocation EndLoc, ArrayRef<const OpenACCClause *> Clauses,
|
H A D | StmtOpenMP.h | 310 static T *createDirective(const ASTContext &C, ArrayRef<OMPClause *> Clauses, in createDirective() argument 314 C.Allocate(sizeof(T) + OMPChildren::size(Clauses.size(), AssociatedStmt, in createDirective() 318 auto *Data = OMPChildren::Create(reinterpret_cast<T *>(Mem) + 1, Clauses, in createDirective() 385 explicit used_clauses_child_iterator(ArrayRef<OMPClause *> Clauses) in used_clauses_child_iterator() argument 386 : used_clauses_child_iterator::iterator_adaptor_base(Clauses.begin()), in used_clauses_child_iterator() 387 End(Clauses.end()) { in used_clauses_child_iterator() 414 used_clauses_children(ArrayRef<OMPClause *> Clauses) { in used_clauses_children() argument 416 used_clauses_child_iterator(Clauses), in used_clauses_children() 417 used_clauses_child_iterator(llvm::ArrayRef(Clauses.end(), (size_t)0))}; in used_clauses_children() 439 explicit specific_clause_iterator(ArrayRef<OMPClause *> Clauses) in specific_clause_iterator() argument [all …]
|
H A D | DeclOpenMP.h | 51 ArrayRef<OMPClause *> Clauses, unsigned NumChildren, in createDirective() argument 53 auto *Inst = new (C, DC, size(Clauses.size(), NumChildren)) in createDirective() 55 Inst->Data = OMPChildren::Create(Inst + 1, Clauses, in createDirective() 57 Inst->Data->setClauses(Clauses); in createDirective() 318 ArrayRef<OMPClause *> Clauses,
|
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/ |
H A D | CNFFormula.h | 81 std::vector<Literal> Clauses; variable 123 return C == ClauseStarts.size() - 1 ? Clauses.size() - ClauseStarts[C] in clauseSize() 133 return llvm::ArrayRef<Literal>(&Clauses[ClauseStarts[C]], S); in clauseLiterals() 151 assert(Idx < CNF->Clauses.size() && "Iterator out of bounds"); 161 Literal &operator*() const { return CNF->Clauses[Idx]; }
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaOpenMP.cpp | 2811 ArrayRef<OMPClause *> Clauses) { in checkReductionClauses() argument 2818 for (OMPClause *C : Clauses) { in checkReductionClauses() 2843 for (OMPClause *C : Clauses) { in checkReductionClauses() 2876 ArrayRef<OMPClause *> Clauses); 3015 static bool finishLinearClauses(Sema &SemaRef, ArrayRef<OMPClause *> Clauses, in finishLinearClauses() argument 3025 for (OMPClause *C : Clauses) { in finishLinearClauses() 3439 SourceLocation Loc, ArrayRef<Expr *> VarList, ArrayRef<OMPClause *> Clauses, in ActOnOpenMPAllocateDirective() argument 3441 assert(Clauses.size() <= 2 && "Expected at most two clauses."); in ActOnOpenMPAllocateDirective() 3444 if (Clauses.empty()) { in ActOnOpenMPAllocateDirective() 3453 for (const OMPClause *C : Clauses) in ActOnOpenMPAllocateDirective() [all …]
|
H A D | SemaOpenACC.cpp | 1636 ArrayRef<OpenACCClause *> Clauses, in ActOnEndStmtDirective() argument 1647 getASTContext(), K, StartLoc, DirLoc, EndLoc, Clauses, in ActOnEndStmtDirective() 1656 getASTContext(), StartLoc, DirLoc, EndLoc, Clauses, in ActOnEndStmtDirective()
|
H A D | SemaTemplateInstantiateDecl.cpp | 3613 SmallVector<OMPClause *, 4> Clauses; in VisitOMPAllocateDecl() local 3633 Clauses.push_back(IC); in VisitOMPAllocateDecl() 3637 D->getLocation(), Vars, Clauses, Owner); in VisitOMPAllocateDecl() 3766 SmallVector<OMPClause *, 6> Clauses; in VisitOMPDeclareMapperDecl() local 3809 Clauses.push_back(NewC); in VisitOMPDeclareMapperDecl() 3816 VN, D->getAccess(), MapperVarRef.get(), Clauses, PrevDeclInScope); in VisitOMPDeclareMapperDecl()
|
/freebsd/contrib/llvm-project/llvm/utils/TableGen/ |
H A D | DirectiveEmitter.cpp | 127 static bool HasDuplicateClauses(const std::vector<Record *> &Clauses, in HasDuplicateClauses() argument 131 for (const auto &C : Clauses) { in HasDuplicateClauses() 151 llvm::StringSet<> Clauses; in HasDuplicateClausesInDirectives() local 153 if (HasDuplicateClauses(Dir.getAllowedClauses(), Dir, Clauses) || in HasDuplicateClausesInDirectives() 154 HasDuplicateClauses(Dir.getAllowedOnceClauses(), Dir, Clauses) || in HasDuplicateClausesInDirectives() 155 HasDuplicateClauses(Dir.getAllowedExclusiveClauses(), Dir, Clauses)) { in HasDuplicateClausesInDirectives() 159 Clauses.clear(); in HasDuplicateClausesInDirectives() 160 if (HasDuplicateClauses(Dir.getAllowedClauses(), Dir, Clauses) || in HasDuplicateClausesInDirectives() 161 HasDuplicateClauses(Dir.getRequiredClauses(), Dir, Clauses)) { in HasDuplicateClausesInDirectives() 403 GenerateCaseForVersionedClauses(const std::vector<Record *> &Clauses, in GenerateCaseForVersionedClauses() argument [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/ |
H A D | CNFFormula.cpp | 101 Clauses.push_back(0); in CNFFormula() 111 const size_t S = Clauses.size(); in addClause() 113 Clauses.insert(Clauses.end(), lits.begin(), lits.end()); in addClause()
|
/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | OpenACCClauses.def | 1 //===-- OpenACCClauses.def - List of implemented OpenACC Clauses -- C++ -*-===// 9 // This file defines a list of currently implemented OpenACC Clauses (and
|
/freebsd/contrib/llvm-project/clang/lib/Parse/ |
H A D | ParseOpenMP.cpp | 610 SmallVector<OMPClause *, 6> Clauses; in ParseOpenMPDeclareMapperDirective() local 617 ParseOpenMPClause(OMPD_declare_mapper, CKind, Clauses.empty()); in ParseOpenMPDeclareMapperDirective() 619 Clauses.push_back(Clause); in ParseOpenMPDeclareMapperDirective() 627 if (Clauses.empty()) { in ParseOpenMPDeclareMapperDirective() 638 Range.getBegin(), VName, AS, MapperVarRef.get(), Clauses); in ParseOpenMPDeclareMapperDirective() 1647 SmallVectorImpl<OMPClause *> &Clauses, in ParseOpenMPClauses() argument 1661 Clauses.push_back(Clause); in ParseOpenMPClauses() 2113 SmallVector<OMPClause *, 1> Clauses; in ParseOpenMPDeclarativeDirectiveWithExtDecl() local 2127 Clauses.push_back(Clause); in ParseOpenMPDeclarativeDirectiveWithExtDecl() 2142 Loc, Helper.getIdentifiers(), Clauses); in ParseOpenMPDeclarativeDirectiveWithExtDecl() [all …]
|
H A D | ParseOpenACC.cpp | 635 SmallVector<OpenACCClause *> Clauses; in ParseOpenACCClauseList() local 643 OpenACCClauseParseResult Result = ParseOpenACCClause(Clauses, DirKind); in ParseOpenACCClauseList() 645 Clauses.push_back(Clause); in ParseOpenACCClauseList() 650 return Clauses; in ParseOpenACCClauseList() 653 return Clauses; in ParseOpenACCClauseList() 1465 DirInfo.Clauses, AssocStmt); in ParseOpenACCDirectiveStmt()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
H A D | WinException.cpp | 1134 SmallVector<ClrClause, 8> Clauses; in emitCLRExceptionTable() local 1216 Clauses.push_back({CurrentStartLabel, StateChange.PreviousEndLabel, in emitCLRExceptionTable() 1249 OS.emitInt32(Clauses.size()); in emitCLRExceptionTable() 1250 for (ClrClause &Clause : Clauses) { in emitCLRExceptionTable()
|
/freebsd/contrib/llvm-project/clang/include/clang/Serialization/ |
H A D | ASTRecordWriter.h | 305 void writeOpenACCClauseList(ArrayRef<const OpenACCClause *> Clauses);
|
H A D | ASTRecordReader.h | 282 void readOpenACCClauseList(MutableArrayRef<const OpenACCClause *> Clauses);
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Frontend/Directive/ |
H A D | DirectiveBase.td | 180 // Clauses cannot appear twice in the three allowed lists below. Also, since
|
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
H A D | ASTMatchers.h | 8660 ArrayRef<OMPClause *> Clauses = Node.clauses(); in AST_MATCHER_P() local 8661 return matchesFirstInPointerRange(InnerMatcher, Clauses.begin(), in AST_MATCHER_P() 8662 Clauses.end(), Finder, in AST_MATCHER_P() 8663 Builder) != Clauses.end(); in AST_MATCHER_P()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGOpenMPRuntimeGPU.cpp | 261 ArrayRef<OMPClause *> Clauses, in VisitOpenMPCapturedStmt() argument 274 for (const OMPClause *C : Clauses) { in VisitOpenMPCapturedStmt()
|