Lines Matching refs:Captures

4680         llvm::DenseMap<const VarDecl *, FieldDecl *> Captures;  in tryCaptureOpenMPLambdas()  local
4682 RD->getCaptureFields(Captures, ThisCapture); in tryCaptureOpenMPLambdas()
7806 llvm::MapVector<const Expr *, DeclRefExpr *> &Captures) const;
7810 llvm::MapVector<const Expr *, DeclRefExpr *> &Captures) const;
7813 buildCounterVar(llvm::MapVector<const Expr *, DeclRefExpr *> &Captures,
7826 llvm::MapVector<const Expr *, DeclRefExpr *> &Captures,
7831 Scope *S, llvm::MapVector<const Expr *, DeclRefExpr *> &Captures) const;
8361 llvm::MapVector<const Expr *, DeclRefExpr *> &Captures) { in tryBuildCapture() argument
8368 auto I = Captures.find(Capture); in tryBuildCapture()
8369 if (I != Captures.end()) in tryBuildCapture()
8373 Captures[Capture] = Ref; in tryBuildCapture()
8383 llvm::MapVector<const Expr *, DeclRefExpr *> &Captures) { in calculateNumIters() argument
8384 ExprResult NewStep = tryBuildCapture(SemaRef, Step, Captures); in calculateNumIters()
8553 llvm::MapVector<const Expr *, DeclRefExpr *> &Captures) const { in buildNumIterations()
8606 Expr *LBMin = tryBuildCapture(SemaRef, LBMinVal.get(), Captures).get(); in buildNumIterations()
8607 Expr *LBMax = tryBuildCapture(SemaRef, LBMaxVal.get(), Captures).get(); in buildNumIterations()
8616 tryBuildCapture(SemaRef, MinLessMaxRes.get(), Captures).get(); in buildNumIterations()
8683 Expr *UBMin = tryBuildCapture(SemaRef, UBMinVal.get(), Captures).get(); in buildNumIterations()
8684 Expr *UBMax = tryBuildCapture(SemaRef, UBMaxVal.get(), Captures).get(); in buildNumIterations()
8693 tryBuildCapture(SemaRef, MinGreaterMaxRes.get(), Captures).get(); in buildNumIterations()
8716 Expr *Upper = tryBuildCapture(SemaRef, UBExpr, Captures).get(); in buildNumIterations()
8717 Expr *Lower = tryBuildCapture(SemaRef, LBExpr, Captures).get(); in buildNumIterations()
8723 /*RoundToStep=*/true, Captures); in buildNumIterations()
8769 Scope *S, llvm::MapVector<const Expr *, DeclRefExpr *> &Captures) const { in buildMinMaxValues()
8785 LBNonRect ? LBExpr : tryBuildCapture(SemaRef, LBExpr, Captures).get(); in buildMinMaxValues()
8787 UBNonRect ? UBExpr : tryBuildCapture(SemaRef, UBExpr, Captures).get(); in buildMinMaxValues()
8801 /*RoundToStep=*/false, Captures); in buildMinMaxValues()
8811 ExprResult NewStep = tryBuildCapture(SemaRef, Step, Captures); in buildMinMaxValues()
8884 llvm::MapVector<const Expr *, DeclRefExpr *> &Captures) const { in buildPreCond()
8900 ExprResult NewLB = tryBuildCapture(SemaRef, LB, Captures); in buildPreCond()
8901 ExprResult NewUB = tryBuildCapture(SemaRef, UB, Captures); in buildPreCond()
8924 llvm::MapVector<const Expr *, DeclRefExpr *> &Captures, in buildCounterVar() argument
8936 Captures.insert(std::make_pair(LCRef, Ref)); in buildCounterVar()
8966 llvm::MapVector<const Expr *, DeclRefExpr *> &Captures, SourceLocation Loc, in buildOrderedLoopData() argument
8985 TestIsLessOp.value() ? Cnt : tryBuildCapture(SemaRef, LB, Captures).get(); in buildOrderedLoopData()
8987 TestIsLessOp.value() ? tryBuildCapture(SemaRef, LB, Captures).get() : Cnt; in buildOrderedLoopData()
8993 /*TestIsStrictOp=*/false, /*RoundToStep=*/false, Captures); in buildOrderedLoopData()
9094 llvm::MapVector<const Expr *, DeclRefExpr *> &Captures) { in checkOpenMPIterationSpace() argument
9183 DSA.getCurScope(), For ? For->getCond() : CXXFor->getCond(), Captures); in checkOpenMPIterationSpace()
9191 Captures); in checkOpenMPIterationSpace()
9193 ISC.buildCounterVar(Captures, DSA); in checkOpenMPIterationSpace()
9208 ISC.buildMinMaxValues(DSA.getCurScope(), Captures); in checkOpenMPIterationSpace()
9252 ResultIterSpaces[CurrentNestedLoopCount].CounterVar, Captures, in checkOpenMPIterationSpace()
9257 ResultIterSpaces[CurrentNestedLoopCount].CounterVar, Captures, in checkOpenMPIterationSpace()
9272 llvm::MapVector<const Expr *, DeclRefExpr *> &Captures) { in buildCounterInit() argument
9276 : tryBuildCapture(SemaRef, Start.get(), Captures); in buildCounterInit()
9298 llvm::MapVector<const Expr *, DeclRefExpr *> *Captures = nullptr) { in buildCounterUpdate() argument
9306 if (Captures) in buildCounterUpdate()
9307 NewStep = tryBuildCapture(SemaRef, Step.get(), *Captures); in buildCounterUpdate()
9322 if (Captures && !IsNonRectangularLB) in buildCounterUpdate()
9323 NewStart = tryBuildCapture(SemaRef, Start.get(), *Captures); in buildCounterUpdate()
9409 const llvm::MapVector<const Expr *, DeclRefExpr *> &Captures) { in buildPreInits() argument
9410 if (!Captures.empty()) { in buildPreInits()
9412 for (const auto &Pair : Captures) in buildPreInits()
9487 llvm::MapVector<const Expr *, DeclRefExpr *> Captures; in checkOpenMPLoop() local
9495 &IterSpaces, &Captures](unsigned Cnt, Stmt *CurStmt) { in checkOpenMPLoop()
9499 VarsWithImplicitDSA, IterSpaces, Captures)) in checkOpenMPLoop()
9506 Captures[DRE] = DRE; in checkOpenMPLoop()
9511 [&SemaRef, &Captures](OMPLoopTransformationDirective *Transform) { in checkOpenMPLoop()
9519 Captures[Ref] = Ref; in checkOpenMPLoop()
9654 tryBuildCapture(SemaRef, LastIteration.get(), Captures); in checkOpenMPLoop()
10047 IS.CounterInit, IS.IsNonRectangularLB, Captures); in checkOpenMPLoop()
10054 IS.CounterStep, IS.Subtract, IS.IsNonRectangularLB, &Captures); in checkOpenMPLoop()
10064 IS.Subtract, IS.IsNonRectangularLB, &Captures); in checkOpenMPLoop()
10105 Built.PreInits = buildPreInits(C, Captures); in checkOpenMPLoop()
16094 llvm::MapVector<const Expr *, DeclRefExpr *> Captures; in ActOnOpenMPIfClause() local
16095 ValExpr = tryBuildCapture(*this, ValExpr, Captures).get(); in ActOnOpenMPIfClause()
16096 HelperValStmt = buildPreInits(Context, Captures); in ActOnOpenMPIfClause()
16126 llvm::MapVector<const Expr *, DeclRefExpr *> Captures; in ActOnOpenMPFinalClause() local
16127 ValExpr = tryBuildCapture(*this, ValExpr, Captures).get(); in ActOnOpenMPFinalClause()
16128 HelperValStmt = buildPreInits(Context, Captures); in ActOnOpenMPFinalClause()
16214 llvm::MapVector<const Expr *, DeclRefExpr *> Captures; in isNonNegativeIntegerValue() local
16215 ValExpr = tryBuildCapture(SemaRef, ValExpr, Captures).get(); in isNonNegativeIntegerValue()
16216 *HelperValStmt = buildPreInits(SemaRef.Context, Captures); in isNonNegativeIntegerValue()
16240 llvm::MapVector<const Expr *, DeclRefExpr *> Captures; in ActOnOpenMPNumThreadsClause() local
16241 ValExpr = tryBuildCapture(*this, ValExpr, Captures).get(); in ActOnOpenMPNumThreadsClause()
16242 HelperValStmt = buildPreInits(Context, Captures); in ActOnOpenMPNumThreadsClause()
16953 llvm::MapVector<const Expr *, DeclRefExpr *> Captures; in ActOnOpenMPScheduleClause() local
16954 ValExpr = tryBuildCapture(*this, ValExpr, Captures).get(); in ActOnOpenMPScheduleClause()
16955 HelperValStmt = buildPreInits(Context, Captures); in ActOnOpenMPScheduleClause()
17414 llvm::MapVector<const Expr *, DeclRefExpr *> Captures; in ActOnOpenMPNovariantsClause() local
17415 ValExpr = tryBuildCapture(*this, ValExpr, Captures).get(); in ActOnOpenMPNovariantsClause()
17416 HelperValStmt = buildPreInits(Context, Captures); in ActOnOpenMPNovariantsClause()
17445 llvm::MapVector<const Expr *, DeclRefExpr *> Captures; in ActOnOpenMPNocontextClause() local
17446 ValExpr = tryBuildCapture(*this, ValExpr, Captures).get(); in ActOnOpenMPNocontextClause()
17447 HelperValStmt = buildPreInits(Context, Captures); in ActOnOpenMPNocontextClause()
17467 llvm::MapVector<const Expr *, DeclRefExpr *> Captures; in ActOnOpenMPFilterClause() local
17468 ValExpr = tryBuildCapture(*this, ValExpr, Captures).get(); in ActOnOpenMPFilterClause()
17469 HelperValStmt = buildPreInits(Context, Captures); in ActOnOpenMPFilterClause()
20519 llvm::MapVector<const Expr *, DeclRefExpr *> Captures; in ActOnOpenMPDeviceClause() local
20520 ValExpr = tryBuildCapture(*this, ValExpr, Captures).get(); in ActOnOpenMPDeviceClause()
20521 HelperValStmt = buildPreInits(Context, Captures); in ActOnOpenMPDeviceClause()
22185 llvm::MapVector<const Expr *, DeclRefExpr *> Captures; in ActOnOpenMPNumTeamsClause() local
22186 ValExpr = tryBuildCapture(*this, ValExpr, Captures).get(); in ActOnOpenMPNumTeamsClause()
22187 HelperValStmt = buildPreInits(Context, Captures); in ActOnOpenMPNumTeamsClause()
22212 llvm::MapVector<const Expr *, DeclRefExpr *> Captures; in ActOnOpenMPThreadLimitClause() local
22213 ValExpr = tryBuildCapture(*this, ValExpr, Captures).get(); in ActOnOpenMPThreadLimitClause()
22214 HelperValStmt = buildPreInits(Context, Captures); in ActOnOpenMPThreadLimitClause()
22402 llvm::MapVector<const Expr *, DeclRefExpr *> Captures; in ActOnOpenMPDistScheduleClause() local
22403 ValExpr = tryBuildCapture(*this, ValExpr, Captures).get(); in ActOnOpenMPDistScheduleClause()
22404 HelperValStmt = buildPreInits(Context, Captures); in ActOnOpenMPDistScheduleClause()