Lines Matching defs:GD
2107 GlobalDecl GD = DD ? GlobalDecl(DD, Dtor_Deleting) : GlobalDecl(Method);
2109 CGM.getMicrosoftVTableContext().getMethodVFTableLocation(GD);
2124 .getVirtualFunctionPrologueThisAdjustment(GD)
2334 } else if (const auto *GD = dyn_cast<MSGuidDecl>(D)) {
2335 V = CGM.GetAddrOfMSGuidDecl(GD).getPointer();
4033 void CGDebugInfo::collectFunctionDeclProps(GlobalDecl GD, llvm::DIFile *Unit,
4039 const auto *FD = cast<FunctionDecl>(GD.getCanonicalDecl().getDecl());
4043 LinkageName = CGM.getMangledName(GD);
4135 llvm::DISubprogram *CGDebugInfo::getFunctionFwdDeclOrStub(GlobalDecl GD,
4141 SourceLocation Loc = GD.getDecl()->getLocation();
4145 collectFunctionDeclProps(GD, Unit, Name, LinkageName, DContext, TParamsArray,
4147 auto *FD = cast<FunctionDecl>(GD.getDecl());
4167 getOrCreateFunctionType(GD.getDecl(), FnType, Unit), 0, Flags, SPFlags,
4173 getOrCreateFunctionType(GD.getDecl(), FnType, Unit), 0, Flags, SPFlags,
4182 llvm::DISubprogram *CGDebugInfo::getFunctionForwardDeclaration(GlobalDecl GD) {
4183 return getFunctionFwdDeclOrStub(GD, /* Stub = */ false);
4186 llvm::DISubprogram *CGDebugInfo::getFunctionStub(GlobalDecl GD) {
4187 return getFunctionFwdDeclOrStub(GD, /* Stub = */ true);
4411 void CGDebugInfo::emitFunctionStart(GlobalDecl GD, SourceLocation Loc,
4419 const Decl *D = GD.getDecl();
4441 collectFunctionDeclProps(GD, Unit, Name, LinkageName, FDContext,
4447 GD.getDynamicInitKind() != DynamicInitKind::NoStub) {
4449 Name = getDynamicInitializerName(cast<VarDecl>(D), GD.getDynamicInitKind(),
4463 GD.getDynamicInitKind() != DynamicInitKind::NoStub) &&
4520 void CGDebugInfo::EmitFunctionDecl(GlobalDecl GD, SourceLocation Loc,
4525 const Decl *D = GD.getDecl();
4541 collectFunctionDeclProps(GD, Unit, Name, LinkageName, FDContext,
4617 void CGDebugInfo::EmitInlineFunctionStart(CGBuilderTy &Builder, GlobalDecl GD) {
4618 const auto *FD = cast<FunctionDecl>(GD.getDecl());
4625 SP = getFunctionStub(GD);
5869 const GlobalDecl GD) {
5876 const auto *D = cast<ValueDecl>(GD.getDecl());
5906 ImportedDeclCache[GD.getCanonicalDecl().getDecl()].reset(ImportDI);