Home
last modified time | relevance | path

Searched refs:OMPClause (Results 1 – 25 of 31) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaOpenMP.h214 StmtResult ActOnOpenMPMetaDirective(ArrayRef<OMPClause *> Clauses,
233 ArrayRef<OMPClause *> Clauses,
253 ArrayRef<OMPClause *> ClauseList);
256 ArrayRef<OMPClause *> Clauses);
290 Expr *MapperVarRef, ArrayRef<OMPClause *> Clauses,
398 StmtResult ActOnOpenMPRegionEnd(StmtResult S, ArrayRef<OMPClause *> Clauses);
401 OpenMPDirectiveKind CancelRegion, ArrayRef<OMPClause *> Clauses,
413 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
421 StmtResult ActOnOpenMPAssumeDirective(ArrayRef<OMPClause *> Clauses,
427 StmtResult ActOnOpenMPParallelDirective(ArrayRef<OMPClause *> Clauses,
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DOpenMPClause.h55 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 DStmtOpenMP.h278 MutableArrayRef<OMPClause *> getClauses() { in getClauses()
301 static T *createDirective(const ASTContext &C, ArrayRef<OMPClause *> Clauses, in createDirective()
352 used_clauses_child_iterator, ArrayRef<OMPClause *>::iterator,
354 ArrayRef<OMPClause *>::iterator End;
355 OMPClause::child_iterator ChildI, ChildEnd;
372 explicit used_clauses_child_iterator(ArrayRef<OMPClause *> Clauses) in used_clauses_child_iterator()
401 used_clauses_children(ArrayRef<OMPClause *> Clauses) { in used_clauses_children()
414 ArrayRef<OMPClause *>::const_iterator, std::forward_iterator_tag,
417 ArrayRef<OMPClause *>::const_iterator End;
425 explicit specific_clause_iterator(ArrayRef<OMPClause *> Clauses) in specific_clause_iterator()
[all …]
H A DDeclOpenMP.h35 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 DASTNodeTraverser.h251 void Visit(const OMPClause *C) { in Visit()
328 else if (const auto *C = N.get<OMPClause>()) in Visit()
H A DTextNodeDumper.h190 void Visit(const OMPClause *C);
H A DJSONNodeDumper.h207 void Visit(const OMPClause *C);
H A DRecursiveASTVisitor.h501 bool TraverseOMPClause(OMPClause *C);
3304 bool RecursiveASTVisitor<Derived>::TraverseOMPClause(OMPClause *C) {
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DStmtOpenMP.cpp22 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()
303 ArrayRef<OMPClause *> Clauses, Stmt *AssociatedStmt, in Create()
338 unsigned CollapsedNum, ArrayRef<OMPClause *> Clauses, Stmt *AssociatedStmt, in Create()
409 SourceLocation EndLoc, ArrayRef<OMPClause *> Clauses, in Create()
[all …]
H A DDeclOpenMP.cpp59 ArrayRef<OMPClause *> CL) { in Create()
88 ArrayRef<OMPClause *> CL) { in Create()
146 QualType T, DeclarationName VarName, ArrayRef<OMPClause *> Clauses, in Create()
H A DOpenMPClause.cpp31 OMPClause::child_range OMPClause::children() { in children()
44 OMPClause::child_range OMPClause::used_children() { in used_children()
58 OMPClauseWithPreInit *OMPClauseWithPreInit::get(OMPClause *C) { in get()
59 auto *Res = OMPClauseWithPreInit::get(const_cast<const OMPClause *>(C)); in get()
63 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()
302 OMPClause::child_range OMPIfClause::used_children() { in used_children()
308 OMPClause::child_range OMPGrainsizeClause::used_children() { in used_children()
[all …]
H A DASTTypeTraits.cpp162 ASTNodeKind ASTNodeKind::getFromNode(const OMPClause &C) { in getFromNode()
250 if (const auto *C = get<OMPClause>()) in getSourceRange()
H A DStmtProfile.cpp972 ArrayRef<OMPClause *> Clauses = S->clauses(); in VisitOMPExecutableDirective()
973 for (ArrayRef<OMPClause *>::iterator I = Clauses.begin(), E = Clauses.end(); in VisitOMPExecutableDirective()
H A DDeclPrinter.cpp1831 for (OMPClause *C : D->clauselists()) { in VisitOMPAllocateDecl()
H A DJSONNodeDumper.cpp191 void JSONNodeDumper::Visit(const OMPClause *C) {} in Visit()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DTreeTransform.h386 OMPClause *TransformOMPClause(OMPClause *S);
827 OMPClause *Transform##Class(Class *S);
1667 ArrayRef<OMPClause *> Clauses, in RebuildOMPExecutableDirective()
1678 ArrayRef<OMPClause *> Clauses, in RebuildOMPInformationalDirective()
1691 OMPClause *RebuildOMPIfClause(OpenMPDirectiveKind NameModifier, in RebuildOMPIfClause()
1706 OMPClause *RebuildOMPFinalClause(Expr *Condition, SourceLocation StartLoc, in RebuildOMPFinalClause()
1717 OMPClause *RebuildOMPNumThreadsClause(OpenMPNumThreadsClauseModifier Modifier, in RebuildOMPNumThreadsClause()
1731 OMPClause *RebuildOMPSafelenClause(Expr *Len, SourceLocation StartLoc, in RebuildOMPSafelenClause()
1742 OMPClause *RebuildOMPSimdlenClause(Expr *Len, SourceLocation StartLoc, in RebuildOMPSimdlenClause()
1749 OMPClause *RebuildOMPSizesClause(ArrayRef<Expr *> Sizes, in RebuildOMPSizesClause()
[all …]
H A DSemaOpenMP.cpp98 using DoacrossClauseMapTy = llvm::DenseMap<OMPClause *, OperatorOffsetTy>;
669 return llvm::any_of(D->clauselists(), [](const OMPClause *C) { in hasRequiresDeclWithClause()
677 bool hasDuplicateRequiresClause(ArrayRef<OMPClause *> ClauseList) const { in hasDuplicateRequiresClause()
679 for (OMPClause *CNew : ClauseList) { in hasDuplicateRequiresClause()
681 for (const OMPClause *CPrev : D->clauselists()) { in hasDuplicateRequiresClause()
1065 void addDoacrossDependClause(OMPClause *C, const OperatorOffsetTy &OpsOffs) { in addDoacrossDependClause()
2787 ArrayRef<OMPClause *> Clauses) { in checkReductionClauses()
2794 for (OMPClause *C : Clauses) { in checkReductionClauses()
2819 for (OMPClause *C : Clauses) { in checkReductionClauses()
2852 ArrayRef<OMPClause *> Clauses);
[all …]
H A DSemaTemplateInstantiateDecl.cpp4158 SmallVector<OMPClause *, 4> Clauses; in VisitOMPAllocateDecl()
4160 for (OMPClause *C : D->clauselists()) { in VisitOMPAllocateDecl()
4161 OMPClause *IC = nullptr; in VisitOMPAllocateDecl()
4311 SmallVector<OMPClause *, 6> Clauses; in VisitOMPDeclareMapperDecl()
4327 for (OMPClause *C : D->clauselists()) { in VisitOMPDeclareMapperDecl()
4349 OMPClause *NewC = SemaRef.OpenMP().ActOnOpenMPMapClause( in VisitOMPDeclareMapperDecl()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseOpenMP.cpp476 SmallVector<OMPClause *, 6> Clauses; in ParseOpenMPDeclareMapperDirective()
482 OMPClause *Clause = in ParseOpenMPDeclareMapperDirective()
1593 SmallVectorImpl<OMPClause *> &Clauses, in ParseOpenMPClauses()
1601 OMPClause *Clause = in ParseOpenMPClauses()
2017 SmallVector<OMPClause *, 1> Clauses; in ParseOpenMPDeclarativeDirectiveWithExtDecl()
2025 OMPClause *Clause = ParseOpenMPClause(OMPD_allocate, CKind, in ParseOpenMPDeclarativeDirectiveWithExtDecl()
2052 SmallVector<OMPClause *, 5> Clauses; in ParseOpenMPDeclarativeDirectiveWithExtDecl()
2064 OMPClause *Clause = ParseOpenMPClause(OMPD_requires, CKind, in ParseOpenMPDeclarativeDirectiveWithExtDecl()
2091 SmallVector<OMPClause *, 1> Clauses; in ParseOpenMPDeclarativeDirectiveWithExtDecl()
2283 SmallVector<OMPClause *, 5> Clauses; in ParseOpenMPExecutableDirective()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h47 class OMPClause; variable
6427 SmallVectorImpl<clang::OMPClause *> &Clauses,
6648 OMPClause *ParseOpenMPClause(OpenMPDirectiveKind DKind,
6703 OMPClause *ParseOpenMPSingleExprClause(OpenMPClauseKind Kind, bool ParseOnly);
6725 OMPClause *ParseOpenMPSimpleClause(OpenMPClauseKind Kind, bool ParseOnly);
6758 OMPClause *ParseOpenMPSingleExprWithArgClause(OpenMPDirectiveKind DKind,
6763 OMPClause *ParseOpenMPSizesClause();
6766 OMPClause *ParseOpenMPPermutationClause();
6800 OMPClause *ParseOpenMPClause(OpenMPClauseKind Kind, bool ParseOnly = false);
6870 OMPClause *ParseOpenMPVarListClause(OpenMPDirectiveKind DKind,
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Serialization/
H A DASTRecordReader.h268 OMPClause *readOMPClause();
H A DASTRecordWriter.h320 void writeOMPClause(OMPClause *C);
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenMPRuntimeGPU.cpp262 ArrayRef<OMPClause *> Clauses, in VisitOpenMPCapturedStmt()
275 for (const OMPClause *C : Clauses) { in VisitOpenMPCapturedStmt()
2245 for (const OMPClause *Clause : D->clauselists()) { in processRequiresDirective()
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h8730 internal::Matcher<OMPClause>, InnerMatcher) { in AST_MATCHER_P() argument
8731 ArrayRef<OMPClause *> Clauses = Node.clauses(); in AST_MATCHER_P()
8751 extern const internal::VariadicDynCastAllOfMatcher<OMPClause, OMPDefaultClause>
/freebsd/contrib/llvm-project/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp1128 const internal::VariadicDynCastAllOfMatcher<OMPClause, OMPDefaultClause>

12