Home
last modified time | relevance | path

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

/external/clang/lib/AST/
DStmtOpenMP.cpp20 void OMPExecutableDirective::setClauses(ArrayRef<OMPClause *> Clauses) { in setClauses()
59 ArrayRef<OMPClause *> Clauses, Stmt *AssociatedStmt, bool HasCancel) { in Create()
61 llvm::alignOf<OMPClause *>()); in Create()
63 C.Allocate(Size + sizeof(OMPClause *) * Clauses.size() + sizeof(Stmt *)); in Create()
76 llvm::alignOf<OMPClause *>()); in CreateEmpty()
78 C.Allocate(Size + sizeof(OMPClause *) * NumClauses + sizeof(Stmt *)); in CreateEmpty()
85 ArrayRef<OMPClause *> Clauses, Stmt *AssociatedStmt, in Create()
88 llvm::alignOf<OMPClause *>()); in Create()
90 C.Allocate(Size + sizeof(OMPClause *) * Clauses.size() + in Create()
116 llvm::alignOf<OMPClause *>()); in CreateEmpty()
[all …]
DOpenMPClause.cpp20 OMPClause::child_range OMPClause::children() { in children()
DStmtProfile.cpp484 ArrayRef<OMPClause *> Clauses = S->clauses(); in VisitOMPExecutableDirective()
485 for (ArrayRef<OMPClause *>::iterator I = Clauses.begin(), E = Clauses.end(); in VisitOMPExecutableDirective()
DStmtPrinter.cpp910 ArrayRef<OMPClause *> Clauses = S->clauses(); in PrintOMPExecutableDirective()
911 for (ArrayRef<OMPClause *>::iterator I = Clauses.begin(), E = Clauses.end(); in PrintOMPExecutableDirective()
/external/clang/include/clang/AST/
DOpenMPClause.h32 class OMPClause {
41 OMPClause(OpenMPClauseKind K, SourceLocation StartLoc, SourceLocation EndLoc) in OMPClause() function
67 auto Children = const_cast<OMPClause *>(this)->children(); in children()
70 static bool classof(const OMPClause *) { return true; } in classof() argument
76 template <class T> class OMPVarListClause : public OMPClause {
114 : OMPClause(K, StartLoc, EndLoc), LParenLoc(LParenLoc), NumVars(N) {} in OMPVarListClause()
160 class OMPIfClause : public OMPClause {
201 : OMPClause(OMPC_if, StartLoc, EndLoc), LParenLoc(LParenLoc), in OMPIfClause()
208 : OMPClause(OMPC_if, SourceLocation(), SourceLocation()), LParenLoc(), in OMPIfClause()
228 static bool classof(const OMPClause *T) { in classof()
[all …]
DStmtOpenMP.h52 MutableArrayRef<OMPClause *> getClauses() { in getClauses()
53 OMPClause **ClauseStorage = reinterpret_cast<OMPClause **>( in getClauses()
55 return MutableArrayRef<OMPClause *>(ClauseStorage, NumClauses); in getClauses()
74 llvm::alignOf<OMPClause *>())) {} in OMPExecutableDirective()
80 void setClauses(ArrayRef<OMPClause *> Clauses);
100 ArrayRef<OMPClause *>::const_iterator, std::forward_iterator_tag,
103 ArrayRef<OMPClause *>::const_iterator End;
111 explicit specific_clause_iterator(ArrayRef<OMPClause *> Clauses) in specific_clause_iterator()
131 getClausesOfKind(ArrayRef<OMPClause *> Clauses) { in getClausesOfKind()
191 OMPClause *getClause(unsigned i) const { return clauses()[i]; } in getClause()
[all …]
DStmtVisitor.h203 RetTy Visit(PTR(OMPClause) S) { in Visit()
213 RetTy VisitOMPClause(PTR(OMPClause) Node) { return RetTy(); } in VisitOMPClause()
DRecursiveASTVisitor.h478 bool TraverseOMPClause(OMPClause *C);
2447 bool RecursiveASTVisitor<Derived>::TraverseOMPClause(OMPClause *C) {
/external/clang/lib/Sema/
DSemaOpenMP.cpp1593 ArrayRef<OMPClause *> Clauses) { in ActOnOpenMPRegionEnd()
2385 ArrayRef<OMPClause *> Clauses, in checkIfClauses()
2468 OpenMPDirectiveKind CancelRegion, ArrayRef<OMPClause *> Clauses, in ActOnOpenMPExecutableDirective()
2475 llvm::SmallVector<OMPClause *, 8> ClausesWithImplicit; in ActOnOpenMPExecutableDirective()
2491 if (OMPClause *Implicit = ActOnOpenMPFirstprivateClause( in ActOnOpenMPExecutableDirective()
2665 StmtResult Sema::ActOnOpenMPParallelDirective(ArrayRef<OMPClause *> Clauses, in ActOnOpenMPParallelDirective()
4040 static Expr *getCollapseNumberExpr(ArrayRef<OMPClause *> Clauses) { in getCollapseNumberExpr()
4048 static Expr *getOrderedNumberExpr(ArrayRef<OMPClause *> Clauses) { in getOrderedNumberExpr()
4081 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc, in ActOnOpenMPSimdDirective()
4134 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc, in ActOnOpenMPForDirective()
[all …]
DTreeTransform.h329 OMPClause *TransformOMPClause(OMPClause *S);
658 OMPClause *Transform ## Class(Class *S);
1375 ArrayRef<OMPClause *> Clauses, in RebuildOMPExecutableDirective()
1386 OMPClause *RebuildOMPIfClause(OpenMPDirectiveKind NameModifier, in RebuildOMPIfClause()
1401 OMPClause *RebuildOMPFinalClause(Expr *Condition, SourceLocation StartLoc, in RebuildOMPFinalClause()
1412 OMPClause *RebuildOMPNumThreadsClause(Expr *NumThreads, in RebuildOMPNumThreadsClause()
1424 OMPClause *RebuildOMPSafelenClause(Expr *Len, SourceLocation StartLoc, in RebuildOMPSafelenClause()
1434 OMPClause *RebuildOMPSimdlenClause(Expr *Len, SourceLocation StartLoc, in RebuildOMPSimdlenClause()
1444 OMPClause *RebuildOMPCollapseClause(Expr *Num, SourceLocation StartLoc, in RebuildOMPCollapseClause()
1455 OMPClause *RebuildOMPDefaultClause(OpenMPDefaultClauseKind Kind, in RebuildOMPDefaultClause()
[all …]
/external/clang/lib/Parse/
DParseOpenMP.cpp173 SmallVector<OMPClause *, 5> Clauses; in ParseOpenMPDeclarativeOrExecutableDirective()
174 SmallVector<llvm::PointerIntPair<OMPClause *, 1, bool>, OMPC_unknown + 1> in ParseOpenMPDeclarativeOrExecutableDirective()
280 OMPClause *Clause = in ParseOpenMPDeclarativeOrExecutableDirective()
421 OMPClause *Parser::ParseOpenMPClause(OpenMPDirectiveKind DKind, in ParseOpenMPClause()
423 OMPClause *Clause = nullptr; in ParseOpenMPClause()
586 OMPClause *Parser::ParseOpenMPSingleExprClause(OpenMPClauseKind Kind) { in ParseOpenMPSingleExprClause()
617 OMPClause *Parser::ParseOpenMPSimpleClause(OpenMPClauseKind Kind) { in ParseOpenMPSimpleClause()
666 OMPClause *Parser::ParseOpenMPClause(OpenMPClauseKind Kind) { in ParseOpenMPClause()
683 OMPClause *Parser::ParseOpenMPSingleExprWithArgClause(OpenMPClauseKind Kind) { in ParseOpenMPSingleExprWithArgClause()
817 OMPClause *Parser::ParseOpenMPVarListClause(OpenMPDirectiveKind DKind, in ParseOpenMPVarListClause()
/external/clang/include/clang/Sema/
DSema.h147 class OMPClause; variable
7829 StmtResult ActOnOpenMPRegionEnd(StmtResult S, ArrayRef<OMPClause *> Clauses);
7832 OpenMPDirectiveKind CancelRegion, ArrayRef<OMPClause *> Clauses,
7836 StmtResult ActOnOpenMPParallelDirective(ArrayRef<OMPClause *> Clauses,
7843 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
7849 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
7855 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
7860 StmtResult ActOnOpenMPSectionsDirective(ArrayRef<OMPClause *> Clauses,
7869 StmtResult ActOnOpenMPSingleDirective(ArrayRef<OMPClause *> Clauses,
7879 ArrayRef<OMPClause *> Clauses,
[all …]
/external/clang/include/clang/Parse/
DParser.h48 class OMPClause; variable
2454 OMPClause *ParseOpenMPClause(OpenMPDirectiveKind DKind,
2460 OMPClause *ParseOpenMPSingleExprClause(OpenMPClauseKind Kind);
2465 OMPClause *ParseOpenMPSimpleClause(OpenMPClauseKind Kind);
2471 OMPClause *ParseOpenMPSingleExprWithArgClause(OpenMPClauseKind Kind);
2476 OMPClause *ParseOpenMPClause(OpenMPClauseKind Kind);
2481 OMPClause *ParseOpenMPVarListClause(OpenMPDirectiveKind DKind,
/external/clang/lib/Serialization/
DASTReaderStmt.cpp1747 OMPClause *readClause();
1751 OMPClause *OMPClauseReader::readClause() { in readClause()
1752 OMPClause *C; in readClause()
2237 SmallVector<OMPClause *, 5> Clauses; in VisitOMPExecutableDirective()
DASTWriterStmt.cpp1756 void writeClause(OMPClause *C);
1760 void OMPClauseWriter::writeClause(OMPClause *C) { in writeClause()
/external/clang/tools/libclang/
DCIndex.cpp1958 void EnqueueChildren(const OMPClause *S);
2215 void EnqueueVisitor::EnqueueChildren(const OMPClause *S) { in EnqueueChildren()
2513 for (ArrayRef<OMPClause *>::iterator I = D->clauses().begin(), in VisitOMPExecutableDirective()