Lines Matching refs:VL
32 void OMPPrivateClause::setPrivateCopies(ArrayRef<Expr *> VL) {
33 assert(VL.size() == varlist_size() &&
35 std::copy(VL.begin(), VL.end(), varlist_end());
41 ArrayRef<Expr *> VL, ArrayRef<Expr *> PrivateVL) {
45 2 * sizeof(Expr *) * VL.size());
47 new (Mem) OMPPrivateClause(StartLoc, LParenLoc, EndLoc, VL.size());
48 Clause->setVarRefs(VL);
61 void OMPFirstprivateClause::setPrivateCopies(ArrayRef<Expr *> VL) {
62 assert(VL.size() == varlist_size() &&
64 std::copy(VL.begin(), VL.end(), varlist_end());
67 void OMPFirstprivateClause::setInits(ArrayRef<Expr *> VL) {
68 assert(VL.size() == varlist_size() &&
70 std::copy(VL.begin(), VL.end(), getPrivateCopies().end());
76 ArrayRef<Expr *> VL, ArrayRef<Expr *> PrivateVL,
80 3 * sizeof(Expr *) * VL.size());
82 new (Mem) OMPFirstprivateClause(StartLoc, LParenLoc, EndLoc, VL.size());
83 Clause->setVarRefs(VL);
127 SourceLocation EndLoc, ArrayRef<Expr *> VL, ArrayRef<Expr *> SrcExprs,
131 5 * sizeof(Expr *) * VL.size());
133 new (Mem) OMPLastprivateClause(StartLoc, LParenLoc, EndLoc, VL.size());
134 Clause->setVarRefs(VL);
153 ArrayRef<Expr *> VL) {
156 sizeof(Expr *) * VL.size());
158 new (Mem) OMPSharedClause(StartLoc, LParenLoc, EndLoc, VL.size());
159 Clause->setVarRefs(VL);
197 SourceLocation ColonLoc, SourceLocation EndLoc, ArrayRef<Expr *> VL,
203 (5 * VL.size() + 2) * sizeof(Expr *));
205 StartLoc, LParenLoc, Modifier, ModifierLoc, ColonLoc, EndLoc, VL.size());
206 Clause->setVarRefs(VL);
211 std::fill(Clause->getInits().end(), Clause->getInits().end() + VL.size(),
213 std::fill(Clause->getUpdates().end(), Clause->getUpdates().end() + VL.size(),
233 SourceLocation EndLoc, ArrayRef<Expr *> VL, Expr *A) {
236 sizeof(Expr *) * (VL.size() + 1));
238 OMPAlignedClause(StartLoc, LParenLoc, ColonLoc, EndLoc, VL.size());
239 Clause->setVarRefs(VL);
276 SourceLocation EndLoc, ArrayRef<Expr *> VL, ArrayRef<Expr *> SrcExprs,
280 4 * sizeof(Expr *) * VL.size());
282 new (Mem) OMPCopyinClause(StartLoc, LParenLoc, EndLoc, VL.size());
283 Clause->setVarRefs(VL);
321 SourceLocation EndLoc, ArrayRef<Expr *> VL, ArrayRef<Expr *> SrcExprs,
325 4 * sizeof(Expr *) * VL.size());
327 new (Mem) OMPCopyprivateClause(StartLoc, LParenLoc, EndLoc, VL.size());
328 Clause->setVarRefs(VL);
372 SourceLocation EndLoc, SourceLocation ColonLoc, ArrayRef<Expr *> VL,
378 5 * sizeof(Expr *) * VL.size());
380 StartLoc, LParenLoc, EndLoc, ColonLoc, VL.size(), QualifierLoc, NameInfo);
381 Clause->setVarRefs(VL);
401 ArrayRef<Expr *> VL) {
404 sizeof(Expr *) * VL.size());
406 new (Mem) OMPFlushClause(StartLoc, LParenLoc, EndLoc, VL.size());
407 Clause->setVarRefs(VL);
422 SourceLocation ColonLoc, ArrayRef<Expr *> VL) {
425 sizeof(Expr *) * VL.size());
427 new (Mem) OMPDependClause(StartLoc, LParenLoc, EndLoc, VL.size());
428 Clause->setVarRefs(VL);
444 SourceLocation EndLoc, ArrayRef<Expr *> VL,
450 sizeof(Expr *) * VL.size());
452 TypeModifier, Type, TypeLoc, StartLoc, LParenLoc, EndLoc, VL.size());
453 Clause->setVarRefs(VL);