Lines Matching refs:Expr

195 OMPOrderedClause *OMPOrderedClause::Create(const ASTContext &C, Expr *Num,  in Create()
200 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(2 * NumLoops)); in Create()
212 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(2 * NumLoops)); in CreateEmpty()
222 Expr *NumIterations) { in setLoopNumIterations()
224 getTrailingObjects<Expr *>()[NumLoop] = NumIterations; in setLoopNumIterations()
227 ArrayRef<Expr *> OMPOrderedClause::getLoopNumIterations() const { in getLoopNumIterations()
228 return llvm::makeArrayRef(getTrailingObjects<Expr *>(), NumberOfLoops); in getLoopNumIterations()
231 void OMPOrderedClause::setLoopCounter(unsigned NumLoop, Expr *Counter) { in setLoopCounter()
233 getTrailingObjects<Expr *>()[NumberOfLoops + NumLoop] = Counter; in setLoopCounter()
236 Expr *OMPOrderedClause::getLoopCounter(unsigned NumLoop) { in getLoopCounter()
238 return getTrailingObjects<Expr *>()[NumberOfLoops + NumLoop]; in getLoopCounter()
241 const Expr *OMPOrderedClause::getLoopCounter(unsigned NumLoop) const { in getLoopCounter()
243 return getTrailingObjects<Expr *>()[NumberOfLoops + NumLoop]; in getLoopCounter()
246 void OMPPrivateClause::setPrivateCopies(ArrayRef<Expr *> VL) { in setPrivateCopies()
255 ArrayRef<Expr *> VL, ArrayRef<Expr *> PrivateVL) { in Create()
257 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(2 * VL.size())); in Create()
267 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(2 * N)); in CreateEmpty()
271 void OMPFirstprivateClause::setPrivateCopies(ArrayRef<Expr *> VL) { in setPrivateCopies()
277 void OMPFirstprivateClause::setInits(ArrayRef<Expr *> VL) { in setInits()
286 ArrayRef<Expr *> VL, ArrayRef<Expr *> PrivateVL, in Create()
287 ArrayRef<Expr *> InitVL, Stmt *PreInit) { in Create()
288 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(3 * VL.size())); in Create()
300 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(3 * N)); in CreateEmpty()
304 void OMPLastprivateClause::setPrivateCopies(ArrayRef<Expr *> PrivateCopies) { in setPrivateCopies()
310 void OMPLastprivateClause::setSourceExprs(ArrayRef<Expr *> SrcExprs) { in setSourceExprs()
317 void OMPLastprivateClause::setDestinationExprs(ArrayRef<Expr *> DstExprs) { in setDestinationExprs()
324 void OMPLastprivateClause::setAssignmentOps(ArrayRef<Expr *> AssignmentOps) { in setAssignmentOps()
334 SourceLocation EndLoc, ArrayRef<Expr *> VL, ArrayRef<Expr *> SrcExprs, in Create()
335 ArrayRef<Expr *> DstExprs, ArrayRef<Expr *> AssignmentOps, Stmt *PreInit, in Create()
336 Expr *PostUpdate) { in Create()
337 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(5 * VL.size())); in Create()
351 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(5 * N)); in CreateEmpty()
359 ArrayRef<Expr *> VL) { in Create()
360 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(VL.size())); in Create()
368 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(N)); in CreateEmpty()
372 void OMPLinearClause::setPrivates(ArrayRef<Expr *> PL) { in setPrivates()
378 void OMPLinearClause::setInits(ArrayRef<Expr *> IL) { in setInits()
384 void OMPLinearClause::setUpdates(ArrayRef<Expr *> UL) { in setUpdates()
390 void OMPLinearClause::setFinals(ArrayRef<Expr *> FL) { in setFinals()
399 SourceLocation ColonLoc, SourceLocation EndLoc, ArrayRef<Expr *> VL, in Create()
400 ArrayRef<Expr *> PL, ArrayRef<Expr *> IL, Expr *Step, Expr *CalcStep, in Create()
401 Stmt *PreInit, Expr *PostUpdate) { in Create()
404 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(5 * VL.size() + 2)); in Create()
427 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(5 * NumVars + 2)); in CreateEmpty()
434 SourceLocation EndLoc, ArrayRef<Expr *> VL, Expr *A) { in Create()
435 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(VL.size() + 1)); in Create()
445 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(NumVars + 1)); in CreateEmpty()
449 void OMPCopyinClause::setSourceExprs(ArrayRef<Expr *> SrcExprs) { in setSourceExprs()
456 void OMPCopyinClause::setDestinationExprs(ArrayRef<Expr *> DstExprs) { in setDestinationExprs()
463 void OMPCopyinClause::setAssignmentOps(ArrayRef<Expr *> AssignmentOps) { in setAssignmentOps()
473 SourceLocation EndLoc, ArrayRef<Expr *> VL, ArrayRef<Expr *> SrcExprs, in Create()
474 ArrayRef<Expr *> DstExprs, ArrayRef<Expr *> AssignmentOps) { in Create()
475 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(4 * VL.size())); in Create()
486 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(4 * N)); in CreateEmpty()
490 void OMPCopyprivateClause::setSourceExprs(ArrayRef<Expr *> SrcExprs) { in setSourceExprs()
497 void OMPCopyprivateClause::setDestinationExprs(ArrayRef<Expr *> DstExprs) { in setDestinationExprs()
504 void OMPCopyprivateClause::setAssignmentOps(ArrayRef<Expr *> AssignmentOps) { in setAssignmentOps()
514 SourceLocation EndLoc, ArrayRef<Expr *> VL, ArrayRef<Expr *> SrcExprs, in Create()
515 ArrayRef<Expr *> DstExprs, ArrayRef<Expr *> AssignmentOps) { in Create()
516 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(4 * VL.size())); in Create()
528 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(4 * N)); in CreateEmpty()
532 void OMPReductionClause::setPrivates(ArrayRef<Expr *> Privates) { in setPrivates()
538 void OMPReductionClause::setLHSExprs(ArrayRef<Expr *> LHSExprs) { in setLHSExprs()
545 void OMPReductionClause::setRHSExprs(ArrayRef<Expr *> RHSExprs) { in setRHSExprs()
552 void OMPReductionClause::setReductionOps(ArrayRef<Expr *> ReductionOps) { in setReductionOps()
561 SourceLocation EndLoc, SourceLocation ColonLoc, ArrayRef<Expr *> VL, in Create()
563 ArrayRef<Expr *> Privates, ArrayRef<Expr *> LHSExprs, in Create()
564 ArrayRef<Expr *> RHSExprs, ArrayRef<Expr *> ReductionOps, Stmt *PreInit, in Create()
565 Expr *PostUpdate) { in Create()
566 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(5 * VL.size())); in Create()
581 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(5 * N)); in CreateEmpty()
585 void OMPTaskReductionClause::setPrivates(ArrayRef<Expr *> Privates) { in setPrivates()
591 void OMPTaskReductionClause::setLHSExprs(ArrayRef<Expr *> LHSExprs) { in setLHSExprs()
598 void OMPTaskReductionClause::setRHSExprs(ArrayRef<Expr *> RHSExprs) { in setRHSExprs()
605 void OMPTaskReductionClause::setReductionOps(ArrayRef<Expr *> ReductionOps) { in setReductionOps()
614 SourceLocation EndLoc, SourceLocation ColonLoc, ArrayRef<Expr *> VL, in Create()
616 ArrayRef<Expr *> Privates, ArrayRef<Expr *> LHSExprs, in Create()
617 ArrayRef<Expr *> RHSExprs, ArrayRef<Expr *> ReductionOps, Stmt *PreInit, in Create()
618 Expr *PostUpdate) { in Create()
619 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(5 * VL.size())); in Create()
634 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(5 * N)); in CreateEmpty()
638 void OMPInReductionClause::setPrivates(ArrayRef<Expr *> Privates) { in setPrivates()
644 void OMPInReductionClause::setLHSExprs(ArrayRef<Expr *> LHSExprs) { in setLHSExprs()
651 void OMPInReductionClause::setRHSExprs(ArrayRef<Expr *> RHSExprs) { in setRHSExprs()
658 void OMPInReductionClause::setReductionOps(ArrayRef<Expr *> ReductionOps) { in setReductionOps()
666 ArrayRef<Expr *> TaskgroupDescriptors) { in setTaskgroupDescriptors()
676 SourceLocation EndLoc, SourceLocation ColonLoc, ArrayRef<Expr *> VL, in Create()
678 ArrayRef<Expr *> Privates, ArrayRef<Expr *> LHSExprs, in Create()
679 ArrayRef<Expr *> RHSExprs, ArrayRef<Expr *> ReductionOps, in Create()
680 ArrayRef<Expr *> TaskgroupDescriptors, Stmt *PreInit, Expr *PostUpdate) { in Create()
681 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(6 * VL.size())); in Create()
697 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(6 * N)); in CreateEmpty()
705 ArrayRef<Expr *> VL) { in Create()
706 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(VL.size() + 1)); in Create()
714 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(N)); in CreateEmpty()
722 SourceLocation ColonLoc, ArrayRef<Expr *> VL, in Create()
724 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(VL.size() + NumLoops)); in Create()
738 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(N + NumLoops)); in CreateEmpty()
742 void OMPDependClause::setLoopData(unsigned NumLoop, Expr *Cnt) { in setLoopData()
752 Expr *OMPDependClause::getLoopData(unsigned NumLoop) { in getLoopData()
762 const Expr *OMPDependClause::getLoopData(unsigned NumLoop) const { in getLoopData()
797 ArrayRef<Expr *> Vars, ArrayRef<ValueDecl *> Declarations, in Create()
820 totalSizeToAlloc<Expr *, ValueDecl *, unsigned, in Create()
841 totalSizeToAlloc<Expr *, ValueDecl *, unsigned, in CreateEmpty()
851 SourceLocation EndLoc, ArrayRef<Expr *> Vars, in Create()
871 totalSizeToAlloc<Expr *, ValueDecl *, unsigned, in Create()
890 totalSizeToAlloc<Expr *, ValueDecl *, unsigned, in CreateEmpty()
901 ArrayRef<Expr *> Vars, ArrayRef<ValueDecl *> Declarations, in Create()
920 totalSizeToAlloc<Expr *, ValueDecl *, unsigned, in Create()
939 totalSizeToAlloc<Expr *, ValueDecl *, unsigned, in CreateEmpty()
947 void OMPUseDevicePtrClause::setPrivateCopies(ArrayRef<Expr *> VL) { in setPrivateCopies()
953 void OMPUseDevicePtrClause::setInits(ArrayRef<Expr *> VL) { in setInits()
961 SourceLocation EndLoc, ArrayRef<Expr *> Vars, ArrayRef<Expr *> PrivateVars, in Create()
962 ArrayRef<Expr *> Inits, ArrayRef<ValueDecl *> Declarations, in Create()
981 totalSizeToAlloc<Expr *, ValueDecl *, unsigned, in Create()
1001 totalSizeToAlloc<Expr *, ValueDecl *, unsigned, in CreateEmpty()
1012 ArrayRef<Expr *> Vars, in Create()
1032 totalSizeToAlloc<Expr *, ValueDecl *, unsigned, in Create()
1050 totalSizeToAlloc<Expr *, ValueDecl *, unsigned, in CreateEmpty()