Lines Matching refs:OMPClause

20 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()
119 C.Allocate(Size + sizeof(OMPClause *) * NumClauses + in CreateEmpty()
127 ArrayRef<OMPClause *> Clauses, Stmt *AssociatedStmt, in Create()
130 llvm::alignTo(sizeof(OMPForDirective), llvm::alignOf<OMPClause *>()); in Create()
132 C.Allocate(Size + sizeof(OMPClause *) * Clauses.size() + in Create()
170 llvm::alignTo(sizeof(OMPForDirective), llvm::alignOf<OMPClause *>()); in CreateEmpty()
172 C.Allocate(Size + sizeof(OMPClause *) * NumClauses + in CreateEmpty()
180 ArrayRef<OMPClause *> Clauses, Stmt *AssociatedStmt, in Create()
183 llvm::alignTo(sizeof(OMPForSimdDirective), llvm::alignOf<OMPClause *>()); in Create()
185 C.Allocate(Size + sizeof(OMPClause *) * Clauses.size() + in Create()
222 llvm::alignTo(sizeof(OMPForSimdDirective), llvm::alignOf<OMPClause *>()); in CreateEmpty()
224 C.Allocate(Size + sizeof(OMPClause *) * NumClauses + in CreateEmpty()
231 ArrayRef<OMPClause *> Clauses, Stmt *AssociatedStmt, bool HasCancel) { in Create()
233 llvm::alignTo(sizeof(OMPSectionsDirective), llvm::alignOf<OMPClause *>()); in Create()
235 C.Allocate(Size + sizeof(OMPClause *) * Clauses.size() + sizeof(Stmt *)); in Create()
248 llvm::alignTo(sizeof(OMPSectionsDirective), llvm::alignOf<OMPClause *>()); in CreateEmpty()
250 C.Allocate(Size + sizeof(OMPClause *) * NumClauses + sizeof(Stmt *)); in CreateEmpty()
279 ArrayRef<OMPClause *> Clauses, in Create()
282 llvm::alignTo(sizeof(OMPSingleDirective), llvm::alignOf<OMPClause *>()); in Create()
284 C.Allocate(Size + sizeof(OMPClause *) * Clauses.size() + sizeof(Stmt *)); in Create()
296 llvm::alignTo(sizeof(OMPSingleDirective), llvm::alignOf<OMPClause *>()); in CreateEmpty()
298 C.Allocate(Size + sizeof(OMPClause *) * NumClauses + sizeof(Stmt *)); in CreateEmpty()
325 ArrayRef<OMPClause *> Clauses, Stmt *AssociatedStmt) { in Create()
327 llvm::alignTo(sizeof(OMPCriticalDirective), llvm::alignOf<OMPClause *>()); in Create()
329 C.Allocate(Size + sizeof(OMPClause *) * Clauses.size() + sizeof(Stmt *)); in Create()
341 llvm::alignTo(sizeof(OMPCriticalDirective), llvm::alignOf<OMPClause *>()); in CreateEmpty()
343 C.Allocate(Size + sizeof(OMPClause *) * NumClauses + sizeof(Stmt *)); in CreateEmpty()
349 unsigned CollapsedNum, ArrayRef<OMPClause *> Clauses, Stmt *AssociatedStmt, in Create()
352 llvm::alignOf<OMPClause *>()); in Create()
353 void *Mem = C.Allocate(Size + sizeof(OMPClause *) * Clauses.size() + in Create()
391 llvm::alignOf<OMPClause *>()); in CreateEmpty()
392 void *Mem = C.Allocate(Size + sizeof(OMPClause *) * NumClauses + in CreateEmpty()
400 unsigned CollapsedNum, ArrayRef<OMPClause *> Clauses, Stmt *AssociatedStmt, in Create()
403 llvm::alignOf<OMPClause *>()); in Create()
405 Size + sizeof(OMPClause *) * Clauses.size() + in Create()
442 llvm::alignOf<OMPClause *>()); in CreateEmpty()
444 Size + sizeof(OMPClause *) * NumClauses + in CreateEmpty()
451 ArrayRef<OMPClause *> Clauses, Stmt *AssociatedStmt, bool HasCancel) { in Create()
453 llvm::alignOf<OMPClause *>()); in Create()
455 C.Allocate(Size + sizeof(OMPClause *) * Clauses.size() + sizeof(Stmt *)); in Create()
468 llvm::alignOf<OMPClause *>()); in CreateEmpty()
470 C.Allocate(Size + sizeof(OMPClause *) * NumClauses + sizeof(Stmt *)); in CreateEmpty()
476 SourceLocation EndLoc, ArrayRef<OMPClause *> Clauses, in Create()
479 llvm::alignTo(sizeof(OMPTaskDirective), llvm::alignOf<OMPClause *>()); in Create()
481 C.Allocate(Size + sizeof(OMPClause *) * Clauses.size() + sizeof(Stmt *)); in Create()
494 llvm::alignTo(sizeof(OMPTaskDirective), llvm::alignOf<OMPClause *>()); in CreateEmpty()
496 C.Allocate(Size + sizeof(OMPClause *) * NumClauses + sizeof(Stmt *)); in CreateEmpty()
586 SourceLocation EndLoc, ArrayRef<OMPClause *> Clauses, in Create()
589 sizeof(OMPClause *) * Clauses.size(), in Create()
603 sizeof(OMPClause *) * NumClauses, in CreateEmpty()
612 ArrayRef<OMPClause *> Clauses) { in Create()
614 llvm::alignTo(sizeof(OMPFlushDirective), llvm::alignOf<OMPClause *>()); in Create()
615 void *Mem = C.Allocate(Size + sizeof(OMPClause *) * Clauses.size()); in Create()
626 llvm::alignTo(sizeof(OMPFlushDirective), llvm::alignOf<OMPClause *>()); in CreateEmpty()
627 void *Mem = C.Allocate(Size + sizeof(OMPClause *) * NumClauses); in CreateEmpty()
634 ArrayRef<OMPClause *> Clauses, in Create()
637 llvm::alignTo(sizeof(OMPOrderedDirective), llvm::alignOf<OMPClause *>()); in Create()
639 C.Allocate(Size + sizeof(Stmt *) + sizeof(OMPClause *) * Clauses.size()); in Create()
651 llvm::alignTo(sizeof(OMPOrderedDirective), llvm::alignOf<OMPClause *>()); in CreateEmpty()
653 C.Allocate(Size + sizeof(Stmt *) + sizeof(OMPClause *) * NumClauses); in CreateEmpty()
659 ArrayRef<OMPClause *> Clauses, Stmt *AssociatedStmt, Expr *X, Expr *V, in Create()
662 llvm::alignTo(sizeof(OMPAtomicDirective), llvm::alignOf<OMPClause *>()); in Create()
663 void *Mem = C.Allocate(Size + sizeof(OMPClause *) * Clauses.size() + in Create()
682 llvm::alignTo(sizeof(OMPAtomicDirective), llvm::alignOf<OMPClause *>()); in CreateEmpty()
684 C.Allocate(Size + sizeof(OMPClause *) * NumClauses + 5 * sizeof(Stmt *)); in CreateEmpty()
691 ArrayRef<OMPClause *> Clauses, in Create()
694 llvm::alignTo(sizeof(OMPTargetDirective), llvm::alignOf<OMPClause *>()); in Create()
696 C.Allocate(Size + sizeof(OMPClause *) * Clauses.size() + sizeof(Stmt *)); in Create()
708 llvm::alignTo(sizeof(OMPTargetDirective), llvm::alignOf<OMPClause *>()); in CreateEmpty()
710 C.Allocate(Size + sizeof(OMPClause *) * NumClauses + sizeof(Stmt *)); in CreateEmpty()
716 ArrayRef<OMPClause *> Clauses, Stmt *AssociatedStmt) { in Create()
718 llvm::alignOf<OMPClause *>()); in Create()
720 C.Allocate(Size + sizeof(OMPClause *) * Clauses.size() + sizeof(Stmt *)); in Create()
732 llvm::alignOf<OMPClause *>()); in CreateEmpty()
734 C.Allocate(Size + sizeof(OMPClause *) * NumClauses + sizeof(Stmt *)); in CreateEmpty()
740 unsigned CollapsedNum, ArrayRef<OMPClause *> Clauses, Stmt *AssociatedStmt, in Create()
743 llvm::alignOf<OMPClause *>()); in Create()
745 Size + sizeof(OMPClause *) * Clauses.size() + in Create()
783 llvm::alignOf<OMPClause *>()); in CreateEmpty()
785 Size + sizeof(OMPClause *) * NumClauses + in CreateEmpty()
792 ArrayRef<OMPClause *> Clauses, Stmt *AssociatedStmt) { in Create()
794 llvm::alignOf<OMPClause *>()) + in Create()
795 sizeof(OMPClause *) * Clauses.size() + sizeof(Stmt *)); in Create()
807 llvm::alignOf<OMPClause *>()) + in CreateEmpty()
808 sizeof(OMPClause *) * N + sizeof(Stmt *)); in CreateEmpty()
814 ArrayRef<OMPClause *> Clauses) { in Create()
816 llvm::alignOf<OMPClause *>()) + in Create()
817 sizeof(OMPClause *) * Clauses.size()); in Create()
828 llvm::alignOf<OMPClause *>()) + in CreateEmpty()
829 sizeof(OMPClause *) * N); in CreateEmpty()
836 ArrayRef<OMPClause *> Clauses) { in Create()
838 llvm::alignOf<OMPClause *>()) + in Create()
839 sizeof(OMPClause *) * Clauses.size()); in Create()
850 llvm::alignOf<OMPClause *>()) + in CreateEmpty()
851 sizeof(OMPClause *) * N); in CreateEmpty()
858 ArrayRef<OMPClause *> Clauses, in Create()
861 llvm::alignTo(sizeof(OMPTeamsDirective), llvm::alignOf<OMPClause *>()); in Create()
863 C.Allocate(Size + sizeof(OMPClause *) * Clauses.size() + sizeof(Stmt *)); in Create()
875 llvm::alignTo(sizeof(OMPTeamsDirective), llvm::alignOf<OMPClause *>()); in CreateEmpty()
877 C.Allocate(Size + sizeof(OMPClause *) * NumClauses + sizeof(Stmt *)); in CreateEmpty()
883 unsigned CollapsedNum, ArrayRef<OMPClause *> Clauses, Stmt *AssociatedStmt, in Create()
886 llvm::alignTo(sizeof(OMPTaskLoopDirective), llvm::alignOf<OMPClause *>()); in Create()
888 C.Allocate(Size + sizeof(OMPClause *) * Clauses.size() + in Create()
925 llvm::alignTo(sizeof(OMPTaskLoopDirective), llvm::alignOf<OMPClause *>()); in CreateEmpty()
927 C.Allocate(Size + sizeof(OMPClause *) * NumClauses + in CreateEmpty()
934 unsigned CollapsedNum, ArrayRef<OMPClause *> Clauses, Stmt *AssociatedStmt, in Create()
937 llvm::alignOf<OMPClause *>()); in Create()
938 void *Mem = C.Allocate(Size + sizeof(OMPClause *) * Clauses.size() + in Create()
975 llvm::alignOf<OMPClause *>()); in CreateEmpty()
976 void *Mem = C.Allocate(Size + sizeof(OMPClause *) * NumClauses + in CreateEmpty()
984 unsigned CollapsedNum, ArrayRef<OMPClause *> Clauses, Stmt *AssociatedStmt, in Create()
987 llvm::alignOf<OMPClause *>()); in Create()
988 void *Mem = C.Allocate(Size + sizeof(OMPClause *) * Clauses.size() + in Create()
1025 llvm::alignOf<OMPClause *>()); in CreateEmpty()
1026 void *Mem = C.Allocate(Size + sizeof(OMPClause *) * NumClauses + in CreateEmpty()
1035 ArrayRef<OMPClause *> Clauses) { in Create()
1037 llvm::alignOf<OMPClause *>()); in Create()
1038 void *Mem = C.Allocate(Size + sizeof(OMPClause *) * Clauses.size()); in Create()
1049 llvm::alignOf<OMPClause *>()); in CreateEmpty()
1050 void *Mem = C.Allocate(Size + sizeof(OMPClause *) * NumClauses); in CreateEmpty()
1056 unsigned CollapsedNum, ArrayRef<OMPClause *> Clauses, Stmt *AssociatedStmt, in Create()
1059 llvm::alignOf<OMPClause *>()); in Create()
1061 Size + sizeof(OMPClause *) * Clauses.size() + in Create()
1101 llvm::alignOf<OMPClause *>()); in CreateEmpty()
1103 Size + sizeof(OMPClause *) * NumClauses + in CreateEmpty()
1112 unsigned CollapsedNum, ArrayRef<OMPClause *> Clauses, Stmt *AssociatedStmt, in Create()
1115 llvm::alignOf<OMPClause *>()); in Create()
1117 Size + sizeof(OMPClause *) * Clauses.size() + in Create()
1157 llvm::alignOf<OMPClause *>()); in CreateEmpty()
1159 Size + sizeof(OMPClause *) * NumClauses + in CreateEmpty()
1168 unsigned CollapsedNum, ArrayRef<OMPClause *> Clauses, Stmt *AssociatedStmt, in Create()
1171 llvm::alignOf<OMPClause *>()); in Create()
1173 Size + sizeof(OMPClause *) * Clauses.size() + in Create()
1211 llvm::alignOf<OMPClause *>()); in CreateEmpty()
1213 Size + sizeof(OMPClause *) * NumClauses + in CreateEmpty()
1221 unsigned CollapsedNum, ArrayRef<OMPClause *> Clauses, Stmt *AssociatedStmt, in Create()
1224 llvm::alignOf<OMPClause *>()); in Create()
1226 Size + sizeof(OMPClause *) * Clauses.size() + in Create()
1266 llvm::alignOf<OMPClause *>()); in CreateEmpty()
1268 Size + sizeof(OMPClause *) * NumClauses + in CreateEmpty()