Lines Matching refs:DRE
267 if (const auto *DRE = in findVar() local
269 if (const auto *VD = dyn_cast<VarDecl>(DRE->getDecl())) in findVar()
271 return FindVarResult(VD, DRE); in findVar()
312 Class get(const DeclRefExpr *DRE) const { in get()
314 = Classification.find(DRE); in get()
318 const auto *VD = dyn_cast<VarDecl>(DRE->getDecl()); in get()
332 const auto *DRE = in getSelfInitExpr() local
334 if (DRE && DRE->getDecl() == VD) in getSelfInitExpr()
335 return DRE; in getSelfInitExpr()
382 if (const DeclRefExpr *DRE = Var.getDeclRefExpr()) in classify() local
383 Classification[DRE] = std::max(Classification[DRE], C); in classify()
390 if (const DeclRefExpr *DRE = getSelfInitExpr(VD)) in VisitDeclStmt() local
391 Classification[DRE] = SelfInit; in VisitDeclStmt()