Lines Matching defs:GD
206 llvm::Function *CodeGenModule::codegenCXXStructor(GlobalDecl GD) {
207 const CGFunctionInfo &FnInfo = getTypes().arrangeCXXStructorDeclaration(GD);
209 getAddrOfCXXStructor(GD, &FnInfo, /*FnType=*/nullptr,
212 setFunctionLinkage(GD, Fn);
214 CodeGenFunction(*this).GenerateCode(GD, Fn, FnInfo);
215 setNonAliasAttributes(GD, Fn);
216 SetLLVMFunctionAttributesForDefinition(cast<CXXMethodDecl>(GD.getDecl()), Fn);
221 GlobalDecl GD, const CGFunctionInfo *FnInfo, llvm::FunctionType *FnType,
223 auto *MD = cast<CXXMethodDecl>(GD.getDecl());
229 GD.getDtorType() == Dtor_Complete &&
231 GD = GD.getWithDtorType(Dtor_Base);
236 FnInfo = &getTypes().arrangeCXXStructorDeclaration(GD);
241 getMangledName(GD), FnType, GD, /*ForVTable=*/false, DontDefer,
247 GlobalDecl GD,
256 uint64_t VTableIndex = CGM.getItaniumVTableContext().getMethodVTableIndex(GD);
271 CGM.getItaniumVTableContext().findOriginalMethod(GD.getCanonicalDecl());
275 CGCallee Callee(GD, VFunc, PointerAuth);