Lines Matching refs:LCDecl

7195   ValueDecl *LCDecl = nullptr;  member in __anon5b04668f3411::OpenMPIterationSpaceChecker
7244 ValueDecl *getLoopDecl() const { return LCDecl; } in getLoopDecl()
7314 if (!LCDecl) { in dependent()
7318 return LCDecl->getType()->isDependentType() || in dependent()
7327 assert(LCDecl == nullptr && LB == nullptr && LCRef == nullptr && in setLCDeclAndLB()
7331 LCDecl = getCanonicalDecl(NewLCDecl); in setLCDeclAndLB()
7350 assert(LCDecl != nullptr && LB != nullptr && UB == nullptr && in setUB()
7366 assert(LCDecl != nullptr && LB != nullptr && Step == nullptr); in setStep()
7407 << LCDecl << TestIsLessOp.getValue() << NewStep->getSourceRange(); in setStep()
7528 LoopCounterRefChecker LoopStmtChecker(SemaRef, Stack, LCDecl, IsInitializer, in doesDependOnLoopCounter()
7654 << (IneqCondIsCanonical ? 1 : 0) << LCDecl; in checkAndSetCond()
7662 if (getInitLCDecl(BO->getLHS()) == LCDecl) in checkAndSetCond()
7667 if (getInitLCDecl(BO->getRHS()) == LCDecl) in checkAndSetCond()
7674 getInitLCDecl(BO->getLHS()) == LCDecl ? BO->getRHS() : BO->getLHS(), in checkAndSetCond()
7685 if (getInitLCDecl(CE->getArg(0)) == LCDecl) in checkAndSetCond()
7689 if (getInitLCDecl(CE->getArg(1)) == LCDecl) in checkAndSetCond()
7696 return setUB(getInitLCDecl(CE->getArg(0)) == LCDecl ? CE->getArg(1) in checkAndSetCond()
7710 << (IneqCondIsCanonical ? 1 : 0) << S->getSourceRange() << LCDecl; in checkAndSetCond()
7724 if (getInitLCDecl(BO->getLHS()) == LCDecl) in checkAndSetIncRHS()
7726 if (IsAdd && getInitLCDecl(BO->getRHS()) == LCDecl) in checkAndSetIncRHS()
7732 if (getInitLCDecl(CE->getArg(0)) == LCDecl) in checkAndSetIncRHS()
7734 if (IsAdd && getInitLCDecl(CE->getArg(1)) == LCDecl) in checkAndSetIncRHS()
7741 << RHS->getSourceRange() << LCDecl; in checkAndSetIncRHS()
7760 SemaRef.Diag(DefaultLoc, diag::err_omp_loop_not_canonical_incr) << LCDecl; in checkAndSetInc()
7771 getInitLCDecl(UO->getSubExpr()) == LCDecl) in checkAndSetInc()
7781 if (getInitLCDecl(BO->getLHS()) == LCDecl) in checkAndSetInc()
7785 if (getInitLCDecl(BO->getLHS()) == LCDecl) in checkAndSetInc()
7795 if (getInitLCDecl(CE->getArg(0)) == LCDecl) in checkAndSetInc()
7805 if (getInitLCDecl(CE->getArg(0)) == LCDecl) in checkAndSetInc()
7809 if (getInitLCDecl(CE->getArg(0)) == LCDecl) in checkAndSetInc()
7819 << S->getSourceRange() << LCDecl; in checkAndSetInc()
8015 QualType VarType = LCDecl->getType().getNonReferenceType(); in buildNumIterations()
8233 if (LCDecl->getType()->isRecordType()) in buildMinMaxValues()
8258 QualType VarType = LCDecl->getType().getNonReferenceType(); in buildMinMaxValues()
8386 auto *VD = dyn_cast<VarDecl>(LCDecl); in buildCounterVar()
8388 VD = SemaRef.isOpenMPCapturedDecl(LCDecl); in buildCounterVar()
8392 DSA.getTopDSA(LCDecl, /*FromParent=*/false); in buildCounterVar()
8403 if (LCDecl && !LCDecl->isInvalidDecl()) { in buildPrivateCounterVar()
8404 QualType Type = LCDecl->getType().getNonReferenceType(); in buildPrivateCounterVar()
8406 SemaRef, DefaultLoc, Type, LCDecl->getName(), in buildPrivateCounterVar()
8407 LCDecl->hasAttrs() ? &LCDecl->getAttrs() : nullptr, in buildPrivateCounterVar()
8408 isa<VarDecl>(LCDecl) in buildPrivateCounterVar()
8409 ? buildDeclRefExpr(SemaRef, cast<VarDecl>(LCDecl), Type, DefaultLoc) in buildPrivateCounterVar()
8439 QualType VarType = LCDecl->getType().getNonReferenceType(); in buildOrderedLoopData()
8601 if (ValueDecl *LCDecl = ISC.getLoopDecl()) { in checkOpenMPIterationSpace() local
8607 QualType VarType = LCDecl->getType().getNonReferenceType(); in checkOpenMPIterationSpace()
8625 VarsWithImplicitDSA.erase(LCDecl); in checkOpenMPIterationSpace()