Lines Matching refs:LCDecl

7782   ValueDecl *LCDecl = nullptr;  member in __anon1dd12e443c11::OpenMPIterationSpaceChecker
7832 ValueDecl *getLoopDecl() const { return LCDecl; } in getLoopDecl()
7902 if (!LCDecl) { in dependent()
7906 return LCDecl->getType()->isDependentType() || in dependent()
7915 assert(LCDecl == nullptr && LB == nullptr && LCRef == nullptr && in setLCDeclAndLB()
7919 LCDecl = getCanonicalDecl(NewLCDecl); in setLCDeclAndLB()
7937 assert(LCDecl != nullptr && LB != nullptr && UB == nullptr && in setUB()
7953 assert(LCDecl != nullptr && LB != nullptr && Step == nullptr); in setStep()
7993 << LCDecl << *TestIsLessOp << NewStep->getSourceRange(); in setStep()
8114 LoopCounterRefChecker LoopStmtChecker(SemaRef, Stack, LCDecl, IsInitializer, in doesDependOnLoopCounter()
8240 << (IneqCondIsCanonical ? 1 : 0) << LCDecl; in checkAndSetCond()
8251 if (getInitLCDecl(LHS) == LCDecl) in checkAndSetCond()
8255 if (getInitLCDecl(RHS) == LCDecl) in checkAndSetCond()
8260 return setUB(const_cast<Expr *>(getInitLCDecl(LHS) == LCDecl ? RHS : LHS), in checkAndSetCond()
8286 << (IneqCondIsCanonical ? 1 : 0) << S->getSourceRange() << LCDecl; in checkAndSetCond()
8300 if (getInitLCDecl(BO->getLHS()) == LCDecl) in checkAndSetIncRHS()
8302 if (IsAdd && getInitLCDecl(BO->getRHS()) == LCDecl) in checkAndSetIncRHS()
8308 if (getInitLCDecl(CE->getArg(0)) == LCDecl) in checkAndSetIncRHS()
8310 if (IsAdd && getInitLCDecl(CE->getArg(1)) == LCDecl) in checkAndSetIncRHS()
8317 << RHS->getSourceRange() << LCDecl; in checkAndSetIncRHS()
8336 SemaRef.Diag(DefaultLoc, diag::err_omp_loop_not_canonical_incr) << LCDecl; in checkAndSetInc()
8347 getInitLCDecl(UO->getSubExpr()) == LCDecl) in checkAndSetInc()
8357 if (getInitLCDecl(BO->getLHS()) == LCDecl) in checkAndSetInc()
8361 if (getInitLCDecl(BO->getLHS()) == LCDecl) in checkAndSetInc()
8371 if (getInitLCDecl(CE->getArg(0)) == LCDecl) in checkAndSetInc()
8381 if (getInitLCDecl(CE->getArg(0)) == LCDecl) in checkAndSetInc()
8385 if (getInitLCDecl(CE->getArg(0)) == LCDecl) in checkAndSetInc()
8395 << S->getSourceRange() << LCDecl; in checkAndSetInc()
8595 QualType VarType = LCDecl->getType().getNonReferenceType(); in buildNumIterations()
8825 if (LCDecl->getType()->isRecordType()) in buildMinMaxValues()
8850 QualType VarType = LCDecl->getType().getNonReferenceType(); in buildMinMaxValues()
8979 auto *VD = dyn_cast<VarDecl>(LCDecl); in buildCounterVar()
8981 VD = SemaRef.OpenMP().isOpenMPCapturedDecl(LCDecl); in buildCounterVar()
8985 DSA.getTopDSA(LCDecl, /*FromParent=*/false); in buildCounterVar()
8996 if (LCDecl && !LCDecl->isInvalidDecl()) { in buildPrivateCounterVar()
8997 QualType Type = LCDecl->getType().getNonReferenceType(); in buildPrivateCounterVar()
8999 SemaRef, DefaultLoc, Type, LCDecl->getName(), in buildPrivateCounterVar()
9000 LCDecl->hasAttrs() ? &LCDecl->getAttrs() : nullptr, in buildPrivateCounterVar()
9001 isa<VarDecl>(LCDecl) in buildPrivateCounterVar()
9002 ? buildDeclRefExpr(SemaRef, cast<VarDecl>(LCDecl), Type, DefaultLoc) in buildPrivateCounterVar()
9032 QualType VarType = LCDecl->getType().getNonReferenceType(); in buildOrderedLoopData()
9215 if (ValueDecl *LCDecl = ISC.getLoopDecl()) { in checkOpenMPIterationSpace() local
9221 QualType VarType = LCDecl->getType().getNonReferenceType(); in checkOpenMPIterationSpace()
9239 VarsWithImplicitDSA.erase(LCDecl); in checkOpenMPIterationSpace()