Lines Matching refs:LCDecl

7825   ValueDecl *LCDecl = nullptr;  member in __anon7e4ded5b3b11::OpenMPIterationSpaceChecker
7875 ValueDecl *getLoopDecl() const { return LCDecl; } in getLoopDecl()
7945 if (!LCDecl) { in dependent()
7949 return LCDecl->getType()->isDependentType() || in dependent()
7958 assert(LCDecl == nullptr && LB == nullptr && LCRef == nullptr && in setLCDeclAndLB()
7962 LCDecl = getCanonicalDecl(NewLCDecl); in setLCDeclAndLB()
7980 assert(LCDecl != nullptr && LB != nullptr && UB == nullptr && in setUB()
7996 assert(LCDecl != nullptr && LB != nullptr && Step == nullptr); in setStep()
8036 << LCDecl << *TestIsLessOp << NewStep->getSourceRange(); in setStep()
8157 LoopCounterRefChecker LoopStmtChecker(SemaRef, Stack, LCDecl, IsInitializer, in doesDependOnLoopCounter()
8283 << (IneqCondIsCanonical ? 1 : 0) << LCDecl; in checkAndSetCond()
8294 if (getInitLCDecl(LHS) == LCDecl) in checkAndSetCond()
8298 if (getInitLCDecl(RHS) == LCDecl) in checkAndSetCond()
8303 return setUB(const_cast<Expr *>(getInitLCDecl(LHS) == LCDecl ? RHS : LHS), in checkAndSetCond()
8329 << (IneqCondIsCanonical ? 1 : 0) << S->getSourceRange() << LCDecl; in checkAndSetCond()
8343 if (getInitLCDecl(BO->getLHS()) == LCDecl) in checkAndSetIncRHS()
8345 if (IsAdd && getInitLCDecl(BO->getRHS()) == LCDecl) in checkAndSetIncRHS()
8351 if (getInitLCDecl(CE->getArg(0)) == LCDecl) in checkAndSetIncRHS()
8353 if (IsAdd && getInitLCDecl(CE->getArg(1)) == LCDecl) in checkAndSetIncRHS()
8360 << RHS->getSourceRange() << LCDecl; in checkAndSetIncRHS()
8379 SemaRef.Diag(DefaultLoc, diag::err_omp_loop_not_canonical_incr) << LCDecl; in checkAndSetInc()
8390 getInitLCDecl(UO->getSubExpr()) == LCDecl) in checkAndSetInc()
8400 if (getInitLCDecl(BO->getLHS()) == LCDecl) in checkAndSetInc()
8404 if (getInitLCDecl(BO->getLHS()) == LCDecl) in checkAndSetInc()
8414 if (getInitLCDecl(CE->getArg(0)) == LCDecl) in checkAndSetInc()
8424 if (getInitLCDecl(CE->getArg(0)) == LCDecl) in checkAndSetInc()
8428 if (getInitLCDecl(CE->getArg(0)) == LCDecl) in checkAndSetInc()
8438 << S->getSourceRange() << LCDecl; in checkAndSetInc()
8637 QualType VarType = LCDecl->getType().getNonReferenceType(); in buildNumIterations()
8855 if (LCDecl->getType()->isRecordType()) in buildMinMaxValues()
8880 QualType VarType = LCDecl->getType().getNonReferenceType(); in buildMinMaxValues()
9009 auto *VD = dyn_cast<VarDecl>(LCDecl); in buildCounterVar()
9011 VD = SemaRef.isOpenMPCapturedDecl(LCDecl); in buildCounterVar()
9015 DSA.getTopDSA(LCDecl, /*FromParent=*/false); in buildCounterVar()
9026 if (LCDecl && !LCDecl->isInvalidDecl()) { in buildPrivateCounterVar()
9027 QualType Type = LCDecl->getType().getNonReferenceType(); in buildPrivateCounterVar()
9029 SemaRef, DefaultLoc, Type, LCDecl->getName(), in buildPrivateCounterVar()
9030 LCDecl->hasAttrs() ? &LCDecl->getAttrs() : nullptr, in buildPrivateCounterVar()
9031 isa<VarDecl>(LCDecl) in buildPrivateCounterVar()
9032 ? buildDeclRefExpr(SemaRef, cast<VarDecl>(LCDecl), Type, DefaultLoc) in buildPrivateCounterVar()
9062 QualType VarType = LCDecl->getType().getNonReferenceType(); in buildOrderedLoopData()
9226 if (ValueDecl *LCDecl = ISC.getLoopDecl()) { in checkOpenMPIterationSpace() local
9232 QualType VarType = LCDecl->getType().getNonReferenceType(); in checkOpenMPIterationSpace()
9250 VarsWithImplicitDSA.erase(LCDecl); in checkOpenMPIterationSpace()