Lines Matching refs:LCDecl
7741 ValueDecl *LCDecl = nullptr; member in __anon296aa5743911::OpenMPIterationSpaceChecker
7790 ValueDecl *getLoopDecl() const { return LCDecl; } in getLoopDecl()
7860 if (!LCDecl) { in dependent()
7864 return LCDecl->getType()->isDependentType() || in dependent()
7873 assert(LCDecl == nullptr && LB == nullptr && LCRef == nullptr && in setLCDeclAndLB()
7877 LCDecl = getCanonicalDecl(NewLCDecl); in setLCDeclAndLB()
7896 assert(LCDecl != nullptr && LB != nullptr && UB == nullptr && in setUB()
7912 assert(LCDecl != nullptr && LB != nullptr && Step == nullptr); in setStep()
7953 << LCDecl << TestIsLessOp.value() << NewStep->getSourceRange(); in setStep()
8074 LoopCounterRefChecker LoopStmtChecker(SemaRef, Stack, LCDecl, IsInitializer, in doesDependOnLoopCounter()
8200 << (IneqCondIsCanonical ? 1 : 0) << LCDecl; in checkAndSetCond()
8211 if (getInitLCDecl(LHS) == LCDecl) in checkAndSetCond()
8215 if (getInitLCDecl(RHS) == LCDecl) in checkAndSetCond()
8220 return setUB(const_cast<Expr *>(getInitLCDecl(LHS) == LCDecl ? RHS : LHS), in checkAndSetCond()
8246 << (IneqCondIsCanonical ? 1 : 0) << S->getSourceRange() << LCDecl; in checkAndSetCond()
8260 if (getInitLCDecl(BO->getLHS()) == LCDecl) in checkAndSetIncRHS()
8262 if (IsAdd && getInitLCDecl(BO->getRHS()) == LCDecl) in checkAndSetIncRHS()
8268 if (getInitLCDecl(CE->getArg(0)) == LCDecl) in checkAndSetIncRHS()
8270 if (IsAdd && getInitLCDecl(CE->getArg(1)) == LCDecl) in checkAndSetIncRHS()
8277 << RHS->getSourceRange() << LCDecl; in checkAndSetIncRHS()
8296 SemaRef.Diag(DefaultLoc, diag::err_omp_loop_not_canonical_incr) << LCDecl; in checkAndSetInc()
8307 getInitLCDecl(UO->getSubExpr()) == LCDecl) in checkAndSetInc()
8317 if (getInitLCDecl(BO->getLHS()) == LCDecl) in checkAndSetInc()
8321 if (getInitLCDecl(BO->getLHS()) == LCDecl) in checkAndSetInc()
8331 if (getInitLCDecl(CE->getArg(0)) == LCDecl) in checkAndSetInc()
8341 if (getInitLCDecl(CE->getArg(0)) == LCDecl) in checkAndSetInc()
8345 if (getInitLCDecl(CE->getArg(0)) == LCDecl) in checkAndSetInc()
8355 << S->getSourceRange() << LCDecl; in checkAndSetInc()
8554 QualType VarType = LCDecl->getType().getNonReferenceType(); in buildNumIterations()
8772 if (LCDecl->getType()->isRecordType()) in buildMinMaxValues()
8797 QualType VarType = LCDecl->getType().getNonReferenceType(); in buildMinMaxValues()
8926 auto *VD = dyn_cast<VarDecl>(LCDecl); in buildCounterVar()
8928 VD = SemaRef.isOpenMPCapturedDecl(LCDecl); in buildCounterVar()
8932 DSA.getTopDSA(LCDecl, /*FromParent=*/false); in buildCounterVar()
8943 if (LCDecl && !LCDecl->isInvalidDecl()) { in buildPrivateCounterVar()
8944 QualType Type = LCDecl->getType().getNonReferenceType(); in buildPrivateCounterVar()
8946 SemaRef, DefaultLoc, Type, LCDecl->getName(), in buildPrivateCounterVar()
8947 LCDecl->hasAttrs() ? &LCDecl->getAttrs() : nullptr, in buildPrivateCounterVar()
8948 isa<VarDecl>(LCDecl) in buildPrivateCounterVar()
8949 ? buildDeclRefExpr(SemaRef, cast<VarDecl>(LCDecl), Type, DefaultLoc) in buildPrivateCounterVar()
8979 QualType VarType = LCDecl->getType().getNonReferenceType(); in buildOrderedLoopData()
9143 if (ValueDecl *LCDecl = ISC.getLoopDecl()) { in checkOpenMPIterationSpace() local
9149 QualType VarType = LCDecl->getType().getNonReferenceType(); in checkOpenMPIterationSpace()
9167 VarsWithImplicitDSA.erase(LCDecl); in checkOpenMPIterationSpace()