Lines Matching refs:GD
653 void CodeGenFunction::StartFunction(GlobalDecl GD, in StartFunction() argument
663 const Decl *D = GD.getDecl(); in StartFunction()
791 DI->EmitFunctionStart(GD, Loc, StartLoc, FnType, CurFn, Builder); in StartFunction()
953 QualType CodeGenFunction::BuildFunctionArgList(GlobalDecl GD, in BuildFunctionArgList() argument
955 const FunctionDecl *FD = cast<FunctionDecl>(GD.getDecl()); in BuildFunctionArgList()
960 if (CGM.getCXXABI().HasThisReturn(GD)) in BuildFunctionArgList()
962 else if (CGM.getCXXABI().hasMostDerivedReturn(GD)) in BuildFunctionArgList()
974 getTypes().inheritingCtorHasParams(Inherited, GD.getCtorType()); in BuildFunctionArgList()
997 void CodeGenFunction::GenerateCode(GlobalDecl GD, llvm::Function *Fn, in GenerateCode() argument
999 const FunctionDecl *FD = cast<FunctionDecl>(GD.getDecl()); in GenerateCode()
1000 CurGD = GD; in GenerateCode()
1003 QualType ResTy = BuildFunctionArgList(GD, Args); in GenerateCode()
1027 StartFunction(GD, ResTy, Fn, FnInfo, Args, Loc, BodyRange.getBegin()); in GenerateCode()
1030 PGO.assignRegionCounters(GD, CurFn); in GenerateCode()