Lines Matching defs:GD

46   GlobalDecl GD;
48 GD = GlobalDecl(CD, Ctor_Complete);
50 GD = GlobalDecl(DD, Dtor_Complete);
52 GD = GlobalDecl(cast<FunctionDecl>(DC));
53 return GD;
155 void mangleCXXName(GlobalDecl GD, raw_ostream &Out) override;
368 void mangle(GlobalDecl GD, StringRef Prefix = "?");
369 void mangleName(GlobalDecl GD);
370 void mangleFunctionEncoding(GlobalDecl GD, bool ShouldMangle);
407 void mangleNestedName(GlobalDecl GD);
423 void mangleUnqualifiedName(GlobalDecl GD) {
424 mangleUnqualifiedName(GD, cast<NamedDecl>(GD.getDecl())->getDeclName());
426 void mangleUnqualifiedName(GlobalDecl GD, DeclarationName Name);
434 void mangleUnscopedTemplateName(GlobalDecl GD);
436 mangleTemplateInstantiationName(GlobalDecl GD,
601 void MicrosoftCXXNameMangler::mangle(GlobalDecl GD, StringRef Prefix) {
602 const NamedDecl *D = cast<NamedDecl>(GD.getDecl());
611 mangleName(GD);
613 mangleFunctionEncoding(GD, Context.shouldMangleDeclName(FD));
627 void MicrosoftCXXNameMangler::mangleFunctionEncoding(GlobalDecl GD,
629 const FunctionDecl *FD = cast<FunctionDecl>(GD.getDecl());
966 void MicrosoftCXXNameMangler::mangleName(GlobalDecl GD) {
970 mangleUnqualifiedName(GD);
972 mangleNestedName(GD);
1054 static GlobalDecl isTemplate(GlobalDecl GD,
1056 const NamedDecl *ND = cast<NamedDecl>(GD.getDecl());
1061 return GD.getWithDecl(TD);
1069 return GD.getWithDecl(Spec->getSpecializedTemplate());
1076 return GD.getWithDecl(Spec->getSpecializedTemplate());
1082 void MicrosoftCXXNameMangler::mangleUnqualifiedName(GlobalDecl GD,
1084 const NamedDecl *ND = cast<NamedDecl>(GD.getDecl());
1092 if (GlobalDecl TD = isTemplate(GD, TemplateArgs)) {
1164 GD.getKernelReferenceKind() == KernelReferenceKind::Stub;
1207 if (const MSGuidDecl *GD = dyn_cast<MSGuidDecl>(ND)) {
1212 Context.mangleMSGuidDecl(GD, GUIDOS);
1370 void MicrosoftCXXNameMangler::mangleNestedName(GlobalDecl GD) {
1371 const NamedDecl *ND = cast<NamedDecl>(GD.getDecl());
1645 GlobalDecl GD, const TemplateArgumentList &TemplateArgs) {
1660 mangleUnscopedTemplateName(GD);
1661 mangleTemplateArgs(cast<TemplateDecl>(GD.getDecl()), TemplateArgs);
1670 void MicrosoftCXXNameMangler::mangleUnscopedTemplateName(GlobalDecl GD) {
1673 mangleUnqualifiedName(GD);
3719 void MicrosoftMangleContextImpl::mangleCXXName(GlobalDecl GD,
3721 const NamedDecl *D = cast<NamedDecl>(GD.getDecl());
3729 auto Type = GD.getCtorType();
3731 return mangler.mangle(GD);
3735 auto Type = GD.getDtorType();
3737 return mangler.mangle(GD);
3741 return Mangler.mangle(GD);