Lines Matching refs:Clauses
1490 void OMPExecutableDirective::setClauses(ArrayRef<OMPClause *> Clauses) { in setClauses() argument
1491 assert(Clauses.size() == getNumClauses() && in setClauses()
1493 std::copy(Clauses.begin(), Clauses.end(), getClauses().begin()); in setClauses()
1601 ArrayRef<OMPClause *> Clauses, in Create() argument
1605 void *Mem = C.Allocate(Size + sizeof(OMPClause *) * Clauses.size() + in Create()
1608 Clauses.size()); in Create()
1609 Dir->setClauses(Clauses); in Create()
1627 ArrayRef<OMPClause *> Clauses, Stmt *AssociatedStmt, in Create() argument
1632 C.Allocate(Size + sizeof(OMPClause *) * Clauses.size() + in Create()
1635 OMPSimdDirective(StartLoc, EndLoc, CollapsedNum, Clauses.size()); in Create()
1636 Dir->setClauses(Clauses); in Create()
1666 ArrayRef<OMPClause *> Clauses, Stmt *AssociatedStmt, in Create() argument
1671 C.Allocate(Size + sizeof(OMPClause *) * Clauses.size() + in Create()
1674 new (Mem) OMPForDirective(StartLoc, EndLoc, CollapsedNum, Clauses.size()); in Create()
1675 Dir->setClauses(Clauses); in Create()
1712 ArrayRef<OMPClause *> Clauses, Stmt *AssociatedStmt, in Create() argument
1717 C.Allocate(Size + sizeof(OMPClause *) * Clauses.size() + in Create()
1720 OMPForSimdDirective(StartLoc, EndLoc, CollapsedNum, Clauses.size()); in Create()
1721 Dir->setClauses(Clauses); in Create()
1757 ArrayRef<OMPClause *> Clauses, Stmt *AssociatedStmt) { in Create() argument
1761 C.Allocate(Size + sizeof(OMPClause *) * Clauses.size() + sizeof(Stmt *)); in Create()
1763 new (Mem) OMPSectionsDirective(StartLoc, EndLoc, Clauses.size()); in Create()
1764 Dir->setClauses(Clauses); in Create()
1802 ArrayRef<OMPClause *> Clauses, in Create() argument
1807 C.Allocate(Size + sizeof(OMPClause *) * Clauses.size() + sizeof(Stmt *)); in Create()
1809 new (Mem) OMPSingleDirective(StartLoc, EndLoc, Clauses.size()); in Create()
1810 Dir->setClauses(Clauses); in Create()
1867 unsigned CollapsedNum, ArrayRef<OMPClause *> Clauses, Stmt *AssociatedStmt, in Create() argument
1871 void *Mem = C.Allocate(Size + sizeof(OMPClause *) * Clauses.size() + in Create()
1875 OMPParallelForDirective(StartLoc, EndLoc, CollapsedNum, Clauses.size()); in Create()
1876 Dir->setClauses(Clauses); in Create()
1911 unsigned CollapsedNum, ArrayRef<OMPClause *> Clauses, Stmt *AssociatedStmt, in Create() argument
1916 Size + sizeof(OMPClause *) * Clauses.size() + in Create()
1919 StartLoc, EndLoc, CollapsedNum, Clauses.size()); in Create()
1920 Dir->setClauses(Clauses); in Create()
1956 ArrayRef<OMPClause *> Clauses, Stmt *AssociatedStmt) { in Create() argument
1960 C.Allocate(Size + sizeof(OMPClause *) * Clauses.size() + sizeof(Stmt *)); in Create()
1962 new (Mem) OMPParallelSectionsDirective(StartLoc, EndLoc, Clauses.size()); in Create()
1963 Dir->setClauses(Clauses); in Create()
1981 ArrayRef<OMPClause *> Clauses, in Create() argument
1986 C.Allocate(Size + sizeof(OMPClause *) * Clauses.size() + sizeof(Stmt *)); in Create()
1988 new (Mem) OMPTaskDirective(StartLoc, EndLoc, Clauses.size()); in Create()
1989 Dir->setClauses(Clauses); in Create()
2050 ArrayRef<OMPClause *> Clauses) { in Create() argument
2053 void *Mem = C.Allocate(Size + sizeof(OMPClause *) * Clauses.size()); in Create()
2055 new (Mem) OMPFlushDirective(StartLoc, EndLoc, Clauses.size()); in Create()
2056 Dir->setClauses(Clauses); in Create()
2091 ArrayRef<OMPClause *> Clauses, Stmt *AssociatedStmt, Expr *X, Expr *V, in Create() argument
2095 void *Mem = C.Allocate(Size + sizeof(OMPClause *) * Clauses.size() + in Create()
2098 new (Mem) OMPAtomicDirective(StartLoc, EndLoc, Clauses.size()); in Create()
2099 Dir->setClauses(Clauses); in Create()
2123 ArrayRef<OMPClause *> Clauses, in Create() argument
2128 C.Allocate(Size + sizeof(OMPClause *) * Clauses.size() + sizeof(Stmt *)); in Create()
2130 new (Mem) OMPTargetDirective(StartLoc, EndLoc, Clauses.size()); in Create()
2131 Dir->setClauses(Clauses); in Create()
2149 ArrayRef<OMPClause *> Clauses, in Create() argument
2154 C.Allocate(Size + sizeof(OMPClause *) * Clauses.size() + sizeof(Stmt *)); in Create()
2156 new (Mem) OMPTeamsDirective(StartLoc, EndLoc, Clauses.size()); in Create()
2157 Dir->setClauses(Clauses); in Create()