Lines Matching refs:LCDecl
7976 ValueDecl *LCDecl = nullptr; member in __anon8e68b8fa3a11::OpenMPIterationSpaceChecker
8026 ValueDecl *getLoopDecl() const { return LCDecl; } in getLoopDecl()
8096 if (!LCDecl) { in dependent()
8100 return LCDecl->getType()->isDependentType() || in dependent()
8109 assert(LCDecl == nullptr && LB == nullptr && LCRef == nullptr && in setLCDeclAndLB()
8113 LCDecl = getCanonicalDecl(NewLCDecl); in setLCDeclAndLB()
8131 assert(LCDecl != nullptr && LB != nullptr && UB == nullptr && in setUB()
8147 assert(LCDecl != nullptr && LB != nullptr && Step == nullptr); in setStep()
8187 << LCDecl << *TestIsLessOp << NewStep->getSourceRange(); in setStep()
8308 LoopCounterRefChecker LoopStmtChecker(SemaRef, Stack, LCDecl, IsInitializer, in doesDependOnLoopCounter()
8434 << (IneqCondIsCanonical ? 1 : 0) << LCDecl; in checkAndSetCond()
8445 if (getInitLCDecl(LHS) == LCDecl) in checkAndSetCond()
8449 if (getInitLCDecl(RHS) == LCDecl) in checkAndSetCond()
8454 return setUB(const_cast<Expr *>(getInitLCDecl(LHS) == LCDecl ? RHS : LHS), in checkAndSetCond()
8480 << (IneqCondIsCanonical ? 1 : 0) << S->getSourceRange() << LCDecl; in checkAndSetCond()
8494 if (getInitLCDecl(BO->getLHS()) == LCDecl) in checkAndSetIncRHS()
8496 if (IsAdd && getInitLCDecl(BO->getRHS()) == LCDecl) in checkAndSetIncRHS()
8502 if (getInitLCDecl(CE->getArg(0)) == LCDecl) in checkAndSetIncRHS()
8504 if (IsAdd && getInitLCDecl(CE->getArg(1)) == LCDecl) in checkAndSetIncRHS()
8511 << RHS->getSourceRange() << LCDecl; in checkAndSetIncRHS()
8530 SemaRef.Diag(DefaultLoc, diag::err_omp_loop_not_canonical_incr) << LCDecl; in checkAndSetInc()
8541 getInitLCDecl(UO->getSubExpr()) == LCDecl) in checkAndSetInc()
8551 if (getInitLCDecl(BO->getLHS()) == LCDecl) in checkAndSetInc()
8555 if (getInitLCDecl(BO->getLHS()) == LCDecl) in checkAndSetInc()
8565 if (getInitLCDecl(CE->getArg(0)) == LCDecl) in checkAndSetInc()
8575 if (getInitLCDecl(CE->getArg(0)) == LCDecl) in checkAndSetInc()
8579 if (getInitLCDecl(CE->getArg(0)) == LCDecl) in checkAndSetInc()
8589 << S->getSourceRange() << LCDecl; in checkAndSetInc()
8789 QualType VarType = LCDecl->getType().getNonReferenceType(); in buildNumIterations()
9019 if (LCDecl->getType()->isRecordType()) in buildMinMaxValues()
9044 QualType VarType = LCDecl->getType().getNonReferenceType(); in buildMinMaxValues()
9173 auto *VD = dyn_cast<VarDecl>(LCDecl); in buildCounterVar()
9175 VD = SemaRef.isOpenMPCapturedDecl(LCDecl); in buildCounterVar()
9179 DSA.getTopDSA(LCDecl, /*FromParent=*/false); in buildCounterVar()
9190 if (LCDecl && !LCDecl->isInvalidDecl()) { in buildPrivateCounterVar()
9191 QualType Type = LCDecl->getType().getNonReferenceType(); in buildPrivateCounterVar()
9193 SemaRef, DefaultLoc, Type, LCDecl->getName(), in buildPrivateCounterVar()
9194 LCDecl->hasAttrs() ? &LCDecl->getAttrs() : nullptr, in buildPrivateCounterVar()
9195 isa<VarDecl>(LCDecl) in buildPrivateCounterVar()
9196 ? buildDeclRefExpr(SemaRef, cast<VarDecl>(LCDecl), Type, DefaultLoc) in buildPrivateCounterVar()
9226 QualType VarType = LCDecl->getType().getNonReferenceType(); in buildOrderedLoopData()
9410 if (ValueDecl *LCDecl = ISC.getLoopDecl()) { in checkOpenMPIterationSpace() local
9416 QualType VarType = LCDecl->getType().getNonReferenceType(); in checkOpenMPIterationSpace()
9434 VarsWithImplicitDSA.erase(LCDecl); in checkOpenMPIterationSpace()