Lines Matching defs:GD
756 void CodeGenFunction::StartFunction(GlobalDecl GD, QualType RetTy,
765 const Decl *D = GD.getDecl();
771 CurSEHParent = GD;
1138 DI->emitFunctionStart(GD, Loc, StartLoc,
1406 QualType CodeGenFunction::BuildFunctionArgList(GlobalDecl GD,
1408 const FunctionDecl *FD = cast<FunctionDecl>(GD.getDecl());
1413 if (CGM.getCXXABI().HasThisReturn(GD))
1415 else if (CGM.getCXXABI().hasMostDerivedReturn(GD))
1427 getTypes().inheritingCtorHasParams(Inherited, GD.getCtorType());
1449 void CodeGenFunction::GenerateCode(GlobalDecl GD, llvm::Function *Fn,
1452 const FunctionDecl *FD = cast<FunctionDecl>(GD.getDecl());
1453 CurGD = GD;
1456 QualType ResTy = BuildFunctionArgList(GD, Args);
1540 StartFunction(GD, ResTy, Fn, FnInfo, Args, Loc, BodyRange.getBegin());
1554 PGO.assignRegionCounters(GD, CurFn);