Lines Matching refs:MDS
434 DISubprogram *getReplacementSubprogram(DISubprogram *MDS) {
435 auto *FileAndScope = cast_or_null<DIFile>(map(MDS->getFile()));
436 StringRef LinkageName = MDS->getName().empty() ? MDS->getLinkageName() : "";
438 auto *Type = cast_or_null<DISubroutineType>(map(MDS->getType()));
440 cast_or_null<DIType>(map(MDS->getContainingType()));
441 auto *Unit = cast_or_null<DICompileUnit>(map(MDS->getUnit()));
448 MDS->getContext(), FileAndScope, MDS->getName(), LinkageName,
449 FileAndScope, MDS->getLine(), Type, MDS->getScopeLine(),
450 ContainingType, MDS->getVirtualIndex(), MDS->getThisAdjustment(),
451 MDS->getFlags(), MDS->getSPFlags(), Unit, TemplateParams, Declaration,
455 if (MDS->isDistinct())
459 MDS->getContext(), FileAndScope, MDS->getName(), LinkageName,
460 FileAndScope, MDS->getLine(), Type, MDS->getScopeLine(), ContainingType,
461 MDS->getVirtualIndex(), MDS->getThisAdjustment(), MDS->getFlags(),
462 MDS->getSPFlags(), Unit, TemplateParams, Declaration, Variables);
464 StringRef OldLinkageName = MDS->getLinkageName();
478 NewToLinkageName.insert({NewMDS, MDS->getLinkageName()});
571 if (auto *MDS = dyn_cast<DISubprogram>(Parent))
572 return Child == MDS->getRetainedNodes().get();