Lines Matching refs:GD

46   GlobalDecl GD;  in getGlobalDeclAsDeclContext()  local
48 GD = GlobalDecl(CD, Ctor_Complete); in getGlobalDeclAsDeclContext()
50 GD = GlobalDecl(DD, Dtor_Complete); in getGlobalDeclAsDeclContext()
52 GD = GlobalDecl(cast<FunctionDecl>(DC)); in getGlobalDeclAsDeclContext()
53 return GD; in getGlobalDeclAsDeclContext()
155 void mangleCXXName(GlobalDecl GD, raw_ostream &Out) override;
363 void mangle(GlobalDecl GD, StringRef Prefix = "?");
364 void mangleName(GlobalDecl GD);
365 void mangleFunctionEncoding(GlobalDecl GD, bool ShouldMangle);
388 void mangleNestedName(GlobalDecl GD);
402 void mangleUnqualifiedName(GlobalDecl GD) { in mangleUnqualifiedName() argument
403 mangleUnqualifiedName(GD, cast<NamedDecl>(GD.getDecl())->getDeclName()); in mangleUnqualifiedName()
405 void mangleUnqualifiedName(GlobalDecl GD, DeclarationName Name);
414 void mangleUnscopedTemplateName(GlobalDecl GD);
416 mangleTemplateInstantiationName(GlobalDecl GD,
552 void MicrosoftCXXNameMangler::mangle(GlobalDecl GD, StringRef Prefix) { in mangle() argument
553 const NamedDecl *D = cast<NamedDecl>(GD.getDecl()); in mangle()
562 mangleName(GD); in mangle()
564 mangleFunctionEncoding(GD, Context.shouldMangleDeclName(FD)); in mangle()
578 void MicrosoftCXXNameMangler::mangleFunctionEncoding(GlobalDecl GD, in mangleFunctionEncoding() argument
580 const FunctionDecl *FD = cast<FunctionDecl>(GD.getDecl()); in mangleFunctionEncoding()
791 void MicrosoftCXXNameMangler::mangleName(GlobalDecl GD) { in mangleName() argument
795 mangleUnqualifiedName(GD); in mangleName()
797 mangleNestedName(GD); in mangleName()
868 static GlobalDecl isTemplate(GlobalDecl GD, in isTemplate() argument
870 const NamedDecl *ND = cast<NamedDecl>(GD.getDecl()); in isTemplate()
875 return GD.getWithDecl(TD); in isTemplate()
883 return GD.getWithDecl(Spec->getSpecializedTemplate()); in isTemplate()
890 return GD.getWithDecl(Spec->getSpecializedTemplate()); in isTemplate()
896 void MicrosoftCXXNameMangler::mangleUnqualifiedName(GlobalDecl GD, in mangleUnqualifiedName() argument
898 const NamedDecl *ND = cast<NamedDecl>(GD.getDecl()); in mangleUnqualifiedName()
906 if (GlobalDecl TD = isTemplate(GD, TemplateArgs)) { in mangleUnqualifiedName()
978 GD.getKernelReferenceKind() == KernelReferenceKind::Stub; in mangleUnqualifiedName()
1021 if (const MSGuidDecl *GD = dyn_cast<MSGuidDecl>(ND)) { in mangleUnqualifiedName() local
1026 Context.mangleMSGuidDecl(GD, GUIDOS); in mangleUnqualifiedName()
1184 void MicrosoftCXXNameMangler::mangleNestedName(GlobalDecl GD) { in mangleNestedName() argument
1185 const NamedDecl *ND = cast<NamedDecl>(GD.getDecl()); in mangleNestedName()
1457 GlobalDecl GD, const TemplateArgumentList &TemplateArgs) { in mangleTemplateInstantiationName() argument
1472 mangleUnscopedTemplateName(GD); in mangleTemplateInstantiationName()
1473 mangleTemplateArgs(cast<TemplateDecl>(GD.getDecl()), TemplateArgs); in mangleTemplateInstantiationName()
1482 void MicrosoftCXXNameMangler::mangleUnscopedTemplateName(GlobalDecl GD) { in mangleUnscopedTemplateName() argument
1485 mangleUnqualifiedName(GD); in mangleUnscopedTemplateName()
3361 void MicrosoftMangleContextImpl::mangleCXXName(GlobalDecl GD, in mangleCXXName() argument
3363 const NamedDecl *D = cast<NamedDecl>(GD.getDecl()); in mangleCXXName()
3371 auto Type = GD.getCtorType(); in mangleCXXName()
3373 return mangler.mangle(GD); in mangleCXXName()
3377 auto Type = GD.getDtorType(); in mangleCXXName()
3379 return mangler.mangle(GD); in mangleCXXName()
3383 return Mangler.mangle(GD); in mangleCXXName()