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