Lines Matching refs:GD

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