Lines Matching defs:GD
204 llvm::Function *CodeGenModule::codegenCXXStructor(GlobalDecl GD) {
205 const CGFunctionInfo &FnInfo = getTypes().arrangeCXXStructorDeclaration(GD);
207 getAddrOfCXXStructor(GD, &FnInfo, /*FnType=*/nullptr,
210 setFunctionLinkage(GD, Fn);
212 CodeGenFunction(*this).GenerateCode(GD, Fn, FnInfo);
213 setNonAliasAttributes(GD, Fn);
214 SetLLVMFunctionAttributesForDefinition(cast<CXXMethodDecl>(GD.getDecl()), Fn);
219 GlobalDecl GD, const CGFunctionInfo *FnInfo, llvm::FunctionType *FnType,
221 auto *MD = cast<CXXMethodDecl>(GD.getDecl());
227 GD.getDtorType() == Dtor_Complete &&
229 GD = GD.getWithDtorType(Dtor_Base);
234 FnInfo = &getTypes().arrangeCXXStructorDeclaration(GD);
239 getMangledName(GD), FnType, GD, /*ForVTable=*/false, DontDefer,
245 GlobalDecl GD,
254 uint64_t VTableIndex = CGM.getItaniumVTableContext().getMethodVTableIndex(GD);
269 CGM.getItaniumVTableContext().findOriginalMethod(GD.getCanonicalDecl());
273 CGCallee Callee(GD, VFunc, PointerAuth);