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()
348 if (VD == dyn_cast<VarDecl>(RhsDR->getDecl())) in observeStmt()
376 const auto *V = dyn_cast<VarDecl>(DI); in observeStmt()
420 if (const VarDecl *VD = dyn_cast<VarDecl>(DRE->getDecl())) { in observeStmt()
481 llvm::SmallPtrSet<const VarDecl*, 20> Escaped;
500 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) in operator ()()
507 llvm::DenseMap<const VarDecl *, FieldDecl *> CaptureFields; in findLambdaReferenceCaptures()
515 VarDecl *VD = C.getCapturedVar(); in findLambdaReferenceCaptures()