Lines Matching full:dr
54 bool VisitDeclRefExpr(DeclRefExpr *DR) { in VisitDeclRefExpr() argument
56 if (const VarDecl *D = dyn_cast<VarDecl>(DR->getDecl())) in VisitDeclRefExpr()
229 void CheckDeclRef(const DeclRefExpr *DR, const Expr *Val, DeadStoreKind dsk, in CheckDeclRef() argument
231 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) in CheckDeclRef()
232 CheckVarDecl(VD, DR, Val, dsk, Live); in CheckDeclRef()
245 const DeclRefExpr *DR; in isIncrement() local
247 if ((DR = dyn_cast<DeclRefExpr>(BRHS->getLHS()->IgnoreParenCasts()))) in isIncrement()
248 if (DR->getDecl() == VD) in isIncrement()
251 if ((DR = dyn_cast<DeclRefExpr>(BRHS->getRHS()->IgnoreParenCasts()))) in isIncrement()
252 if (DR->getDecl() == VD) in isIncrement()
272 if (DeclRefExpr *DR = dyn_cast<DeclRefExpr>(B->getLHS())) in observeStmt() local
273 if (VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) { in observeStmt()
299 CheckVarDecl(VD, DR, B->getRHS(), dsk, Live); in observeStmt()
312 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(Ex)) in observeStmt() local
313 CheckDeclRef(DR, U, DeadIncrement, Live); in observeStmt()
418 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(E)) in operator ()() local
419 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) in operator ()()