Lines Matching defs:CurScope

171     Scope *CurScope = nullptr;
225 Scope *CurScope, SourceLocation Loc)
226 : Directive(DKind), DirectiveName(Name), CurScope(CurScope),
398 Scope *CurScope, SourceLocation Loc) {
404 Stack.back().first.emplace_back(DKind, DirName, CurScope, Loc);
985 return Top ? Top->CurScope : nullptr;
1661 if (I->CurScope) {
1662 Scope *TopScope = I->CurScope->getParent();
1663 Scope *CurScope = getCurScope();
1664 while (CurScope && CurScope != TopScope && !CurScope->isDeclScope(D))
1665 CurScope = CurScope->getParent();
1666 return CurScope != TopScope;
2757 Scope *CurScope, SourceLocation Loc) {
2758 DSAStack->push(DKind, DirName, CurScope, Loc);
3059 ExprResult SemaOpenMP::ActOnOpenMPIdExpression(Scope *CurScope,
3065 SemaRef.LookupParsedName(Lookup, CurScope, &ScopeSpec,
3076 SemaRef.CorrectTypo(Id, Sema::LookupOrdinaryName, CurScope, nullptr,
3161 if (CanonicalVD->isLocalVarDecl() && CurScope &&
3162 !SemaRef.isDeclInScope(ND, SemaRef.getCurLexicalContext(), CurScope)) {
4326 Scope *CurScope, SourceLocation Loc) {
4343 Loc, CurScope, CR_OpenMP,
4347 SemaRef.ActOnCapturedRegionStart(Loc, CurScope, CR_OpenMP,
4351 SemaRef.ActOnCapturedRegionStart(Loc, CurScope, CR_OpenMP,
4358 SemaRef.ActOnCapturedRegionStart(Loc, CurScope, CR_OpenMP,
4365 SemaRef.ActOnCapturedRegionStart(Loc, CurScope, CR_OpenMP,
4369 SemaRef.ActOnCapturedRegionStart(Loc, CurScope, CR_OpenMP,
4381 Scope *CurScope) {
4395 processCapturedRegions(SemaRef, DKind, CurScope,
9773 Scope *CurScope = DSA.getCurScope();
9777 SemaRef.BuildBinOp(CurScope, PreCond.get()->getExprLoc(), BO_LAnd,
9785 CurScope, Loc, BO_Mul, LastIteration32.get(),
9793 CurScope, Loc, BO_Mul, LastIteration64.get(),
9829 CurScope, LastIteration.get()->getExprLoc(), BO_Sub,
9847 CurScope, SaveRef.get()->getExprLoc(), BO_Add, SaveRef.get(),
9893 ExprResult IsUBGreater = SemaRef.BuildBinOp(CurScope, InitLoc, BO_GT,
9898 EUB = SemaRef.BuildBinOp(CurScope, InitLoc, BO_Assign, UB.get(),
9923 CurScope, InitLoc, BO_GT, CombUB.get(), LastIteration.get());
9927 CombEUB = SemaRef.BuildBinOp(CurScope, InitLoc, BO_Assign, CombUB.get(),
9965 Init = SemaRef.BuildBinOp(CurScope, InitLoc, BO_Assign, IV.get(), RHS);
9977 SemaRef.BuildBinOp(CurScope, InitLoc, BO_Assign, IV.get(), CombRHS);
9995 .BuildBinOp(CurScope, CondLoc, BO_Add, BoundUB,
10006 ? SemaRef.BuildBinOp(CurScope, CondLoc,
10009 : SemaRef.BuildBinOp(CurScope, CondLoc, BO_LT, IV.get(),
10013 CombDistCond = SemaRef.BuildBinOp(CurScope, CondLoc, BO_LT, IV.get(),
10024 CurScope, CondLoc, BO_Add, BoundCombUB,
10032 SemaRef.BuildBinOp(CurScope, CondLoc, UseStrictCompare ? BO_LT : BO_LE,
10038 SemaRef.BuildBinOp(CurScope, IncLoc, BO_Add, IV.get(),
10042 Inc = SemaRef.BuildBinOp(CurScope, IncLoc, BO_Assign, IV.get(), Inc.get());
10057 NextLB = SemaRef.BuildBinOp(CurScope, IncLoc, BO_Add, LB.get(), ST.get());
10062 SemaRef.BuildBinOp(CurScope, IncLoc, BO_Assign, LB.get(), NextLB.get());
10068 NextUB = SemaRef.BuildBinOp(CurScope, IncLoc, BO_Add, UB.get(), ST.get());
10073 SemaRef.BuildBinOp(CurScope, IncLoc, BO_Assign, UB.get(), NextUB.get());
10080 SemaRef.BuildBinOp(CurScope, IncLoc, BO_Add, CombLB.get(), ST.get());
10084 CombNextLB = SemaRef.BuildBinOp(CurScope, IncLoc, BO_Assign, CombLB.get(),
10092 SemaRef.BuildBinOp(CurScope, IncLoc, BO_Add, CombUB.get(), ST.get());
10096 CombNextUB = SemaRef.BuildBinOp(CurScope, IncLoc, BO_Assign, CombUB.get(),
10113 CurScope, CondLoc, UseStrictCompare ? BO_LT : BO_LE, IV.get(), BoundUB);
10117 SemaRef.BuildBinOp(CurScope, DistIncLoc, BO_Add, IV.get(), ST.get());
10119 DistInc = SemaRef.BuildBinOp(CurScope, DistIncLoc, BO_Assign, IV.get(),
10138 ExprResult IsUBGreater = SemaRef.BuildBinOp(CurScope, DistEUBLoc, BO_GT,
10142 PrevEUB = SemaRef.BuildBinOp(CurScope, DistIncLoc, BO_Assign, UB.get(),
10155 CurScope, CondLoc, BO_Add, BoundPrevUB,
10163 SemaRef.BuildBinOp(CurScope, CondLoc, UseStrictCompare ? BO_LT : BO_LE,
10201 Prod = SemaRef.BuildBinOp(CurScope, UpdLoc, BO_Mul, Prod.get(),
10209 SemaRef.BuildBinOp(CurScope, UpdLoc, BO_Div, Acc.get(), Prod.get());
10222 Prod = SemaRef.BuildBinOp(CurScope, UpdLoc, BO_Mul, Iter.get(),
10226 Acc = SemaRef.BuildBinOp(CurScope, UpdLoc, BO_Sub, Acc.get(), Prod.get());
10234 buildCounterInit(SemaRef, CurScope, UpdLoc, CounterVar,
10241 SemaRef, CurScope, UpdLoc, CounterVar, IS.CounterInit, Iter,
10250 buildCounterUpdate(SemaRef, CurScope, UpdLoc, CounterVar,
14213 Scope *CurScope = SemaRef.getCurScope();
14299 SizesClause, CurScope](int I) -> Expr * {
14327 CurScope, {}, BO_LE,
14372 SemaRef.BuildBinOp(CurScope, LoopHelper.Cond->getExprLoc(), BO_Add,
14377 SemaRef.BuildBinOp(CurScope, LoopHelper.Cond->getExprLoc(), BO_LT,
14387 SemaRef.BuildBinOp(CurScope, LoopHelper.Cond->getExprLoc(), BO_LT,
14394 CurScope, LoopHelper.Inc->getExprLoc(), UO_PreInc, MakeTileIVRef());
14457 SemaRef.BuildBinOp(CurScope, LoopHelper.Cond->getExprLoc(), BO_LT,
14464 SemaRef.BuildBinOp(CurScope, LoopHelper.Inc->getExprLoc(), BO_AddAssign,
14485 Scope *CurScope = SemaRef.getCurScope();
14667 SemaRef.BuildBinOp(CurScope, LoopHelper.Cond->getExprLoc(), BO_Add,
14672 SemaRef.BuildBinOp(CurScope, LoopHelper.Cond->getExprLoc(), BO_LT,
14677 SemaRef.BuildBinOp(CurScope, LoopHelper.Cond->getExprLoc(), BO_LT,
14682 SemaRef.BuildBinOp(CurScope, LoopHelper.Cond->getExprLoc(), BO_LAnd,
14689 CurScope, LoopHelper.Inc->getExprLoc(), UO_PreInc, MakeInnerRef());
14737 SemaRef.BuildBinOp(CurScope, LoopHelper.Cond->getExprLoc(), BO_LT,
14744 SemaRef.BuildBinOp(CurScope, LoopHelper.Inc->getExprLoc(), BO_AddAssign,
14764 Scope *CurScope = SemaRef.getCurScope();
14889 SemaRef.BuildBinOp(CurScope, LoopHelper.Cond->getExprLoc(), BO_LT,
14898 ExprResult Incr = SemaRef.BuildUnaryOp(CurScope, LoopHelper.Inc->getExprLoc(),
14909 ExprResult Minus = SemaRef.BuildBinOp(CurScope, TransformLoc, BO_Sub,
14913 Minus = SemaRef.BuildBinOp(CurScope, TransformLoc, BO_Sub, Minus.get(),
14952 Scope *CurScope = SemaRef.getCurScope();
15112 SemaRef.BuildBinOp(CurScope, SourceHelper.Cond->getExprLoc(), BO_LT,
15122 CurScope, SourceHelper.Inc->getExprLoc(), UO_PreInc, MakePermutedRef());
22534 Scope *CurScope, CXXScopeSpec &ScopeSpec, const DeclarationNameInfo &Id) {
22536 SemaRef.LookupParsedName(Lookup, CurScope, &ScopeSpec,
22547 SemaRef.CorrectTypo(Id, Sema::LookupOrdinaryName, CurScope, nullptr,