Lines Matching refs:VD
291 if (const VarDecl *VD = dyn_cast<VarDecl>(DS->getSingleDecl())) { in Visit() local
292 for (const VariableArrayType* VA = FindVA(VD->getType()); in Visit()
341 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) { in VisitBinaryOperator() local
343 if (VD->getType()->isReferenceType()) in VisitBinaryOperator()
346 if (!isAlwaysAlive(VD)) { in VisitBinaryOperator()
348 val.liveDecls = LV.DSetFact.remove(val.liveDecls, VD); in VisitBinaryOperator()
358 for (const VarDecl *VD : in VisitBlockExpr() local
360 if (isAlwaysAlive(VD)) in VisitBlockExpr()
362 val.liveDecls = LV.DSetFact.add(val.liveDecls, VD); in VisitBlockExpr()
374 if (const auto *VD = dyn_cast<VarDecl>(DI)) { in VisitDeclStmt() local
375 if (!isAlwaysAlive(VD)) in VisitDeclStmt()
376 val.liveDecls = LV.DSetFact.remove(val.liveDecls, VD); in VisitDeclStmt()
383 const VarDecl *VD = nullptr; in VisitObjCForCollectionStmt() local
387 VD = cast<VarDecl>(DS->getSingleDecl()); in VisitObjCForCollectionStmt()
390 VD = cast<VarDecl>(DR->getDecl()); in VisitObjCForCollectionStmt()
393 if (VD) { in VisitObjCForCollectionStmt()
394 val.liveDecls = LV.DSetFact.remove(val.liveDecls, VD); in VisitObjCForCollectionStmt()