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::alignTo(sizeof(OMPParallelDirective), llvm::alignOf<OMPClause *>()); in Create()
63 C.Allocate(Size + sizeof(OMPClause *) * Clauses.size() + sizeof(Stmt *)); in Create()
76 llvm::alignTo(sizeof(OMPParallelDirective), 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::alignTo(sizeof(OMPSimdDirective), llvm::alignOf<OMPClause *>()); in Create()
90 C.Allocate(Size + sizeof(OMPClause *) * Clauses.size() + in Create()
117 llvm::alignTo(sizeof(OMPSimdDirective), llvm::alignOf<OMPClause *>()); in CreateEmpty()
[all …]
DOpenMPClause.cpp20 OMPClause::child_range OMPClause::children() { in children()
32 OMPClauseWithPreInit *OMPClauseWithPreInit::get(OMPClause *C) { in get()
33 auto *Res = OMPClauseWithPreInit::get(const_cast<const OMPClause *>(C)); in get()
37 const OMPClauseWithPreInit *OMPClauseWithPreInit::get(const OMPClause *C) { in get()
100 OMPClauseWithPostUpdate *OMPClauseWithPostUpdate::get(OMPClause *C) { in get()
101 auto *Res = OMPClauseWithPostUpdate::get(const_cast<const OMPClause *>(C)); in get()
105 const OMPClauseWithPostUpdate *OMPClauseWithPostUpdate::get(const OMPClause *C) { in get()
DStmtProfile.cpp546 ArrayRef<OMPClause *> Clauses = S->clauses(); in VisitOMPExecutableDirective()
547 for (ArrayRef<OMPClause *>::iterator I = Clauses.begin(), E = Clauses.end(); in VisitOMPExecutableDirective()
DStmtPrinter.cpp974 ArrayRef<OMPClause *> Clauses = S->clauses(); in PrintOMPExecutableDirective()
975 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
82 OMPClauseWithPreInit(const OMPClause *This) : PreInit(nullptr) { in OMPClauseWithPreInit()
91 static OMPClauseWithPreInit *get(OMPClause *C);
92 static const OMPClauseWithPreInit *get(const OMPClause *C);
104 OMPClauseWithPostUpdate(const OMPClause *This) in OMPClauseWithPostUpdate()
114 static OMPClauseWithPostUpdate *get(OMPClause *C);
115 static const OMPClauseWithPostUpdate *get(const OMPClause *C);
[all …]
DStmtOpenMP.h52 MutableArrayRef<OMPClause *> getClauses() { in getClauses()
53 OMPClause **ClauseStorage = reinterpret_cast<OMPClause **>( in getClauses()
55 return MutableArrayRef<OMPClause *>(ClauseStorage, NumClauses); in getClauses()
73 ClausesOffset(llvm::alignTo(sizeof(T), llvm::alignOf<OMPClause *>())) {} in OMPExecutableDirective()
79 void setClauses(ArrayRef<OMPClause *> Clauses);
99 ArrayRef<OMPClause *>::const_iterator, std::forward_iterator_tag,
102 ArrayRef<OMPClause *>::const_iterator End;
110 explicit specific_clause_iterator(ArrayRef<OMPClause *> Clauses) in specific_clause_iterator()
130 getClausesOfKind(ArrayRef<OMPClause *> Clauses) { in getClausesOfKind()
190 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.h500 bool TraverseOMPClause(OMPClause *C);
2578 bool RecursiveASTVisitor<Derived>::TraverseOMPClause(OMPClause *C) {
/external/clang/lib/Sema/
DSemaOpenMP.cpp1783 ArrayRef<OMPClause *> Clauses) { in ActOnOpenMPRegionEnd()
3298 ArrayRef<OMPClause *> Clauses, in checkIfClauses()
3381 OpenMPDirectiveKind CancelRegion, ArrayRef<OMPClause *> Clauses, in ActOnOpenMPExecutableDirective()
3388 llvm::SmallVector<OMPClause *, 8> ClausesWithImplicit; in ActOnOpenMPExecutableDirective()
3404 if (OMPClause *Implicit = ActOnOpenMPFirstprivateClause( in ActOnOpenMPExecutableDirective()
3876 StmtResult Sema::ActOnOpenMPParallelDirective(ArrayRef<OMPClause *> Clauses, in ActOnOpenMPParallelDirective()
5413 static Expr *getCollapseNumberExpr(ArrayRef<OMPClause *> Clauses) { in getCollapseNumberExpr()
5421 static Expr *getOrderedNumberExpr(ArrayRef<OMPClause *> Clauses) { in getOrderedNumberExpr()
5454 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc, in ActOnOpenMPSimdDirective()
5508 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc, in ActOnOpenMPForDirective()
[all …]
DTreeTransform.h329 OMPClause *TransformOMPClause(OMPClause *S);
667 OMPClause *Transform ## Class(Class *S);
1387 ArrayRef<OMPClause *> Clauses, in RebuildOMPExecutableDirective()
1398 OMPClause *RebuildOMPIfClause(OpenMPDirectiveKind NameModifier, in RebuildOMPIfClause()
1413 OMPClause *RebuildOMPFinalClause(Expr *Condition, SourceLocation StartLoc, in RebuildOMPFinalClause()
1424 OMPClause *RebuildOMPNumThreadsClause(Expr *NumThreads, in RebuildOMPNumThreadsClause()
1436 OMPClause *RebuildOMPSafelenClause(Expr *Len, SourceLocation StartLoc, in RebuildOMPSafelenClause()
1446 OMPClause *RebuildOMPSimdlenClause(Expr *Len, SourceLocation StartLoc, in RebuildOMPSimdlenClause()
1456 OMPClause *RebuildOMPCollapseClause(Expr *Num, SourceLocation StartLoc, in RebuildOMPCollapseClause()
1467 OMPClause *RebuildOMPDefaultClause(OpenMPDefaultClauseKind Kind, in RebuildOMPDefaultClause()
[all …]
/external/clang/include/clang/Sema/
DSema.h150 class OMPClause; variable
8037 StmtResult ActOnOpenMPRegionEnd(StmtResult S, ArrayRef<OMPClause *> Clauses);
8040 OpenMPDirectiveKind CancelRegion, ArrayRef<OMPClause *> Clauses,
8044 StmtResult ActOnOpenMPParallelDirective(ArrayRef<OMPClause *> Clauses,
8051 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
8057 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
8063 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
8068 StmtResult ActOnOpenMPSectionsDirective(ArrayRef<OMPClause *> Clauses,
8077 StmtResult ActOnOpenMPSingleDirective(ArrayRef<OMPClause *> Clauses,
8087 ArrayRef<OMPClause *> Clauses,
[all …]
/external/clang/lib/Parse/
DParseOpenMP.cpp784 SmallVector<OMPClause *, 5> Clauses; in ParseOpenMPDeclarativeOrExecutableDirective()
785 SmallVector<llvm::PointerIntPair<OMPClause *, 1, bool>, OMPC_unknown + 1> in ParseOpenMPDeclarativeOrExecutableDirective()
922 OMPClause *Clause = in ParseOpenMPDeclarativeOrExecutableDirective()
1066 OMPClause *Parser::ParseOpenMPClause(OpenMPDirectiveKind DKind, in ParseOpenMPClause()
1068 OMPClause *Clause = nullptr; in ParseOpenMPClause()
1262 OMPClause *Parser::ParseOpenMPSingleExprClause(OpenMPClauseKind Kind) { in ParseOpenMPSingleExprClause()
1283 OMPClause *Parser::ParseOpenMPSimpleClause(OpenMPClauseKind Kind) { in ParseOpenMPSimpleClause()
1332 OMPClause *Parser::ParseOpenMPClause(OpenMPClauseKind Kind) { in ParseOpenMPClause()
1353 OMPClause *Parser::ParseOpenMPSingleExprWithArgClause(OpenMPClauseKind Kind) { in ParseOpenMPSingleExprWithArgClause()
1765 OMPClause *Parser::ParseOpenMPVarListClause(OpenMPDirectiveKind DKind, in ParseOpenMPVarListClause()
/external/clang/include/clang/Parse/
DParser.h48 class OMPClause; variable
2518 OMPClause *ParseOpenMPClause(OpenMPDirectiveKind DKind,
2524 OMPClause *ParseOpenMPSingleExprClause(OpenMPClauseKind Kind);
2529 OMPClause *ParseOpenMPSimpleClause(OpenMPClauseKind Kind);
2535 OMPClause *ParseOpenMPSingleExprWithArgClause(OpenMPClauseKind Kind);
2540 OMPClause *ParseOpenMPClause(OpenMPClauseKind Kind);
2545 OMPClause *ParseOpenMPVarListClause(OpenMPDirectiveKind DKind,
/external/clang/lib/Serialization/
DASTReaderStmt.cpp1768 OMPClause *readClause();
1774 OMPClause *OMPClauseReader::readClause() { in readClause()
1775 OMPClause *C; in readClause()
2479 SmallVector<OMPClause *, 5> Clauses; in VisitOMPExecutableDirective()
DASTWriterStmt.cpp1775 void writeClause(OMPClause *C);
1781 void OMPClauseWriter::writeClause(OMPClause *C) { in writeClause()
/external/clang/tools/libclang/
DCIndex.cpp1990 void EnqueueChildren(const OMPClause *S);
2288 void EnqueueVisitor::EnqueueChildren(const OMPClause *S) { in EnqueueChildren()
2586 for (ArrayRef<OMPClause *>::iterator I = D->clauses().begin(), in VisitOMPExecutableDirective()