Lines Matching defs:CurScope
176 Scope *CurScope = nullptr;
230 Scope *CurScope, SourceLocation Loc)
231 : Directive(DKind), DirectiveName(Name), CurScope(CurScope),
403 Scope *CurScope, SourceLocation Loc) {
409 Stack.back().first.emplace_back(DKind, DirName, CurScope, Loc);
1007 return Top ? Top->CurScope : nullptr;
1693 if (I->CurScope) {
1694 Scope *TopScope = I->CurScope->getParent();
1695 Scope *CurScope = getCurScope();
1696 while (CurScope && CurScope != TopScope && !CurScope->isDeclScope(D))
1697 CurScope = CurScope->getParent();
1698 return CurScope != TopScope;
2789 Scope *CurScope, SourceLocation Loc) {
2790 DSAStack->push(DKind, DirName, CurScope, Loc);
3084 ExprResult SemaOpenMP::ActOnOpenMPIdExpression(Scope *CurScope,
3090 SemaRef.LookupParsedName(Lookup, CurScope, &ScopeSpec,
3101 SemaRef.CorrectTypo(Id, Sema::LookupOrdinaryName, CurScope, nullptr,
3186 if (CanonicalVD->isLocalVarDecl() && CurScope &&
3187 !SemaRef.isDeclInScope(ND, SemaRef.getCurLexicalContext(), CurScope)) {
4345 Scope *CurScope, SourceLocation Loc) {
4362 Loc, CurScope, CR_OpenMP,
4366 SemaRef.ActOnCapturedRegionStart(Loc, CurScope, CR_OpenMP,
4370 SemaRef.ActOnCapturedRegionStart(Loc, CurScope, CR_OpenMP,
4377 SemaRef.ActOnCapturedRegionStart(Loc, CurScope, CR_OpenMP,
4384 SemaRef.ActOnCapturedRegionStart(Loc, CurScope, CR_OpenMP,
4388 SemaRef.ActOnCapturedRegionStart(Loc, CurScope, CR_OpenMP,
4400 Scope *CurScope) {
4413 processCapturedRegions(SemaRef, DKind, CurScope,
9728 Scope *CurScope = DSA.getCurScope();
9732 SemaRef.BuildBinOp(CurScope, PreCond.get()->getExprLoc(), BO_LAnd,
9740 CurScope, Loc, BO_Mul, LastIteration32.get(),
9748 CurScope, Loc, BO_Mul, LastIteration64.get(),
9784 CurScope, LastIteration.get()->getExprLoc(), BO_Sub,
9802 CurScope, SaveRef.get()->getExprLoc(), BO_Add, SaveRef.get(),
9848 ExprResult IsUBGreater = SemaRef.BuildBinOp(CurScope, InitLoc, BO_GT,
9853 EUB = SemaRef.BuildBinOp(CurScope, InitLoc, BO_Assign, UB.get(),
9878 CurScope, InitLoc, BO_GT, CombUB.get(), LastIteration.get());
9882 CombEUB = SemaRef.BuildBinOp(CurScope, InitLoc, BO_Assign, CombUB.get(),
9920 Init = SemaRef.BuildBinOp(CurScope, InitLoc, BO_Assign, IV.get(), RHS);
9932 SemaRef.BuildBinOp(CurScope, InitLoc, BO_Assign, IV.get(), CombRHS);
9950 .BuildBinOp(CurScope, CondLoc, BO_Add, BoundUB,
9961 ? SemaRef.BuildBinOp(CurScope, CondLoc,
9964 : SemaRef.BuildBinOp(CurScope, CondLoc, BO_LT, IV.get(),
9968 CombDistCond = SemaRef.BuildBinOp(CurScope, CondLoc, BO_LT, IV.get(),
9979 CurScope, CondLoc, BO_Add, BoundCombUB,
9987 SemaRef.BuildBinOp(CurScope, CondLoc, UseStrictCompare ? BO_LT : BO_LE,
9993 SemaRef.BuildBinOp(CurScope, IncLoc, BO_Add, IV.get(),
9997 Inc = SemaRef.BuildBinOp(CurScope, IncLoc, BO_Assign, IV.get(), Inc.get());
10012 NextLB = SemaRef.BuildBinOp(CurScope, IncLoc, BO_Add, LB.get(), ST.get());
10017 SemaRef.BuildBinOp(CurScope, IncLoc, BO_Assign, LB.get(), NextLB.get());
10023 NextUB = SemaRef.BuildBinOp(CurScope, IncLoc, BO_Add, UB.get(), ST.get());
10028 SemaRef.BuildBinOp(CurScope, IncLoc, BO_Assign, UB.get(), NextUB.get());
10035 SemaRef.BuildBinOp(CurScope, IncLoc, BO_Add, CombLB.get(), ST.get());
10039 CombNextLB = SemaRef.BuildBinOp(CurScope, IncLoc, BO_Assign, CombLB.get(),
10047 SemaRef.BuildBinOp(CurScope, IncLoc, BO_Add, CombUB.get(), ST.get());
10051 CombNextUB = SemaRef.BuildBinOp(CurScope, IncLoc, BO_Assign, CombUB.get(),
10068 CurScope, CondLoc, UseStrictCompare ? BO_LT : BO_LE, IV.get(), BoundUB);
10072 SemaRef.BuildBinOp(CurScope, DistIncLoc, BO_Add, IV.get(), ST.get());
10074 DistInc = SemaRef.BuildBinOp(CurScope, DistIncLoc, BO_Assign, IV.get(),
10093 ExprResult IsUBGreater = SemaRef.BuildBinOp(CurScope, DistEUBLoc, BO_GT,
10097 PrevEUB = SemaRef.BuildBinOp(CurScope, DistIncLoc, BO_Assign, UB.get(),
10110 CurScope, CondLoc, BO_Add, BoundPrevUB,
10118 SemaRef.BuildBinOp(CurScope, CondLoc, UseStrictCompare ? BO_LT : BO_LE,
10156 Prod = SemaRef.BuildBinOp(CurScope, UpdLoc, BO_Mul, Prod.get(),
10164 SemaRef.BuildBinOp(CurScope, UpdLoc, BO_Div, Acc.get(), Prod.get());
10177 Prod = SemaRef.BuildBinOp(CurScope, UpdLoc, BO_Mul, Iter.get(),
10181 Acc = SemaRef.BuildBinOp(CurScope, UpdLoc, BO_Sub, Acc.get(), Prod.get());
10189 buildCounterInit(SemaRef, CurScope, UpdLoc, CounterVar,
10196 SemaRef, CurScope, UpdLoc, CounterVar, IS.CounterInit, Iter,
10205 buildCounterUpdate(SemaRef, CurScope, UpdLoc, CounterVar,
14130 Scope *CurScope = SemaRef.getCurScope();
14216 SizesClause, CurScope](int I) -> Expr * {
14244 CurScope, {}, BO_LE,
14289 SemaRef.BuildBinOp(CurScope, LoopHelper.Cond->getExprLoc(), BO_Add,
14294 SemaRef.BuildBinOp(CurScope, LoopHelper.Cond->getExprLoc(), BO_LT,
14304 SemaRef.BuildBinOp(CurScope, LoopHelper.Cond->getExprLoc(), BO_LT,
14311 CurScope, LoopHelper.Inc->getExprLoc(), UO_PreInc, MakeTileIVRef());
14374 SemaRef.BuildBinOp(CurScope, LoopHelper.Cond->getExprLoc(), BO_LT,
14381 SemaRef.BuildBinOp(CurScope, LoopHelper.Inc->getExprLoc(), BO_AddAssign,
14402 Scope *CurScope = SemaRef.getCurScope();
14584 SemaRef.BuildBinOp(CurScope, LoopHelper.Cond->getExprLoc(), BO_Add,
14589 SemaRef.BuildBinOp(CurScope, LoopHelper.Cond->getExprLoc(), BO_LT,
14594 SemaRef.BuildBinOp(CurScope, LoopHelper.Cond->getExprLoc(), BO_LT,
14599 SemaRef.BuildBinOp(CurScope, LoopHelper.Cond->getExprLoc(), BO_LAnd,
14606 CurScope, LoopHelper.Inc->getExprLoc(), UO_PreInc, MakeInnerRef());
14654 SemaRef.BuildBinOp(CurScope, LoopHelper.Cond->getExprLoc(), BO_LT,
14661 SemaRef.BuildBinOp(CurScope, LoopHelper.Inc->getExprLoc(), BO_AddAssign,
14681 Scope *CurScope = SemaRef.getCurScope();
14806 SemaRef.BuildBinOp(CurScope, LoopHelper.Cond->getExprLoc(), BO_LT,
14815 ExprResult Incr = SemaRef.BuildUnaryOp(CurScope, LoopHelper.Inc->getExprLoc(),
14826 ExprResult Minus = SemaRef.BuildBinOp(CurScope, TransformLoc, BO_Sub,
14830 Minus = SemaRef.BuildBinOp(CurScope, TransformLoc, BO_Sub, Minus.get(),
14869 Scope *CurScope = SemaRef.getCurScope();
14984 SemaRef.BuildBinOp(CurScope, SourceHelper.Cond->getExprLoc(), BO_LT,
14994 CurScope, SourceHelper.Inc->getExprLoc(), UO_PreInc, MakePermutedRef());
22115 Scope *CurScope, CXXScopeSpec &ScopeSpec, const DeclarationNameInfo &Id) {
22117 SemaRef.LookupParsedName(Lookup, CurScope, &ScopeSpec,
22128 SemaRef.CorrectTypo(Id, Sema::LookupOrdinaryName, CurScope, nullptr,