Lines Matching refs:LCDecl
6459 ValueDecl *LCDecl = nullptr; member in __anonf152f9343211::OpenMPIterationSpaceChecker
6508 ValueDecl *getLoopDecl() const { return LCDecl; } in getLoopDecl()
6578 if (!LCDecl) { in dependent()
6582 return LCDecl->getType()->isDependentType() || in dependent()
6591 assert(LCDecl == nullptr && LB == nullptr && LCRef == nullptr && in setLCDeclAndLB()
6595 LCDecl = getCanonicalDecl(NewLCDecl); in setLCDeclAndLB()
6614 assert(LCDecl != nullptr && LB != nullptr && UB == nullptr && in setUB()
6630 assert(LCDecl != nullptr && LB != nullptr && Step == nullptr); in setStep()
6671 << LCDecl << TestIsLessOp.getValue() << NewStep->getSourceRange(); in setStep()
6785 LoopCounterRefChecker LoopStmtChecker(SemaRef, Stack, LCDecl, IsInitializer, in doesDependOnLoopCounter()
6911 << (IneqCondIsCanonical ? 1 : 0) << LCDecl; in checkAndSetCond()
6919 if (getInitLCDecl(BO->getLHS()) == LCDecl) in checkAndSetCond()
6924 if (getInitLCDecl(BO->getRHS()) == LCDecl) in checkAndSetCond()
6931 getInitLCDecl(BO->getLHS()) == LCDecl ? BO->getRHS() : BO->getLHS(), in checkAndSetCond()
6942 if (getInitLCDecl(CE->getArg(0)) == LCDecl) in checkAndSetCond()
6946 if (getInitLCDecl(CE->getArg(1)) == LCDecl) in checkAndSetCond()
6953 return setUB(getInitLCDecl(CE->getArg(0)) == LCDecl ? CE->getArg(1) in checkAndSetCond()
6967 << (IneqCondIsCanonical ? 1 : 0) << S->getSourceRange() << LCDecl; in checkAndSetCond()
6981 if (getInitLCDecl(BO->getLHS()) == LCDecl) in checkAndSetIncRHS()
6983 if (IsAdd && getInitLCDecl(BO->getRHS()) == LCDecl) in checkAndSetIncRHS()
6989 if (getInitLCDecl(CE->getArg(0)) == LCDecl) in checkAndSetIncRHS()
6991 if (IsAdd && getInitLCDecl(CE->getArg(1)) == LCDecl) in checkAndSetIncRHS()
6998 << RHS->getSourceRange() << LCDecl; in checkAndSetIncRHS()
7017 SemaRef.Diag(DefaultLoc, diag::err_omp_loop_not_canonical_incr) << LCDecl; in checkAndSetInc()
7028 getInitLCDecl(UO->getSubExpr()) == LCDecl) in checkAndSetInc()
7038 if (getInitLCDecl(BO->getLHS()) == LCDecl) in checkAndSetInc()
7042 if (getInitLCDecl(BO->getLHS()) == LCDecl) in checkAndSetInc()
7052 if (getInitLCDecl(CE->getArg(0)) == LCDecl) in checkAndSetInc()
7062 if (getInitLCDecl(CE->getArg(0)) == LCDecl) in checkAndSetInc()
7066 if (getInitLCDecl(CE->getArg(0)) == LCDecl) in checkAndSetInc()
7076 << S->getSourceRange() << LCDecl; in checkAndSetInc()
7272 QualType VarType = LCDecl->getType().getNonReferenceType(); in buildNumIterations()
7496 if (LCDecl->getType()->isRecordType()) in buildMinMaxValues()
7521 QualType VarType = LCDecl->getType().getNonReferenceType(); in buildMinMaxValues()
7649 auto *VD = dyn_cast<VarDecl>(LCDecl); in buildCounterVar()
7651 VD = SemaRef.isOpenMPCapturedDecl(LCDecl); in buildCounterVar()
7655 DSA.getTopDSA(LCDecl, /*FromParent=*/false); in buildCounterVar()
7666 if (LCDecl && !LCDecl->isInvalidDecl()) { in buildPrivateCounterVar()
7667 QualType Type = LCDecl->getType().getNonReferenceType(); in buildPrivateCounterVar()
7669 SemaRef, DefaultLoc, Type, LCDecl->getName(), in buildPrivateCounterVar()
7670 LCDecl->hasAttrs() ? &LCDecl->getAttrs() : nullptr, in buildPrivateCounterVar()
7671 isa<VarDecl>(LCDecl) in buildPrivateCounterVar()
7672 ? buildDeclRefExpr(SemaRef, cast<VarDecl>(LCDecl), Type, DefaultLoc) in buildPrivateCounterVar()
7702 QualType VarType = LCDecl->getType().getNonReferenceType(); in buildOrderedLoopData()
7860 if (ValueDecl *LCDecl = ISC.getLoopDecl()) { in checkOpenMPIterationSpace() local
7866 QualType VarType = LCDecl->getType().getNonReferenceType(); in checkOpenMPIterationSpace()
7884 VarsWithImplicitDSA.erase(LCDecl); in checkOpenMPIterationSpace()