Lines Matching refs:DRE
252 if (const auto *DRE = in findVar() local
254 if (const auto *VD = dyn_cast<VarDecl>(DRE->getDecl())) in findVar()
256 return FindVarResult(VD, DRE); in findVar()
297 Class get(const DeclRefExpr *DRE) const { in get()
299 = Classification.find(DRE); in get()
303 const auto *VD = dyn_cast<VarDecl>(DRE->getDecl()); in get()
317 const auto *DRE = in getSelfInitExpr() local
319 if (DRE && DRE->getDecl() == VD) in getSelfInitExpr()
320 return DRE; in getSelfInitExpr()
367 if (const DeclRefExpr *DRE = Var.getDeclRefExpr()) in classify() local
368 Classification[DRE] = std::max(Classification[DRE], C); in classify()
375 if (const DeclRefExpr *DRE = getSelfInitExpr(VD)) in VisitDeclStmt() local
376 Classification[DRE] = SelfInit; in VisitDeclStmt()