Lines Matching defs:MD
217 llvm::Function *CodeGenModule::codegenCXXStructor(const CXXMethodDecl *MD,
220 getTypes().arrangeCXXStructorDeclaration(MD, Type);
222 getAddrOfCXXStructor(MD, Type, &FnInfo, /*FnType=*/nullptr,
226 if (const auto *DD = dyn_cast<CXXDestructorDecl>(MD)) {
229 const auto *CD = cast<CXXConstructorDecl>(MD);
237 setFunctionDefinitionAttributes(MD, Fn);
238 SetLLVMFunctionAttributesForDefinition(MD, Fn);
243 const CXXMethodDecl *MD, StructorType Type, const CGFunctionInfo *FnInfo,
246 if (auto *CD = dyn_cast<CXXConstructorDecl>(MD)) {
249 GD = GlobalDecl(cast<CXXDestructorDecl>(MD), toCXXDtorType(Type));
254 FnInfo = &getTypes().arrangeCXXStructorDeclaration(MD, Type);
289 CodeGenFunction::BuildAppleKextVirtualCall(const CXXMethodDecl *MD,
301 if (const auto *DD = dyn_cast<CXXDestructorDecl>(MD))
304 return ::BuildAppleKextVirtualCall(*this, MD, Ty, RD);
314 const auto *MD = cast<CXXMethodDecl>(DD);
318 if (MD->isVirtual() && Type != Dtor_Base) {