Lines Matching refs:DRE
280 if (const DeclRefExpr *DRE = in findVar() local
282 if (const VarDecl *VD = dyn_cast<VarDecl>(DRE->getDecl())) in findVar()
284 return FindVarResult(VD, DRE); in findVar()
321 Class get(const DeclRefExpr *DRE) const { in get()
323 = Classification.find(DRE); in get()
327 const VarDecl *VD = dyn_cast<VarDecl>(DRE->getDecl()); in get()
338 const DeclRefExpr *DRE in getSelfInitExpr() local
340 if (DRE && DRE->getDecl() == VD) in getSelfInitExpr()
341 return DRE; in getSelfInitExpr()
348 if (const DeclRefExpr *DRE = Var.getDeclRefExpr()) in classify() local
349 Classification[DRE] = std::max(Classification[DRE], C); in classify()
357 if (const DeclRefExpr *DRE = getSelfInitExpr(VD)) in VisitDeclStmt() local
358 Classification[DRE] = SelfInit; in VisitDeclStmt()