Lines Matching refs:VarDecl
38 llvm::DenseSet<const VarDecl *> &S;
57 if (const VarDecl *D = dyn_cast<VarDecl>(DR->getDecl())) in VisitDeclRefExpr()
62 EHCodeVisitor(llvm::DenseSet<const VarDecl *> &S) : in EHCodeVisitor()
137 llvm::SmallPtrSet<const VarDecl*, 20> Escaped;
140 std::unique_ptr<llvm::DenseSet<const VarDecl *>> InEH;
148 llvm::SmallPtrSet<const VarDecl *, 20> &escaped, in DeadStoreObs() argument
155 bool isLive(const LiveVariables::LivenessValues &Live, const VarDecl *D) { in isLive()
161 InEH.reset(new llvm::DenseSet<const VarDecl *>()); in isLive()
192 void Report(const VarDecl *V, DeadStoreKind dsk, in Report()
265 void CheckVarDecl(const VarDecl *VD, const Expr *Ex, const Expr *Val, in CheckVarDecl()
288 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) in CheckDeclRef()
292 bool isIncrement(VarDecl *VD, const BinaryOperator* B) { in isIncrement()
330 if (VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) { in observeStmt()
347 if (VD == dyn_cast<VarDecl>(RhsDR->getDecl())) in observeStmt()
375 const auto *V = dyn_cast<VarDecl>(DI); in observeStmt()
418 if (const VarDecl *VD = dyn_cast<VarDecl>(DRE->getDecl())) { in observeStmt()
480 llvm::SmallPtrSet<const VarDecl*, 20> Escaped;
499 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) in operator ()()
516 if (!FD || !isa<VarDecl>(VD)) in findLambdaReferenceCaptures()
521 Escaped.insert(cast<VarDecl>(VD)); in findLambdaReferenceCaptures()