Lines Matching defs:Captures
4524 llvm::DenseMap<const ValueDecl *, FieldDecl *> Captures;
4526 RD->getCaptureFields(Captures, ThisCapture);
7819 llvm::MapVector<const Expr *, DeclRefExpr *> &Captures) const;
7823 llvm::MapVector<const Expr *, DeclRefExpr *> &Captures) const;
7826 buildCounterVar(llvm::MapVector<const Expr *, DeclRefExpr *> &Captures,
7839 llvm::MapVector<const Expr *, DeclRefExpr *> &Captures,
7844 Scope *S, llvm::MapVector<const Expr *, DeclRefExpr *> &Captures) const;
8403 llvm::MapVector<const Expr *, DeclRefExpr *> &Captures,
8412 auto I = Captures.find(Capture);
8413 if (I != Captures.end())
8417 Captures[Capture] = Ref;
8427 llvm::MapVector<const Expr *, DeclRefExpr *> &Captures) {
8428 ExprResult NewStep = tryBuildCapture(SemaRef, Step, Captures, ".new_step");
8597 llvm::MapVector<const Expr *, DeclRefExpr *> &Captures) const {
8651 tryBuildCapture(SemaRef, LBMinVal.get(), Captures, ".lb_min").get();
8653 tryBuildCapture(SemaRef, LBMaxVal.get(), Captures, ".lb_max").get();
8662 tryBuildCapture(SemaRef, MinLessMaxRes.get(), Captures, ".min_less_max")
8737 tryBuildCapture(SemaRef, UBMinVal.get(), Captures, ".ub_min").get();
8739 tryBuildCapture(SemaRef, UBMaxVal.get(), Captures, ".ub_max").get();
8748 Captures, ".min_greater_max")
8772 Expr *Upper = tryBuildCapture(SemaRef, UBExpr, Captures, ".upper").get();
8773 Expr *Lower = tryBuildCapture(SemaRef, LBExpr, Captures, ".lower").get();
8779 /*RoundToStep=*/true, Captures);
8827 Scope *S, llvm::MapVector<const Expr *, DeclRefExpr *> &Captures) const {
8843 LBNonRect ? LBExpr : tryBuildCapture(SemaRef, LBExpr, Captures).get();
8845 UBNonRect ? UBExpr : tryBuildCapture(SemaRef, UBExpr, Captures).get();
8859 /*RoundToStep=*/false, Captures);
8869 ExprResult NewStep = tryBuildCapture(SemaRef, Step, Captures, ".new_step");
8942 llvm::MapVector<const Expr *, DeclRefExpr *> &Captures) const {
8958 ExprResult NewLB = tryBuildCapture(SemaRef, LB, Captures);
8959 ExprResult NewUB = tryBuildCapture(SemaRef, UB, Captures);
8983 llvm::MapVector<const Expr *, DeclRefExpr *> &Captures,
8995 Captures.insert(std::make_pair(LCRef, Ref));
9025 llvm::MapVector<const Expr *, DeclRefExpr *> &Captures, SourceLocation Loc,
9044 *TestIsLessOp ? Cnt : tryBuildCapture(SemaRef, LB, Captures).get();
9046 *TestIsLessOp ? tryBuildCapture(SemaRef, LB, Captures).get() : Cnt;
9052 /*TestIsStrictOp=*/false, /*RoundToStep=*/false, Captures);
9169 llvm::MapVector<const Expr *, DeclRefExpr *> &Captures,
9260 DSA.getCurScope(), For ? For->getCond() : CXXFor->getCond(), Captures);
9268 Captures);
9270 ISC.buildCounterVar(Captures, DSA);
9285 ISC.buildMinMaxValues(DSA.getCurScope(), Captures);
9343 ResultIterSpaces[CurrentNestedLoopCount].CounterVar, Captures,
9358 ResultIterSpaces[CurrentNestedLoopCount].CounterVar, Captures,
9363 ResultIterSpaces[CurrentNestedLoopCount].CounterVar, Captures,
9380 llvm::MapVector<const Expr *, DeclRefExpr *> &Captures) {
9384 : tryBuildCapture(SemaRef, Start.get(), Captures);
9406 llvm::MapVector<const Expr *, DeclRefExpr *> *Captures = nullptr) {
9414 if (Captures)
9415 NewStep = tryBuildCapture(SemaRef, Step.get(), *Captures);
9430 if (Captures && !IsNonRectangularLB)
9431 NewStart = tryBuildCapture(SemaRef, Start.get(), *Captures);
9537 const llvm::MapVector<const Expr *, DeclRefExpr *> &Captures) {
9538 if (!Captures.empty()) {
9540 for (const auto &Pair : Captures)
9663 llvm::MapVector<const Expr *, DeclRefExpr *> Captures;
9671 &IterSpaces, &Captures,
9676 VarsWithImplicitDSA, IterSpaces, Captures,
9684 Captures[DRE] = DRE;
9689 [&SemaRef, &Captures](OMPLoopTransformationDirective *Transform) {
9705 Captures[Ref] = Ref;
9842 tryBuildCapture(SemaRef, LastIteration.get(), Captures);
10235 IS.CounterInit, IS.IsNonRectangularLB, Captures);
10242 IS.CounterStep, IS.Subtract, IS.IsNonRectangularLB, &Captures);
10252 IS.Subtract, IS.IsNonRectangularLB, &Captures);
10291 Built.PreInits = buildPreInits(C, Captures);
15425 llvm::MapVector<const Expr *, DeclRefExpr *> Captures;
15426 ValExpr = tryBuildCapture(SemaRef, ValExpr, Captures).get();
15427 HelperValStmt = buildPreInits(getASTContext(), Captures);
15458 llvm::MapVector<const Expr *, DeclRefExpr *> Captures;
15459 ValExpr = tryBuildCapture(SemaRef, ValExpr, Captures).get();
15460 HelperValStmt = buildPreInits(getASTContext(), Captures);
15547 llvm::MapVector<const Expr *, DeclRefExpr *> Captures;
15548 ValExpr = tryBuildCapture(SemaRef, ValExpr, Captures).get();
15549 *HelperValStmt = buildPreInits(SemaRef.Context, Captures);
15574 llvm::MapVector<const Expr *, DeclRefExpr *> Captures;
15575 ValExpr = tryBuildCapture(SemaRef, ValExpr, Captures).get();
15576 HelperValStmt = buildPreInits(getASTContext(), Captures);
16478 llvm::MapVector<const Expr *, DeclRefExpr *> Captures;
16479 ValExpr = tryBuildCapture(SemaRef, ValExpr, Captures).get();
16480 HelperValStmt = buildPreInits(getASTContext(), Captures);
16986 llvm::MapVector<const Expr *, DeclRefExpr *> Captures;
16987 ValExpr = tryBuildCapture(SemaRef, ValExpr, Captures).get();
16988 HelperValStmt = buildPreInits(getASTContext(), Captures);
17018 llvm::MapVector<const Expr *, DeclRefExpr *> Captures;
17019 ValExpr = tryBuildCapture(SemaRef, ValExpr, Captures).get();
17020 HelperValStmt = buildPreInits(getASTContext(), Captures);
17041 llvm::MapVector<const Expr *, DeclRefExpr *> Captures;
17042 ValExpr = tryBuildCapture(SemaRef, ValExpr, Captures).get();
17043 HelperValStmt = buildPreInits(getASTContext(), Captures);
20228 llvm::MapVector<const Expr *, DeclRefExpr *> Captures;
20229 ValExpr = tryBuildCapture(SemaRef, ValExpr, Captures).get();
20230 HelperValStmt = buildPreInits(getASTContext(), Captures);
22132 llvm::MapVector<const Expr *, DeclRefExpr *> Captures;
22136 ValExpr = tryBuildCapture(SemaRef, ValExpr, Captures).get();
22140 Stmt *PreInit = buildPreInits(getASTContext(), Captures);
22168 llvm::MapVector<const Expr *, DeclRefExpr *> Captures;
22172 ValExpr = tryBuildCapture(SemaRef, ValExpr, Captures).get();
22176 Stmt *PreInit = buildPreInits(getASTContext(), Captures);
22390 llvm::MapVector<const Expr *, DeclRefExpr *> Captures;
22391 ValExpr = tryBuildCapture(SemaRef, ValExpr, Captures).get();
22392 HelperValStmt = buildPreInits(getASTContext(), Captures);
23635 llvm::MapVector<const Expr *, DeclRefExpr *> Captures;
23636 ValExpr = tryBuildCapture(SemaRef, ValExpr, Captures).get();
23637 HelperValStmt = buildPreInits(getASTContext(), Captures);