Lines Matching refs:CurScope
92 Scope *CurScope = nullptr; member
107 Scope *CurScope, SourceLocation Loc) in SharingMapTy()
108 : Directive(DKind), DirectiveName(Name), CurScope(CurScope), in SharingMapTy()
141 Scope *CurScope, SourceLocation Loc) { in push() argument
142 Stack.push_back(SharingMapTy(DKind, DirName, CurScope, Loc)); in push()
322 Scope *getCurScope() const { return Stack.back().CurScope; } in getCurScope()
323 Scope *getCurScope() { return Stack.back().CurScope; } in getCurScope()
607 TopScope = I->CurScope ? I->CurScope->getParent() : nullptr; in isOpenMPLocal()
608 Scope *CurScope = getCurScope(); in isOpenMPLocal() local
609 while (CurScope != TopScope && !CurScope->isDeclScope(D)) { in isOpenMPLocal()
610 CurScope = CurScope->getParent(); in isOpenMPLocal()
612 return CurScope != TopScope; in isOpenMPLocal()
1046 Scope *CurScope, SourceLocation Loc) { in StartOpenMPDSABlock() argument
1047 DSAStack->push(DKind, DirName, CurScope, Loc); in StartOpenMPDSABlock()
1151 ExprResult Sema::ActOnOpenMPIdExpression(Scope *CurScope, in ActOnOpenMPIdExpression() argument
1155 LookupParsedName(Lookup, CurScope, &ScopeSpec, true); in ActOnOpenMPIdExpression()
1163 Id, LookupOrdinaryName, CurScope, nullptr, in ActOnOpenMPIdExpression()
1249 if (CanonicalVD->isStaticLocal() && CurScope && in ActOnOpenMPIdExpression()
1250 !isDeclInScope(ND, getCurLexicalContext(), CurScope)) { in ActOnOpenMPIdExpression()
1584 void Sema::ActOnOpenMPRegionStart(OpenMPDirectiveKind DKind, Scope *CurScope) { in ActOnOpenMPRegionStart() argument
1599 ActOnCapturedRegionStart(DSAStack->getConstructLoc(), CurScope, CR_OpenMP, in ActOnOpenMPRegionStart()
1623 ActOnCapturedRegionStart(DSAStack->getConstructLoc(), CurScope, CR_OpenMP, in ActOnOpenMPRegionStart()
1642 ActOnCapturedRegionStart(DSAStack->getConstructLoc(), CurScope, CR_OpenMP, in ActOnOpenMPRegionStart()
1677 ActOnCapturedRegionStart(DSAStack->getConstructLoc(), CurScope, CR_OpenMP, in ActOnOpenMPRegionStart()
1699 ActOnCapturedRegionStart(DSAStack->getConstructLoc(), CurScope, CR_OpenMP, in ActOnOpenMPRegionStart()
5035 Scope *CurScope = DSA.getCurScope(); in CheckOpenMPLoop() local
5038 PreCond = SemaRef.BuildBinOp(CurScope, SourceLocation(), BO_LAnd, in CheckOpenMPLoop()
5045 CurScope, SourceLocation(), BO_Mul, LastIteration32.get(), in CheckOpenMPLoop()
5052 CurScope, SourceLocation(), BO_Mul, LastIteration64.get(), in CheckOpenMPLoop()
5086 CurScope, SourceLocation(), BO_Sub, LastIteration.get(), in CheckOpenMPLoop()
5105 CurScope, SourceLocation(), BO_Add, SaveRef.get(), in CheckOpenMPLoop()
5150 ExprResult IsUBGreater = SemaRef.BuildBinOp(CurScope, InitLoc, BO_GT, in CheckOpenMPLoop()
5154 EUB = SemaRef.BuildBinOp(CurScope, InitLoc, BO_Assign, UB.get(), in CheckOpenMPLoop()
5195 Init = SemaRef.BuildBinOp(CurScope, InitLoc, BO_Assign, IV.get(), RHS); in CheckOpenMPLoop()
5204 ? SemaRef.BuildBinOp(CurScope, CondLoc, BO_LE, IV.get(), UB.get()) in CheckOpenMPLoop()
5205 : SemaRef.BuildBinOp(CurScope, CondLoc, BO_LT, IV.get(), in CheckOpenMPLoop()
5211 SemaRef.BuildBinOp(CurScope, IncLoc, BO_Add, IV.get(), in CheckOpenMPLoop()
5215 Inc = SemaRef.BuildBinOp(CurScope, IncLoc, BO_Assign, IV.get(), Inc.get()); in CheckOpenMPLoop()
5226 NextLB = SemaRef.BuildBinOp(CurScope, IncLoc, BO_Add, LB.get(), ST.get()); in CheckOpenMPLoop()
5231 SemaRef.BuildBinOp(CurScope, IncLoc, BO_Assign, LB.get(), NextLB.get()); in CheckOpenMPLoop()
5236 NextUB = SemaRef.BuildBinOp(CurScope, IncLoc, BO_Add, UB.get(), ST.get()); in CheckOpenMPLoop()
5241 SemaRef.BuildBinOp(CurScope, IncLoc, BO_Assign, UB.get(), NextUB.get()); in CheckOpenMPLoop()
5265 SemaRef.BuildBinOp(CurScope, UpdLoc, BO_Div, IV.get(), Div.get()); in CheckOpenMPLoop()
5273 Iter = SemaRef.BuildBinOp(CurScope, UpdLoc, BO_Rem, Iter.get(), in CheckOpenMPLoop()
5285 ExprResult Init = BuildCounterInit(SemaRef, CurScope, UpdLoc, CounterVar, in CheckOpenMPLoop()
5292 SemaRef, CurScope, UpdLoc, CounterVar, IS.CounterInit, Iter, in CheckOpenMPLoop()
5301 SemaRef, CurScope, UpdLoc, CounterVar, IS.CounterInit, in CheckOpenMPLoop()
5313 Div = SemaRef.BuildBinOp(CurScope, UpdLoc, BO_Mul, Div.get(), in CheckOpenMPLoop()
5385 .BuildBinOp(CurScope, I->first->getExprLoc(), BO_Div, in CheckOpenMPLoop()
5391 .BuildBinOp(CurScope, I->first->getExprLoc(), BO_Mul, in CheckOpenMPLoop()
5398 SemaRef.BuildBinOp(CurScope, I->first->getExprLoc(), BOK, in CheckOpenMPLoop()
5478 B.NumIterations, *this, CurScope, in ActOnOpenMPSimdDirective()
5532 B.NumIterations, *this, CurScope, in ActOnOpenMPForDirective()
5569 B.NumIterations, *this, CurScope, in ActOnOpenMPForSimdDirective()
5786 B.NumIterations, *this, CurScope, in ActOnOpenMPParallelForDirective()
5828 B.NumIterations, *this, CurScope, in ActOnOpenMPParallelForSimdDirective()
6804 B.NumIterations, *this, CurScope, in ActOnOpenMPTargetParallelForDirective()
7043 B.NumIterations, *this, CurScope, in ActOnOpenMPTaskLoopSimdDirective()
7218 B.NumIterations, *this, CurScope, in ActOnOpenMPTargetParallelForSimdDirective()
9714 BuildBinOp(CurScope, StepLoc, BO_Assign, SaveRef.get(), StepExpr); in ActOnOpenMPLinearClause()
11491 Sema::ActOnOpenMPDeclareTargetName(Scope *CurScope, CXXScopeSpec &ScopeSpec, in ActOnOpenMPDeclareTargetName() argument
11496 LookupParsedName(Lookup, CurScope, &ScopeSpec, true); in ActOnOpenMPDeclareTargetName()
11504 CorrectTypo(Id, LookupOrdinaryName, CurScope, nullptr, in ActOnOpenMPDeclareTargetName()