Lines Matching refs:GD

45   GlobalDecl GD;  in getGlobalDeclAsDeclContext()  local
47 GD = GlobalDecl(CD, Ctor_Complete); in getGlobalDeclAsDeclContext()
49 GD = GlobalDecl(DD, Dtor_Complete); in getGlobalDeclAsDeclContext()
51 GD = GlobalDecl(cast<FunctionDecl>(DC)); in getGlobalDeclAsDeclContext()
52 return GD; in getGlobalDeclAsDeclContext()
154 void mangleCXXName(GlobalDecl GD, raw_ostream &Out) override;
362 void mangle(GlobalDecl GD, StringRef Prefix = "?");
363 void mangleName(GlobalDecl GD);
364 void mangleFunctionEncoding(GlobalDecl GD, bool ShouldMangle);
387 void mangleNestedName(GlobalDecl GD);
401 void mangleUnqualifiedName(GlobalDecl GD) { in mangleUnqualifiedName() argument
402 mangleUnqualifiedName(GD, cast<NamedDecl>(GD.getDecl())->getDeclName()); in mangleUnqualifiedName()
404 void mangleUnqualifiedName(GlobalDecl GD, DeclarationName Name);
413 void mangleUnscopedTemplateName(GlobalDecl GD);
415 mangleTemplateInstantiationName(GlobalDecl GD,
551 void MicrosoftCXXNameMangler::mangle(GlobalDecl GD, StringRef Prefix) { in mangle() argument
552 const NamedDecl *D = cast<NamedDecl>(GD.getDecl()); in mangle()
561 mangleName(GD); in mangle()
563 mangleFunctionEncoding(GD, Context.shouldMangleDeclName(FD)); in mangle()
577 void MicrosoftCXXNameMangler::mangleFunctionEncoding(GlobalDecl GD, in mangleFunctionEncoding() argument
579 const FunctionDecl *FD = cast<FunctionDecl>(GD.getDecl()); in mangleFunctionEncoding()
790 void MicrosoftCXXNameMangler::mangleName(GlobalDecl GD) { in mangleName() argument
794 mangleUnqualifiedName(GD); in mangleName()
796 mangleNestedName(GD); in mangleName()
864 static GlobalDecl isTemplate(GlobalDecl GD, in isTemplate() argument
866 const NamedDecl *ND = cast<NamedDecl>(GD.getDecl()); in isTemplate()
871 return GD.getWithDecl(TD); in isTemplate()
879 return GD.getWithDecl(Spec->getSpecializedTemplate()); in isTemplate()
886 return GD.getWithDecl(Spec->getSpecializedTemplate()); in isTemplate()
892 void MicrosoftCXXNameMangler::mangleUnqualifiedName(GlobalDecl GD, in mangleUnqualifiedName() argument
894 const NamedDecl *ND = cast<NamedDecl>(GD.getDecl()); in mangleUnqualifiedName()
902 if (GlobalDecl TD = isTemplate(GD, TemplateArgs)) { in mangleUnqualifiedName()
974 GD.getKernelReferenceKind() == KernelReferenceKind::Stub; in mangleUnqualifiedName()
1017 if (const MSGuidDecl *GD = dyn_cast<MSGuidDecl>(ND)) { in mangleUnqualifiedName() local
1022 Context.mangleMSGuidDecl(GD, GUIDOS); in mangleUnqualifiedName()
1180 void MicrosoftCXXNameMangler::mangleNestedName(GlobalDecl GD) { in mangleNestedName() argument
1181 const NamedDecl *ND = cast<NamedDecl>(GD.getDecl()); in mangleNestedName()
1453 GlobalDecl GD, const TemplateArgumentList &TemplateArgs) { in mangleTemplateInstantiationName() argument
1468 mangleUnscopedTemplateName(GD); in mangleTemplateInstantiationName()
1469 mangleTemplateArgs(cast<TemplateDecl>(GD.getDecl()), TemplateArgs); in mangleTemplateInstantiationName()
1478 void MicrosoftCXXNameMangler::mangleUnscopedTemplateName(GlobalDecl GD) { in mangleUnscopedTemplateName() argument
1481 mangleUnqualifiedName(GD); in mangleUnscopedTemplateName()
3350 void MicrosoftMangleContextImpl::mangleCXXName(GlobalDecl GD, in mangleCXXName() argument
3352 const NamedDecl *D = cast<NamedDecl>(GD.getDecl()); in mangleCXXName()
3360 auto Type = GD.getCtorType(); in mangleCXXName()
3362 return mangler.mangle(GD); in mangleCXXName()
3366 auto Type = GD.getDtorType(); in mangleCXXName()
3368 return mangler.mangle(GD); in mangleCXXName()
3372 return Mangler.mangle(GD); in mangleCXXName()