Lines Matching refs:LCDecl

7285   ValueDecl *LCDecl = nullptr;  member in __anon850ef1bd3411::OpenMPIterationSpaceChecker
7334 ValueDecl *getLoopDecl() const { return LCDecl; } in getLoopDecl()
7404 if (!LCDecl) { in dependent()
7408 return LCDecl->getType()->isDependentType() || in dependent()
7417 assert(LCDecl == nullptr && LB == nullptr && LCRef == nullptr && in setLCDeclAndLB()
7421 LCDecl = getCanonicalDecl(NewLCDecl); in setLCDeclAndLB()
7440 assert(LCDecl != nullptr && LB != nullptr && UB == nullptr && in setUB()
7456 assert(LCDecl != nullptr && LB != nullptr && Step == nullptr); in setStep()
7497 << LCDecl << TestIsLessOp.getValue() << NewStep->getSourceRange(); in setStep()
7618 LoopCounterRefChecker LoopStmtChecker(SemaRef, Stack, LCDecl, IsInitializer, in doesDependOnLoopCounter()
7744 << (IneqCondIsCanonical ? 1 : 0) << LCDecl; in checkAndSetCond()
7755 if (getInitLCDecl(LHS) == LCDecl) in checkAndSetCond()
7759 if (getInitLCDecl(RHS) == LCDecl) in checkAndSetCond()
7764 return setUB(const_cast<Expr *>(getInitLCDecl(LHS) == LCDecl ? RHS : LHS), in checkAndSetCond()
7790 << (IneqCondIsCanonical ? 1 : 0) << S->getSourceRange() << LCDecl; in checkAndSetCond()
7804 if (getInitLCDecl(BO->getLHS()) == LCDecl) in checkAndSetIncRHS()
7806 if (IsAdd && getInitLCDecl(BO->getRHS()) == LCDecl) in checkAndSetIncRHS()
7812 if (getInitLCDecl(CE->getArg(0)) == LCDecl) in checkAndSetIncRHS()
7814 if (IsAdd && getInitLCDecl(CE->getArg(1)) == LCDecl) in checkAndSetIncRHS()
7821 << RHS->getSourceRange() << LCDecl; in checkAndSetIncRHS()
7840 SemaRef.Diag(DefaultLoc, diag::err_omp_loop_not_canonical_incr) << LCDecl; in checkAndSetInc()
7851 getInitLCDecl(UO->getSubExpr()) == LCDecl) in checkAndSetInc()
7861 if (getInitLCDecl(BO->getLHS()) == LCDecl) in checkAndSetInc()
7865 if (getInitLCDecl(BO->getLHS()) == LCDecl) in checkAndSetInc()
7875 if (getInitLCDecl(CE->getArg(0)) == LCDecl) in checkAndSetInc()
7885 if (getInitLCDecl(CE->getArg(0)) == LCDecl) in checkAndSetInc()
7889 if (getInitLCDecl(CE->getArg(0)) == LCDecl) in checkAndSetInc()
7899 << S->getSourceRange() << LCDecl; in checkAndSetInc()
8095 QualType VarType = LCDecl->getType().getNonReferenceType(); in buildNumIterations()
8313 if (LCDecl->getType()->isRecordType()) in buildMinMaxValues()
8338 QualType VarType = LCDecl->getType().getNonReferenceType(); in buildMinMaxValues()
8466 auto *VD = dyn_cast<VarDecl>(LCDecl); in buildCounterVar()
8468 VD = SemaRef.isOpenMPCapturedDecl(LCDecl); in buildCounterVar()
8472 DSA.getTopDSA(LCDecl, /*FromParent=*/false); in buildCounterVar()
8483 if (LCDecl && !LCDecl->isInvalidDecl()) { in buildPrivateCounterVar()
8484 QualType Type = LCDecl->getType().getNonReferenceType(); in buildPrivateCounterVar()
8486 SemaRef, DefaultLoc, Type, LCDecl->getName(), in buildPrivateCounterVar()
8487 LCDecl->hasAttrs() ? &LCDecl->getAttrs() : nullptr, in buildPrivateCounterVar()
8488 isa<VarDecl>(LCDecl) in buildPrivateCounterVar()
8489 ? buildDeclRefExpr(SemaRef, cast<VarDecl>(LCDecl), Type, DefaultLoc) in buildPrivateCounterVar()
8519 QualType VarType = LCDecl->getType().getNonReferenceType(); in buildOrderedLoopData()
8681 if (ValueDecl *LCDecl = ISC.getLoopDecl()) { in checkOpenMPIterationSpace() local
8687 QualType VarType = LCDecl->getType().getNonReferenceType(); in checkOpenMPIterationSpace()
8705 VarsWithImplicitDSA.erase(LCDecl); in checkOpenMPIterationSpace()