Lines Matching refs:LCDecl

7211   ValueDecl *LCDecl = nullptr;  member in __anon49a8e65b3411::OpenMPIterationSpaceChecker
7260 ValueDecl *getLoopDecl() const { return LCDecl; } in getLoopDecl()
7330 if (!LCDecl) { in dependent()
7334 return LCDecl->getType()->isDependentType() || in dependent()
7343 assert(LCDecl == nullptr && LB == nullptr && LCRef == nullptr && in setLCDeclAndLB()
7347 LCDecl = getCanonicalDecl(NewLCDecl); in setLCDeclAndLB()
7366 assert(LCDecl != nullptr && LB != nullptr && UB == nullptr && in setUB()
7382 assert(LCDecl != nullptr && LB != nullptr && Step == nullptr); in setStep()
7423 << LCDecl << TestIsLessOp.getValue() << NewStep->getSourceRange(); in setStep()
7544 LoopCounterRefChecker LoopStmtChecker(SemaRef, Stack, LCDecl, IsInitializer, in doesDependOnLoopCounter()
7670 << (IneqCondIsCanonical ? 1 : 0) << LCDecl; in checkAndSetCond()
7681 if (getInitLCDecl(LHS) == LCDecl) in checkAndSetCond()
7685 if (getInitLCDecl(RHS) == LCDecl) in checkAndSetCond()
7690 return setUB(const_cast<Expr *>(getInitLCDecl(LHS) == LCDecl ? RHS : LHS), in checkAndSetCond()
7716 << (IneqCondIsCanonical ? 1 : 0) << S->getSourceRange() << LCDecl; in checkAndSetCond()
7730 if (getInitLCDecl(BO->getLHS()) == LCDecl) in checkAndSetIncRHS()
7732 if (IsAdd && getInitLCDecl(BO->getRHS()) == LCDecl) in checkAndSetIncRHS()
7738 if (getInitLCDecl(CE->getArg(0)) == LCDecl) in checkAndSetIncRHS()
7740 if (IsAdd && getInitLCDecl(CE->getArg(1)) == LCDecl) in checkAndSetIncRHS()
7747 << RHS->getSourceRange() << LCDecl; in checkAndSetIncRHS()
7766 SemaRef.Diag(DefaultLoc, diag::err_omp_loop_not_canonical_incr) << LCDecl; in checkAndSetInc()
7777 getInitLCDecl(UO->getSubExpr()) == LCDecl) in checkAndSetInc()
7787 if (getInitLCDecl(BO->getLHS()) == LCDecl) in checkAndSetInc()
7791 if (getInitLCDecl(BO->getLHS()) == LCDecl) in checkAndSetInc()
7801 if (getInitLCDecl(CE->getArg(0)) == LCDecl) in checkAndSetInc()
7811 if (getInitLCDecl(CE->getArg(0)) == LCDecl) in checkAndSetInc()
7815 if (getInitLCDecl(CE->getArg(0)) == LCDecl) in checkAndSetInc()
7825 << S->getSourceRange() << LCDecl; in checkAndSetInc()
8021 QualType VarType = LCDecl->getType().getNonReferenceType(); in buildNumIterations()
8239 if (LCDecl->getType()->isRecordType()) in buildMinMaxValues()
8264 QualType VarType = LCDecl->getType().getNonReferenceType(); in buildMinMaxValues()
8392 auto *VD = dyn_cast<VarDecl>(LCDecl); in buildCounterVar()
8394 VD = SemaRef.isOpenMPCapturedDecl(LCDecl); in buildCounterVar()
8398 DSA.getTopDSA(LCDecl, /*FromParent=*/false); in buildCounterVar()
8409 if (LCDecl && !LCDecl->isInvalidDecl()) { in buildPrivateCounterVar()
8410 QualType Type = LCDecl->getType().getNonReferenceType(); in buildPrivateCounterVar()
8412 SemaRef, DefaultLoc, Type, LCDecl->getName(), in buildPrivateCounterVar()
8413 LCDecl->hasAttrs() ? &LCDecl->getAttrs() : nullptr, in buildPrivateCounterVar()
8414 isa<VarDecl>(LCDecl) in buildPrivateCounterVar()
8415 ? buildDeclRefExpr(SemaRef, cast<VarDecl>(LCDecl), Type, DefaultLoc) in buildPrivateCounterVar()
8445 QualType VarType = LCDecl->getType().getNonReferenceType(); in buildOrderedLoopData()
8607 if (ValueDecl *LCDecl = ISC.getLoopDecl()) { in checkOpenMPIterationSpace() local
8613 QualType VarType = LCDecl->getType().getNonReferenceType(); in checkOpenMPIterationSpace()
8631 VarsWithImplicitDSA.erase(LCDecl); in checkOpenMPIterationSpace()