Lines Matching refs:VD
478 const VarDecl *VD = dyn_cast<VarDecl>(LHS_DR->getDecl()); in isSelfAssign() local
479 if (!VD) in isSelfAssign()
486 if (VD != RHS_DR->getDecl()) in isSelfAssign()
503 const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl()); in isUnused() local
504 if (!VD) in isUnused()
507 if (AC->getPseudoConstantAnalysis()->wasReferenced(VD)) in isUnused()
522 const VarDecl *VD = dyn_cast<VarDecl>(LHS_DR->getDecl()); in isTruncationExtensionAssignment() local
523 if (!VD) in isTruncationExtensionAssignment()
530 if (VD != RHS_DR->getDecl()) in isTruncationExtensionAssignment()
712 const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl()); in isConstantOrPseudoConstant() local
713 if (!VD) in isConstantOrPseudoConstant()
720 if (PCA->isPseudoConstant(VD)) in isConstantOrPseudoConstant()
732 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) in containsNonLocalVarDecl() local
733 if (!VD->hasLocalStorage()) in containsNonLocalVarDecl()