Lines Matching refs:DRE
294 if (const DeclRefExpr *DRE = in findVar() local
296 if (const VarDecl *VD = dyn_cast<VarDecl>(DRE->getDecl())) in findVar()
298 return FindVarResult(VD, DRE); in findVar()
335 Class get(const DeclRefExpr *DRE) const { in get()
337 = Classification.find(DRE); in get()
341 const VarDecl *VD = dyn_cast<VarDecl>(DRE->getDecl()); in get()
353 const DeclRefExpr *DRE in getSelfInitExpr() local
355 if (DRE && DRE->getDecl() == VD) in getSelfInitExpr()
356 return DRE; in getSelfInitExpr()
404 if (const DeclRefExpr *DRE = Var.getDeclRefExpr()) in classify() local
405 Classification[DRE] = std::max(Classification[DRE], C); in classify()
412 if (const DeclRefExpr *DRE = getSelfInitExpr(VD)) in VisitDeclStmt() local
413 Classification[DRE] = SelfInit; in VisitDeclStmt()