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;
364 void mangle(GlobalDecl GD, StringRef Prefix = "?");
365 void mangleName(GlobalDecl GD);
366 void mangleFunctionEncoding(GlobalDecl GD, bool ShouldMangle);
393 void mangleNestedName(GlobalDecl GD);
407 void mangleUnqualifiedName(GlobalDecl GD) { in mangleUnqualifiedName() argument
408 mangleUnqualifiedName(GD, cast<NamedDecl>(GD.getDecl())->getDeclName()); in mangleUnqualifiedName()
410 void mangleUnqualifiedName(GlobalDecl GD, DeclarationName Name);
419 void mangleUnscopedTemplateName(GlobalDecl GD);
421 mangleTemplateInstantiationName(GlobalDecl GD,
556 void MicrosoftCXXNameMangler::mangle(GlobalDecl GD, StringRef Prefix) { in mangle() argument
557 const NamedDecl *D = cast<NamedDecl>(GD.getDecl()); in mangle()
566 mangleName(GD); in mangle()
568 mangleFunctionEncoding(GD, Context.shouldMangleDeclName(FD)); in mangle()
582 void MicrosoftCXXNameMangler::mangleFunctionEncoding(GlobalDecl GD, in mangleFunctionEncoding() argument
584 const FunctionDecl *FD = cast<FunctionDecl>(GD.getDecl()); in mangleFunctionEncoding()
845 void MicrosoftCXXNameMangler::mangleName(GlobalDecl GD) { in mangleName() argument
849 mangleUnqualifiedName(GD); in mangleName()
851 mangleNestedName(GD); in mangleName()
926 static GlobalDecl isTemplate(GlobalDecl GD, in isTemplate() argument
928 const NamedDecl *ND = cast<NamedDecl>(GD.getDecl()); in isTemplate()
933 return GD.getWithDecl(TD); in isTemplate()
941 return GD.getWithDecl(Spec->getSpecializedTemplate()); in isTemplate()
948 return GD.getWithDecl(Spec->getSpecializedTemplate()); in isTemplate()
954 void MicrosoftCXXNameMangler::mangleUnqualifiedName(GlobalDecl GD, in mangleUnqualifiedName() argument
956 const NamedDecl *ND = cast<NamedDecl>(GD.getDecl()); in mangleUnqualifiedName()
964 if (GlobalDecl TD = isTemplate(GD, TemplateArgs)) { in mangleUnqualifiedName()
1036 GD.getKernelReferenceKind() == KernelReferenceKind::Stub; in mangleUnqualifiedName()
1079 if (const MSGuidDecl *GD = dyn_cast<MSGuidDecl>(ND)) { in mangleUnqualifiedName() local
1084 Context.mangleMSGuidDecl(GD, GUIDOS); in mangleUnqualifiedName()
1242 void MicrosoftCXXNameMangler::mangleNestedName(GlobalDecl GD) { in mangleNestedName() argument
1243 const NamedDecl *ND = cast<NamedDecl>(GD.getDecl()); in mangleNestedName()
1520 GlobalDecl GD, const TemplateArgumentList &TemplateArgs) { in mangleTemplateInstantiationName() argument
1535 mangleUnscopedTemplateName(GD); in mangleTemplateInstantiationName()
1536 mangleTemplateArgs(cast<TemplateDecl>(GD.getDecl()), TemplateArgs); in mangleTemplateInstantiationName()
1545 void MicrosoftCXXNameMangler::mangleUnscopedTemplateName(GlobalDecl GD) { in mangleUnscopedTemplateName() argument
1548 mangleUnqualifiedName(GD); in mangleUnscopedTemplateName()
3498 void MicrosoftMangleContextImpl::mangleCXXName(GlobalDecl GD, in mangleCXXName() argument
3500 const NamedDecl *D = cast<NamedDecl>(GD.getDecl()); in mangleCXXName()
3508 auto Type = GD.getCtorType(); in mangleCXXName()
3510 return mangler.mangle(GD); in mangleCXXName()
3514 auto Type = GD.getDtorType(); in mangleCXXName()
3516 return mangler.mangle(GD); in mangleCXXName()
3520 return Mangler.mangle(GD); in mangleCXXName()