Lines Matching full:vardecl
27 typedef llvm::SmallPtrSet<const VarDecl*, VARDECL_SET_SIZE> VarDeclSet;
41 bool PseudoConstantAnalysis::isPseudoConstant(const VarDecl *VD) {
57 bool PseudoConstantAnalysis::wasReferenced(const VarDecl *VD) {
124 const VarDecl *VD = dyn_cast<VarDecl>(LHSDecl);
158 const VarDecl *VD = dyn_cast<VarDecl>(D);
176 const VarDecl *VD = dyn_cast<VarDecl>(I);
180 // We found a VarDecl; make sure it is a reference type
191 if (const VarDecl *RefVD = dyn_cast<VarDecl>(D)) {
202 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) {