Lines Matching refs:VL
388 void OMPPrivateClause::setPrivateCopies(ArrayRef<Expr *> VL) { in setPrivateCopies() argument
389 assert(VL.size() == varlist_size() && in setPrivateCopies()
391 std::copy(VL.begin(), VL.end(), varlist_end()); in setPrivateCopies()
397 ArrayRef<Expr *> VL, ArrayRef<Expr *> PrivateVL) { in Create() argument
399 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(2 * VL.size())); in Create()
401 new (Mem) OMPPrivateClause(StartLoc, LParenLoc, EndLoc, VL.size()); in Create()
402 Clause->setVarRefs(VL); in Create()
413 void OMPFirstprivateClause::setPrivateCopies(ArrayRef<Expr *> VL) { in setPrivateCopies() argument
414 assert(VL.size() == varlist_size() && in setPrivateCopies()
416 std::copy(VL.begin(), VL.end(), varlist_end()); in setPrivateCopies()
419 void OMPFirstprivateClause::setInits(ArrayRef<Expr *> VL) { in setInits() argument
420 assert(VL.size() == varlist_size() && in setInits()
422 std::copy(VL.begin(), VL.end(), getPrivateCopies().end()); in setInits()
428 ArrayRef<Expr *> VL, ArrayRef<Expr *> PrivateVL, in Create() argument
430 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(3 * VL.size())); in Create()
432 new (Mem) OMPFirstprivateClause(StartLoc, LParenLoc, EndLoc, VL.size()); in Create()
433 Clause->setVarRefs(VL); in Create()
476 SourceLocation EndLoc, ArrayRef<Expr *> VL, ArrayRef<Expr *> SrcExprs, in Create() argument
480 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(5 * VL.size())); in Create()
482 StartLoc, LParenLoc, EndLoc, LPKind, LPKindLoc, ColonLoc, VL.size()); in Create()
483 Clause->setVarRefs(VL); in Create()
502 ArrayRef<Expr *> VL) { in Create() argument
503 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(VL.size())); in Create()
505 new (Mem) OMPSharedClause(StartLoc, LParenLoc, EndLoc, VL.size()); in Create()
506 Clause->setVarRefs(VL); in Create()
549 SourceLocation ColonLoc, SourceLocation EndLoc, ArrayRef<Expr *> VL, in Create() argument
555 C.Allocate(totalSizeToAlloc<Expr *>(5 * VL.size() + 2 + VL.size() + 1)); in Create()
557 StartLoc, LParenLoc, Modifier, ModifierLoc, ColonLoc, EndLoc, VL.size()); in Create()
558 Clause->setVarRefs(VL); in Create()
563 std::fill(Clause->getInits().end(), Clause->getInits().end() + VL.size(), in Create()
565 std::fill(Clause->getUpdates().end(), Clause->getUpdates().end() + VL.size(), in Create()
594 SourceLocation EndLoc, ArrayRef<Expr *> VL, Expr *A) { in Create() argument
595 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(VL.size() + 1)); in Create()
597 OMPAlignedClause(StartLoc, LParenLoc, ColonLoc, EndLoc, VL.size()); in Create()
598 Clause->setVarRefs(VL); in Create()
633 SourceLocation EndLoc, ArrayRef<Expr *> VL, ArrayRef<Expr *> SrcExprs, in Create() argument
635 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(4 * VL.size())); in Create()
637 new (Mem) OMPCopyinClause(StartLoc, LParenLoc, EndLoc, VL.size()); in Create()
638 Clause->setVarRefs(VL); in Create()
674 SourceLocation EndLoc, ArrayRef<Expr *> VL, ArrayRef<Expr *> SrcExprs, in Create() argument
676 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(4 * VL.size())); in Create()
678 new (Mem) OMPCopyprivateClause(StartLoc, LParenLoc, EndLoc, VL.size()); in Create()
679 Clause->setVarRefs(VL); in Create()
748 OpenMPReductionClauseModifier Modifier, ArrayRef<Expr *> VL, in Create() argument
755 (Modifier == OMPC_REDUCTION_inscan ? 8 : 5) * VL.size())); in Create()
758 Modifier, VL.size(), QualifierLoc, NameInfo); in Create()
759 Clause->setVarRefs(VL); in Create()
820 SourceLocation EndLoc, SourceLocation ColonLoc, ArrayRef<Expr *> VL, in Create() argument
825 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(5 * VL.size())); in Create()
827 StartLoc, LParenLoc, EndLoc, ColonLoc, VL.size(), QualifierLoc, NameInfo); in Create()
828 Clause->setVarRefs(VL); in Create()
882 SourceLocation EndLoc, SourceLocation ColonLoc, ArrayRef<Expr *> VL, in Create() argument
887 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(6 * VL.size())); in Create()
889 StartLoc, LParenLoc, EndLoc, ColonLoc, VL.size(), QualifierLoc, NameInfo); in Create()
890 Clause->setVarRefs(VL); in Create()
911 ArrayRef<Expr *> VL) { in Create() argument
913 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(VL.size())); in Create()
915 ColonLoc, EndLoc, VL.size()); in Create()
916 Clause->setVarRefs(VL); in Create()
930 ArrayRef<Expr *> VL) { in Create() argument
931 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(VL.size() + 1)); in Create()
933 new (Mem) OMPFlushClause(StartLoc, LParenLoc, EndLoc, VL.size()); in Create()
934 Clause->setVarRefs(VL); in Create()
962 ArrayRef<Expr *> VL, unsigned NumLoops) { in Create() argument
964 totalSizeToAlloc<Expr *>(VL.size() + /*depend-modifier*/ 1 + NumLoops), in Create()
967 OMPDependClause(StartLoc, LParenLoc, EndLoc, VL.size(), NumLoops); in Create()
968 Clause->setVarRefs(VL); in Create()
1199 void OMPUseDevicePtrClause::setPrivateCopies(ArrayRef<Expr *> VL) { in setPrivateCopies() argument
1200 assert(VL.size() == varlist_size() && in setPrivateCopies()
1202 std::copy(VL.begin(), VL.end(), varlist_end()); in setPrivateCopies()
1205 void OMPUseDevicePtrClause::setInits(ArrayRef<Expr *> VL) { in setInits() argument
1206 assert(VL.size() == varlist_size() && in setInits()
1208 std::copy(VL.begin(), VL.end(), getPrivateCopies().end()); in setInits()
1358 ArrayRef<Expr *> VL) { in Create() argument
1360 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(2 * VL.size())); in Create()
1362 new (Mem) OMPNontemporalClause(StartLoc, LParenLoc, EndLoc, VL.size()); in Create()
1363 Clause->setVarRefs(VL); in Create()
1373 void OMPNontemporalClause::setPrivateRefs(ArrayRef<Expr *> VL) { in setPrivateRefs() argument
1374 assert(VL.size() == varlist_size() && "Number of private references is not " in setPrivateRefs()
1376 std::copy(VL.begin(), VL.end(), varlist_end()); in setPrivateRefs()
1383 ArrayRef<Expr *> VL) { in Create() argument
1384 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(VL.size())); in Create()
1386 new (Mem) OMPInclusiveClause(StartLoc, LParenLoc, EndLoc, VL.size()); in Create()
1387 Clause->setVarRefs(VL); in Create()
1401 ArrayRef<Expr *> VL) { in Create() argument
1402 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(VL.size())); in Create()
1404 new (Mem) OMPExclusiveClause(StartLoc, LParenLoc, EndLoc, VL.size()); in Create()
1405 Clause->setVarRefs(VL); in Create()