• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/

Lines Matching defs:CurScope

155     Scope *CurScope = nullptr;
188 Scope *CurScope, SourceLocation Loc)
189 : Directive(DKind), DirectiveName(Name), CurScope(CurScope),
361 Scope *CurScope, SourceLocation Loc) {
367 Stack.back().first.emplace_back(DKind, DirName, CurScope, Loc);
909 return Top ? Top->CurScope : nullptr;
1509 Scope *TopScope = I->CurScope ? I->CurScope->getParent() : nullptr;
1510 Scope *CurScope = getCurScope();
1511 while (CurScope && CurScope != TopScope && !CurScope->isDeclScope(D))
1512 CurScope = CurScope->getParent();
1513 return CurScope != TopScope;
2450 Scope *CurScope, SourceLocation Loc) {
2451 DSAStack->push(DKind, DirName, CurScope, Loc);
2721 ExprResult Sema::ActOnOpenMPIdExpression(Scope *CurScope,
2726 LookupParsedName(Lookup, CurScope, &ScopeSpec, true);
2735 CorrectTypo(Id, LookupOrdinaryName, CurScope, nullptr, CCC,
2819 if (CanonicalVD->isLocalVarDecl() && CurScope &&
2820 !isDeclInScope(ND, getCurLexicalContext(), CurScope)) {
3687 void Sema::ActOnOpenMPRegionStart(OpenMPDirectiveKind DKind, Scope *CurScope) {
3705 ActOnCapturedRegionStart(DSAStack->getConstructLoc(), CurScope, CR_OpenMP,
3733 ActOnCapturedRegionStart(DSAStack->getConstructLoc(), CurScope, CR_OpenMP,
3745 ActOnCapturedRegionStart(DSAStack->getConstructLoc(), CurScope, CR_OpenMP,
3754 ActOnCapturedRegionStart(DSAStack->getConstructLoc(), CurScope, CR_OpenMP,
3778 ActOnCapturedRegionStart(DSAStack->getConstructLoc(), CurScope, CR_OpenMP,
3786 ActOnCapturedRegionStart(DSAStack->getConstructLoc(), CurScope, CR_OpenMP,
3808 ActOnCapturedRegionStart(DSAStack->getConstructLoc(), CurScope, CR_OpenMP,
3831 ActOnCapturedRegionStart(DSAStack->getConstructLoc(), CurScope, CR_OpenMP,
3876 ActOnCapturedRegionStart(DSAStack->getConstructLoc(), CurScope, CR_OpenMP,
3906 ActOnCapturedRegionStart(DSAStack->getConstructLoc(), CurScope, CR_OpenMP,
3927 ActOnCapturedRegionStart(DSAStack->getConstructLoc(), CurScope, CR_OpenMP,
3949 ActOnCapturedRegionStart(DSAStack->getConstructLoc(), CurScope, CR_OpenMP,
3974 ActOnCapturedRegionStart(DSAStack->getConstructLoc(), CurScope, CR_OpenMP,
3986 ActOnCapturedRegionStart(DSAStack->getConstructLoc(), CurScope, CR_OpenMP,
3995 ActOnCapturedRegionStart(DSAStack->getConstructLoc(), CurScope, CR_OpenMP,
4007 ActOnCapturedRegionStart(DSAStack->getConstructLoc(), CurScope, CR_OpenMP,
4024 ActOnCapturedRegionStart(DSAStack->getConstructLoc(), CurScope, CR_OpenMP,
4036 ActOnCapturedRegionStart(DSAStack->getConstructLoc(), CurScope, CR_OpenMP,
4061 ActOnCapturedRegionStart(DSAStack->getConstructLoc(), CurScope, CR_OpenMP,
8169 Scope *CurScope = DSA.getCurScope();
8173 SemaRef.BuildBinOp(CurScope, PreCond.get()->getExprLoc(), BO_LAnd,
8181 CurScope, Loc, BO_Mul, LastIteration32.get(),
8189 CurScope, Loc, BO_Mul, LastIteration64.get(),
8225 CurScope, LastIteration.get()->getExprLoc(), BO_Sub,
8245 CurScope, SaveRef.get()->getExprLoc(), BO_Add, SaveRef.get(),
8289 ExprResult IsUBGreater = SemaRef.BuildBinOp(CurScope, InitLoc, BO_GT,
8294 EUB = SemaRef.BuildBinOp(CurScope, InitLoc, BO_Assign, UB.get(),
8319 CurScope, InitLoc, BO_GT, CombUB.get(), LastIteration.get());
8323 CombEUB = SemaRef.BuildBinOp(CurScope, InitLoc, BO_Assign, CombUB.get(),
8359 Init = SemaRef.BuildBinOp(CurScope, InitLoc, BO_Assign, IV.get(), RHS);
8370 SemaRef.BuildBinOp(CurScope, InitLoc, BO_Assign, IV.get(), CombRHS);
8388 .BuildBinOp(CurScope, CondLoc, BO_Add, BoundUB,
8397 ? SemaRef.BuildBinOp(CurScope, CondLoc,
8400 : SemaRef.BuildBinOp(CurScope, CondLoc, BO_LT, IV.get(),
8404 CombDistCond = SemaRef.BuildBinOp(CurScope, CondLoc, BO_LT, IV.get(),
8415 CurScope, CondLoc, BO_Add, BoundCombUB,
8423 SemaRef.BuildBinOp(CurScope, CondLoc, UseStrictCompare ? BO_LT : BO_LE,
8429 SemaRef.BuildBinOp(CurScope, IncLoc, BO_Add, IV.get(),
8433 Inc = SemaRef.BuildBinOp(CurScope, IncLoc, BO_Assign, IV.get(), Inc.get());
8446 NextLB = SemaRef.BuildBinOp(CurScope, IncLoc, BO_Add, LB.get(), ST.get());
8451 SemaRef.BuildBinOp(CurScope, IncLoc, BO_Assign, LB.get(), NextLB.get());
8457 NextUB = SemaRef.BuildBinOp(CurScope, IncLoc, BO_Add, UB.get(), ST.get());
8462 SemaRef.BuildBinOp(CurScope, IncLoc, BO_Assign, UB.get(), NextUB.get());
8469 SemaRef.BuildBinOp(CurScope, IncLoc, BO_Add, CombLB.get(), ST.get());
8473 CombNextLB = SemaRef.BuildBinOp(CurScope, IncLoc, BO_Assign, CombLB.get(),
8481 SemaRef.BuildBinOp(CurScope, IncLoc, BO_Add, CombUB.get(), ST.get());
8485 CombNextUB = SemaRef.BuildBinOp(CurScope, IncLoc, BO_Assign, CombUB.get(),
8502 CurScope, CondLoc, UseStrictCompare ? BO_LT : BO_LE, IV.get(), BoundUB);
8506 SemaRef.BuildBinOp(CurScope, DistIncLoc, BO_Add, IV.get(), ST.get());
8508 DistInc = SemaRef.BuildBinOp(CurScope, DistIncLoc, BO_Assign, IV.get(),
8518 SemaRef.BuildBinOp(CurScope, DistEUBLoc, BO_GT, UB.get(), PrevUB.get());
8521 PrevEUB = SemaRef.BuildBinOp(CurScope, DistIncLoc, BO_Assign, UB.get(),
8534 CurScope, CondLoc, BO_Add, BoundPrevUB,
8542 SemaRef.BuildBinOp(CurScope, CondLoc, UseStrictCompare ? BO_LT : BO_LE,
8581 Prod = SemaRef.BuildBinOp(CurScope, UpdLoc, BO_Mul, Prod.get(),
8588 Iter = SemaRef.BuildBinOp(CurScope, UpdLoc, BO_Div,
8602 Prod = SemaRef.BuildBinOp(CurScope, UpdLoc, BO_Mul,
8606 Acc = SemaRef.BuildBinOp(CurScope, UpdLoc, BO_Sub,
8615 buildCounterInit(SemaRef, CurScope, UpdLoc, CounterVar,
8622 SemaRef, CurScope, UpdLoc, CounterVar, IS.CounterInit, Iter,
8631 buildCounterUpdate(SemaRef, CurScope, UpdLoc, CounterVar,
8787 B.NumIterations, *this, CurScope,
8826 B.NumIterations, *this, CurScope,
8863 B.NumIterations, *this, CurScope,
9066 B.NumIterations, *this, CurScope,
9107 B.NumIterations, *this, CurScope,
10305 B.NumIterations, *this, CurScope,
10632 B.NumIterations, *this, CurScope,
10718 B.NumIterations, *this, CurScope,
10842 B.NumIterations, *this, CurScope,
10978 B.NumIterations, *this, CurScope,
11034 B.NumIterations, *this, CurScope,
11090 B.NumIterations, *this, CurScope,
11145 B.NumIterations, *this, CurScope,
11248 B.NumIterations, *this, CurScope,
11310 B.NumIterations, *this, CurScope,
11493 B.NumIterations, *this, CurScope,
11550 B.NumIterations, *this, CurScope,
11607 B.NumIterations, *this, CurScope,
15744 BuildBinOp(CurScope, StepLoc, BO_Assign, SaveRef.get(), StepExpr);
18401 Sema::lookupOpenMPDeclareTargetName(Scope *CurScope, CXXScopeSpec &ScopeSpec,
18405 LookupParsedName(Lookup, CurScope, &ScopeSpec, true);
18414 CorrectTypo(Id, LookupOrdinaryName, CurScope, nullptr, CCC,