/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | SemaOpenMP.h | 213 StmtResult ActOnOpenMPMetaDirective(ArrayRef<OMPClause *> Clauses, 232 ArrayRef<OMPClause *> Clauses, 252 ArrayRef<OMPClause *> ClauseList); 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, [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | OpenMPClause.h | 55 class OMPClause { 66 OMPClause(OpenMPClauseKind K, SourceLocation StartLoc, SourceLocation EndLoc) in OMPClause() function 94 auto Children = const_cast<OMPClause *>(this)->children(); in children() 103 auto Children = const_cast<OMPClause *>(this)->children(); in used_children() 107 static bool classof(const OMPClause *) { return true; } in classof() argument 111 struct OMPNoChildClause : public OMPClause { 117 : OMPClause(ClauseKind, StartLoc, EndLoc) {} in OMPNoChildClause() 121 : OMPClause(ClauseKind, SourceLocation(), SourceLocation()) {} in OMPNoChildClause() 138 static bool classof(const OMPClause *T) { in classof() 188 static bool classof(const OMPClause *T) { in classof() [all …]
|
H A D | StmtOpenMP.h | 278 MutableArrayRef<OMPClause *> getClauses() { in getClauses() 310 static T *createDirective(const ASTContext &C, ArrayRef<OMPClause *> Clauses, in createDirective() 365 used_clauses_child_iterator, ArrayRef<OMPClause *>::iterator, 367 ArrayRef<OMPClause *>::iterator End; 368 OMPClause::child_iterator ChildI, ChildEnd; 385 explicit used_clauses_child_iterator(ArrayRef<OMPClause *> Clauses) in used_clauses_child_iterator() 414 used_clauses_children(ArrayRef<OMPClause *> Clauses) { in used_clauses_children() 428 ArrayRef<OMPClause *>::const_iterator, std::forward_iterator_tag, 431 ArrayRef<OMPClause *>::const_iterator End; 439 explicit specific_clause_iterator(ArrayRef<OMPClause *> Clauses) in specific_clause_iterator() [all …]
|
H A D | DeclOpenMP.h | 35 MutableArrayRef<OMPClause *> getClauses() { in getClauses() 51 ArrayRef<OMPClause *> Clauses, unsigned NumChildren, in createDirective() 89 OMPClause *getClause(unsigned I) const { return clauses()[I]; } in getClause() 91 ArrayRef<OMPClause *> clauses() const { in clauses() 318 ArrayRef<OMPClause *> Clauses, 324 using clauselist_iterator = MutableArrayRef<OMPClause *>::iterator; 325 using clauselist_const_iterator = ArrayRef<const OMPClause *>::iterator; 429 SourceLocation L, ArrayRef<OMPClause *> CL); 434 using clauselist_iterator = MutableArrayRef<OMPClause *>::iterator; 435 using clauselist_const_iterator = ArrayRef<const OMPClause *>::iterator; [all …]
|
H A D | ASTNodeTraverser.h | 251 void Visit(const OMPClause *C) { in Visit() 328 else if (const auto *C = N.get<OMPClause>()) in Visit()
|
H A D | TextNodeDumper.h | 190 void Visit(const OMPClause *C);
|
H A D | JSONNodeDumper.h | 207 void Visit(const OMPClause *C);
|
H A D | RecursiveASTVisitor.h | 499 bool TraverseOMPClause(OMPClause *C); 3246 bool RecursiveASTVisitor<Derived>::TraverseOMPClause(OMPClause *C) {
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | StmtOpenMP.cpp | 22 totalSizeToAlloc<OMPClause *, Stmt *>( in size() 27 void OMPChildren::setClauses(ArrayRef<OMPClause *> Clauses) { in setClauses() 30 llvm::copy(Clauses, getTrailingObjects<OMPClause *>()); in setClauses() 37 OMPChildren *OMPChildren::Create(void *Mem, ArrayRef<OMPClause *> Clauses) { in Create() 43 OMPChildren *OMPChildren::Create(void *Mem, ArrayRef<OMPClause *> Clauses, in Create() 265 ArrayRef<OMPClause *> Clauses, in Create() 283 ArrayRef<OMPClause *> Clauses, Stmt *AssociatedStmt, Expr *TaskRedRef, in Create() 302 unsigned CollapsedNum, ArrayRef<OMPClause *> Clauses, Stmt *AssociatedStmt, in Create() 338 unsigned CollapsedNum, ArrayRef<OMPClause *> Clauses, Stmt *AssociatedStmt, in Create() 411 SourceLocation EndLoc, ArrayRef<OMPClause *> Clauses, in Create() [all …]
|
H A D | DeclOpenMP.cpp | 59 ArrayRef<OMPClause *> CL) { in Create() 88 ArrayRef<OMPClause *> CL) { in Create() 146 QualType T, DeclarationName VarName, ArrayRef<OMPClause *> Clauses, in Create()
|
H A D | OpenMPClause.cpp | 32 OMPClause::child_range OMPClause::children() { in children() 45 OMPClause::child_range OMPClause::used_children() { in used_children() 59 OMPClauseWithPreInit *OMPClauseWithPreInit::get(OMPClause *C) { in get() 60 auto *Res = OMPClauseWithPreInit::get(const_cast<const OMPClause *>(C)); in get() 64 const OMPClauseWithPreInit *OMPClauseWithPreInit::get(const OMPClause *C) { in get() 183 OMPClauseWithPostUpdate *OMPClauseWithPostUpdate::get(OMPClause *C) { in get() 184 auto *Res = OMPClauseWithPostUpdate::get(const_cast<const OMPClause *>(C)); in get() 188 const OMPClauseWithPostUpdate *OMPClauseWithPostUpdate::get(const OMPClause *C) { in get() 301 OMPClause::child_range OMPIfClause::used_children() { in used_children() 307 OMPClause::child_range OMPGrainsizeClause::used_children() { in used_children() [all …]
|
H A D | ASTTypeTraits.cpp | 162 ASTNodeKind ASTNodeKind::getFromNode(const OMPClause &C) { in getFromNode() 250 if (const auto *C = get<OMPClause>()) in getSourceRange()
|
H A D | StmtProfile.cpp | 944 ArrayRef<OMPClause *> Clauses = S->clauses(); in VisitOMPExecutableDirective() 945 for (ArrayRef<OMPClause *>::iterator I = Clauses.begin(), E = Clauses.end(); in VisitOMPExecutableDirective()
|
H A D | DeclPrinter.cpp | 1795 for (OMPClause *C : D->clauselists()) { in VisitOMPAllocateDecl()
|
H A D | JSONNodeDumper.cpp | 192 void JSONNodeDumper::Visit(const OMPClause *C) {} in Visit()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaOpenMP.cpp | 97 using DoacrossClauseMapTy = llvm::DenseMap<OMPClause *, OperatorOffsetTy>; 690 return llvm::any_of(D->clauselists(), [](const OMPClause *C) { in hasRequiresDeclWithClause() 698 bool hasDuplicateRequiresClause(ArrayRef<OMPClause *> ClauseList) const { in hasDuplicateRequiresClause() 700 for (OMPClause *CNew : ClauseList) { in hasDuplicateRequiresClause() 702 for (const OMPClause *CPrev : D->clauselists()) { in hasDuplicateRequiresClause() 1085 void addDoacrossDependClause(OMPClause *C, const OperatorOffsetTy &OpsOffs) { in addDoacrossDependClause() 2811 ArrayRef<OMPClause *> Clauses) { in checkReductionClauses() 2818 for (OMPClause *C : Clauses) { in checkReductionClauses() 2843 for (OMPClause *C : Clauses) { in checkReductionClauses() 2876 ArrayRef<OMPClause *> Clauses); [all …]
|
H A D | TreeTransform.h | 380 OMPClause *TransformOMPClause(OMPClause *S); 823 OMPClause *Transform##Class(Class *S); 1672 OpenMPDirectiveKind CancelRegion, ArrayRef<OMPClause *> Clauses, 1685 OMPClause *RebuildOMPIfClause(OpenMPDirectiveKind NameModifier, in RebuildOMPIfClause() 1700 OMPClause *RebuildOMPFinalClause(Expr *Condition, SourceLocation StartLoc, in RebuildOMPFinalClause() 1711 OMPClause *RebuildOMPNumThreadsClause(Expr *NumThreads, in RebuildOMPNumThreadsClause() 1723 OMPClause *RebuildOMPSafelenClause(Expr *Len, SourceLocation StartLoc, in RebuildOMPSafelenClause() 1734 OMPClause *RebuildOMPSimdlenClause(Expr *Len, SourceLocation StartLoc, in RebuildOMPSimdlenClause() 1741 OMPClause *RebuildOMPSizesClause(ArrayRef<Expr *> Sizes, in RebuildOMPSizesClause() 1750 OMPClause *RebuildOMPFullClause(SourceLocation StartLoc, in RebuildOMPFullClause() [all …]
|
H A D | SemaTemplateInstantiateDecl.cpp | 3613 SmallVector<OMPClause *, 4> Clauses; in VisitOMPAllocateDecl() 3615 for (OMPClause *C : D->clauselists()) { in VisitOMPAllocateDecl() 3616 OMPClause *IC = nullptr; in VisitOMPAllocateDecl() 3766 SmallVector<OMPClause *, 6> Clauses; in VisitOMPDeclareMapperDecl() 3782 for (OMPClause *C : D->clauselists()) { in VisitOMPDeclareMapperDecl() 3804 OMPClause *NewC = SemaRef.OpenMP().ActOnOpenMPMapClause( in VisitOMPDeclareMapperDecl()
|
/freebsd/contrib/llvm-project/clang/lib/Parse/ |
H A D | ParseOpenMP.cpp | 610 SmallVector<OMPClause *, 6> Clauses; in ParseOpenMPDeclareMapperDirective() 616 OMPClause *Clause = in ParseOpenMPDeclareMapperDirective() 1647 SmallVectorImpl<OMPClause *> &Clauses, in ParseOpenMPClauses() 1655 OMPClause *Clause = in ParseOpenMPClauses() 2113 SmallVector<OMPClause *, 1> Clauses; in ParseOpenMPDeclarativeDirectiveWithExtDecl() 2121 OMPClause *Clause = ParseOpenMPClause(OMPD_allocate, CKind, in ParseOpenMPDeclarativeDirectiveWithExtDecl() 2148 SmallVector<OMPClause *, 5> Clauses; in ParseOpenMPDeclarativeDirectiveWithExtDecl() 2160 OMPClause *Clause = ParseOpenMPClause(OMPD_requires, CKind, in ParseOpenMPDeclarativeDirectiveWithExtDecl() 2187 SmallVector<OMPClause *, 1> Clauses; in ParseOpenMPDeclarativeDirectiveWithExtDecl() 2424 SmallVector<OMPClause *, 5> Clauses; in ParseOpenMPExecutableDirective() [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/Parse/ |
H A D | Parser.h | 46 class OMPClause; variable 3453 SmallVectorImpl<clang::OMPClause *> &Clauses, 3540 OMPClause *ParseOpenMPClause(OpenMPDirectiveKind DKind, 3548 OMPClause *ParseOpenMPSingleExprClause(OpenMPClauseKind Kind, 3556 OMPClause *ParseOpenMPSimpleClause(OpenMPClauseKind Kind, bool ParseOnly); 3570 OMPClause *ParseOpenMPSingleExprWithArgClause(OpenMPDirectiveKind DKind, 3575 OMPClause *ParseOpenMPSizesClause(); 3583 OMPClause *ParseOpenMPClause(OpenMPClauseKind Kind, bool ParseOnly = false); 3590 OMPClause *ParseOpenMPVarListClause(OpenMPDirectiveKind DKind, 3618 OMPClause *ParseOpenMPUsesAllocatorClause(OpenMPDirectiveKind DKind); [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/Serialization/ |
H A D | ASTRecordWriter.h | 292 void writeOMPClause(OMPClause *C);
|
H A D | ASTRecordReader.h | 267 OMPClause *readOMPClause();
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGOpenMPRuntimeGPU.cpp | 261 ArrayRef<OMPClause *> Clauses, in VisitOpenMPCapturedStmt() 274 for (const OMPClause *C : Clauses) { in VisitOpenMPCapturedStmt() 2248 for (const OMPClause *Clause : D->clauselists()) { in processRequiresDirective()
|
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
H A D | ASTMatchers.h | 8659 internal::Matcher<OMPClause>, InnerMatcher) { in AST_MATCHER_P() argument 8660 ArrayRef<OMPClause *> Clauses = Node.clauses(); in AST_MATCHER_P() 8680 extern const internal::VariadicDynCastAllOfMatcher<OMPClause, OMPDefaultClause>
|
/freebsd/contrib/llvm-project/clang/lib/Serialization/ |
H A D | ASTReader.cpp | 10379 OMPClause *readClause(); 10386 OMPClause *ASTRecordReader::readOMPClause() { in readOMPClause() 10390 OMPClause *OMPClauseReader::readClause() { in readClause() 10391 OMPClause *C = nullptr; in readClause() 11857 SmallVector<OMPClause *, 4> Clauses(Data->getNumClauses()); in readOMPChildren()
|