Lines Matching defs:GD

48   GlobalDecl GD;
50 GD = GlobalDecl(CD, Ctor_Complete);
52 GD = GlobalDecl(DD, Dtor_Complete);
54 GD = GlobalDecl(cast<FunctionDecl>(DC));
55 return GD;
157 void mangleCXXName(GlobalDecl GD, raw_ostream &Out) override;
366 void mangle(GlobalDecl GD, StringRef Prefix = "?");
367 void mangleName(GlobalDecl GD);
368 void mangleFunctionEncoding(GlobalDecl GD, bool ShouldMangle);
405 void mangleNestedName(GlobalDecl GD);
419 void mangleUnqualifiedName(GlobalDecl GD) {
420 mangleUnqualifiedName(GD, cast<NamedDecl>(GD.getDecl())->getDeclName());
422 void mangleUnqualifiedName(GlobalDecl GD, DeclarationName Name);
430 void mangleUnscopedTemplateName(GlobalDecl GD);
432 mangleTemplateInstantiationName(GlobalDecl GD,
567 void MicrosoftCXXNameMangler::mangle(GlobalDecl GD, StringRef Prefix) {
568 const NamedDecl *D = cast<NamedDecl>(GD.getDecl());
577 mangleName(GD);
579 mangleFunctionEncoding(GD, Context.shouldMangleDeclName(FD));
593 void MicrosoftCXXNameMangler::mangleFunctionEncoding(GlobalDecl GD,
595 const FunctionDecl *FD = cast<FunctionDecl>(GD.getDecl());
932 void MicrosoftCXXNameMangler::mangleName(GlobalDecl GD) {
936 mangleUnqualifiedName(GD);
938 mangleNestedName(GD);
1017 static GlobalDecl isTemplate(GlobalDecl GD,
1019 const NamedDecl *ND = cast<NamedDecl>(GD.getDecl());
1024 return GD.getWithDecl(TD);
1032 return GD.getWithDecl(Spec->getSpecializedTemplate());
1039 return GD.getWithDecl(Spec->getSpecializedTemplate());
1045 void MicrosoftCXXNameMangler::mangleUnqualifiedName(GlobalDecl GD,
1047 const NamedDecl *ND = cast<NamedDecl>(GD.getDecl());
1055 if (GlobalDecl TD = isTemplate(GD, TemplateArgs)) {
1127 GD.getKernelReferenceKind() == KernelReferenceKind::Stub;
1170 if (const MSGuidDecl *GD = dyn_cast<MSGuidDecl>(ND)) {
1175 Context.mangleMSGuidDecl(GD, GUIDOS);
1333 void MicrosoftCXXNameMangler::mangleNestedName(GlobalDecl GD) {
1334 const NamedDecl *ND = cast<NamedDecl>(GD.getDecl());
1611 GlobalDecl GD, const TemplateArgumentList &TemplateArgs) {
1626 mangleUnscopedTemplateName(GD);
1627 mangleTemplateArgs(cast<TemplateDecl>(GD.getDecl()), TemplateArgs);
1636 void MicrosoftCXXNameMangler::mangleUnscopedTemplateName(GlobalDecl GD) {
1639 mangleUnqualifiedName(GD);
3645 void MicrosoftMangleContextImpl::mangleCXXName(GlobalDecl GD,
3647 const NamedDecl *D = cast<NamedDecl>(GD.getDecl());
3655 auto Type = GD.getCtorType();
3657 return mangler.mangle(GD);
3661 auto Type = GD.getDtorType();
3663 return mangler.mangle(GD);
3667 return Mangler.mangle(GD);