Lines Matching refs:FD
122 void mangleFunctionEncoding(const FunctionDecl *FD);
147 void mangleLocalName(const FunctionDecl *FD);
164 void mangleFunctionClass(const FunctionDecl *FD);
218 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) {
219 LanguageLinkage L = FD->getLanguageLinkage();
221 if (FD->hasAttr<OverloadableAttr>())
233 if (FD->isMSVCRTEntryPoint())
238 if (!FD->getDeclName().isIdentifier() || L == CXXLanguageLinkage)
281 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D))
282 mangleFunctionEncoding(FD);
296 void MicrosoftCXXNameMangler::mangleFunctionEncoding(const FunctionDecl *FD) {
302 FD = FD->getFirstDecl();
306 const FunctionProtoType *FT = FD->getType()->castAs<FunctionProtoType>();
311 if (Context.shouldMangleDeclName(FD)) {
313 mangleFunctionClass(FD);
315 mangleFunctionType(FT, FD);
427 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(ND)){
428 if (const TemplateDecl *TD = FD->getPrimaryTemplate()) {
429 TemplateArgs = FD->getTemplateSpecializationArgs();
809 static unsigned getLocalNestingLevel(const FunctionDecl *FD) {
810 const DeclContext *DC = FD->getParent();
821 void MicrosoftCXXNameMangler::mangleLocalName(const FunctionDecl *FD) {
837 unsigned NestLevel = getLocalNestingLevel(FD);
841 mangle(FD, "?");
1357 void MicrosoftCXXNameMangler::mangleFunctionClass(const FunctionDecl *FD) {
1382 if (const CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(FD)) {