Lines Matching refs:VarDecl
37 llvm::DenseSet<const VarDecl *> &S;
56 if (const VarDecl *D = dyn_cast<VarDecl>(DR->getDecl())) in VisitDeclRefExpr()
61 EHCodeVisitor(llvm::DenseSet<const VarDecl *> &S) : in EHCodeVisitor()
130 llvm::SmallPtrSet<const VarDecl*, 20> Escaped;
133 std::unique_ptr<llvm::DenseSet<const VarDecl *>> InEH;
141 llvm::SmallPtrSet<const VarDecl *, 20> &escaped) in DeadStoreObs() argument
147 bool isLive(const LiveVariables::LivenessValues &Live, const VarDecl *D) { in isLive()
153 InEH.reset(new llvm::DenseSet<const VarDecl *>()); in isLive()
164 void Report(const VarDecl *V, DeadStoreKind dsk, in Report()
208 void CheckVarDecl(const VarDecl *VD, const Expr *Ex, const Expr *Val, in CheckVarDecl()
231 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) in CheckDeclRef()
235 bool isIncrement(VarDecl *VD, const BinaryOperator* B) { in isIncrement()
273 if (VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) { in observeStmt()
289 if (VD == dyn_cast<VarDecl>(RhsDR->getDecl())) in observeStmt()
317 const auto *V = dyn_cast<VarDecl>(DI); in observeStmt()
360 if (const VarDecl *VD = dyn_cast<VarDecl>(DRE->getDecl())) { in observeStmt()
398 llvm::SmallPtrSet<const VarDecl*, 20> Escaped;
412 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) in operator ()()