• Home
  • Raw
  • Download

Lines Matching refs:VL

165 void OMPPrivateClause::setPrivateCopies(ArrayRef<Expr *> VL) {  in setPrivateCopies()  argument
166 assert(VL.size() == varlist_size() && in setPrivateCopies()
168 std::copy(VL.begin(), VL.end(), varlist_end()); in setPrivateCopies()
174 ArrayRef<Expr *> VL, ArrayRef<Expr *> PrivateVL) { in Create() argument
176 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(2 * VL.size())); in Create()
178 new (Mem) OMPPrivateClause(StartLoc, LParenLoc, EndLoc, VL.size()); in Create()
179 Clause->setVarRefs(VL); in Create()
190 void OMPFirstprivateClause::setPrivateCopies(ArrayRef<Expr *> VL) { in setPrivateCopies() argument
191 assert(VL.size() == varlist_size() && in setPrivateCopies()
193 std::copy(VL.begin(), VL.end(), varlist_end()); in setPrivateCopies()
196 void OMPFirstprivateClause::setInits(ArrayRef<Expr *> VL) { in setInits() argument
197 assert(VL.size() == varlist_size() && in setInits()
199 std::copy(VL.begin(), VL.end(), getPrivateCopies().end()); in setInits()
205 ArrayRef<Expr *> VL, ArrayRef<Expr *> PrivateVL, in Create() argument
207 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(3 * VL.size())); in Create()
209 new (Mem) OMPFirstprivateClause(StartLoc, LParenLoc, EndLoc, VL.size()); in Create()
210 Clause->setVarRefs(VL); in Create()
253 SourceLocation EndLoc, ArrayRef<Expr *> VL, ArrayRef<Expr *> SrcExprs, in Create() argument
256 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(5 * VL.size())); in Create()
258 new (Mem) OMPLastprivateClause(StartLoc, LParenLoc, EndLoc, VL.size()); in Create()
259 Clause->setVarRefs(VL); in Create()
278 ArrayRef<Expr *> VL) { in Create() argument
279 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(VL.size())); in Create()
281 new (Mem) OMPSharedClause(StartLoc, LParenLoc, EndLoc, VL.size()); in Create()
282 Clause->setVarRefs(VL); in Create()
318 SourceLocation ColonLoc, SourceLocation EndLoc, ArrayRef<Expr *> VL, in Create() argument
323 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(5 * VL.size() + 2)); in Create()
325 StartLoc, LParenLoc, Modifier, ModifierLoc, ColonLoc, EndLoc, VL.size()); in Create()
326 Clause->setVarRefs(VL); in Create()
331 std::fill(Clause->getInits().end(), Clause->getInits().end() + VL.size(), in Create()
333 std::fill(Clause->getUpdates().end(), Clause->getUpdates().end() + VL.size(), in Create()
353 SourceLocation EndLoc, ArrayRef<Expr *> VL, Expr *A) { in Create() argument
354 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(VL.size() + 1)); in Create()
356 OMPAlignedClause(StartLoc, LParenLoc, ColonLoc, EndLoc, VL.size()); in Create()
357 Clause->setVarRefs(VL); in Create()
392 SourceLocation EndLoc, ArrayRef<Expr *> VL, ArrayRef<Expr *> SrcExprs, in Create() argument
394 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(4 * VL.size())); in Create()
396 new (Mem) OMPCopyinClause(StartLoc, LParenLoc, EndLoc, VL.size()); in Create()
397 Clause->setVarRefs(VL); in Create()
433 SourceLocation EndLoc, ArrayRef<Expr *> VL, ArrayRef<Expr *> SrcExprs, in Create() argument
435 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(4 * VL.size())); in Create()
437 new (Mem) OMPCopyprivateClause(StartLoc, LParenLoc, EndLoc, VL.size()); in Create()
438 Clause->setVarRefs(VL); in Create()
480 SourceLocation EndLoc, SourceLocation ColonLoc, ArrayRef<Expr *> VL, in Create() argument
485 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(5 * VL.size())); in Create()
487 StartLoc, LParenLoc, EndLoc, ColonLoc, VL.size(), QualifierLoc, NameInfo); in Create()
488 Clause->setVarRefs(VL); in Create()
508 ArrayRef<Expr *> VL) { in Create() argument
509 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(VL.size() + 1)); in Create()
511 new (Mem) OMPFlushClause(StartLoc, LParenLoc, EndLoc, VL.size()); in Create()
512 Clause->setVarRefs(VL); in Create()
524 SourceLocation DepLoc, SourceLocation ColonLoc, ArrayRef<Expr *> VL) { in Create() argument
525 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(VL.size() + 1)); in Create()
527 new (Mem) OMPDependClause(StartLoc, LParenLoc, EndLoc, VL.size()); in Create()
528 Clause->setVarRefs(VL); in Create()
739 ArrayRef<Expr *> VL) { in Create() argument
740 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(VL.size())); in Create()
742 new (Mem) OMPUseDevicePtrClause(StartLoc, LParenLoc, EndLoc, VL.size()); in Create()
743 Clause->setVarRefs(VL); in Create()
757 ArrayRef<Expr *> VL) { in Create() argument
758 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(VL.size())); in Create()
760 new (Mem) OMPIsDevicePtrClause(StartLoc, LParenLoc, EndLoc, VL.size()); in Create()
761 Clause->setVarRefs(VL); in Create()