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()
209 void CheckVarDecl(const VarDecl *VD, const Expr *Ex, const Expr *Val, in CheckVarDecl()
232 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) in CheckDeclRef()
236 bool isIncrement(VarDecl *VD, const BinaryOperator* B) { in isIncrement()
274 if (VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) { in observeStmt()
292 if (VD == dyn_cast<VarDecl>(RhsDR->getDecl())) in observeStmt()
320 const auto *V = dyn_cast<VarDecl>(DI); in observeStmt()
362 if (const VarDecl *VD = dyn_cast<VarDecl>(DRE->getDecl())) { in observeStmt()
400 llvm::SmallPtrSet<const VarDecl*, 20> Escaped;
419 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) in operator ()()
426 llvm::DenseMap<const VarDecl *, FieldDecl *> CaptureFields; in findLambdaReferenceCaptures()
434 VarDecl *VD = C.getCapturedVar(); in findLambdaReferenceCaptures()