Lines Matching defs:MDS
663 DISubprogram *getReplacementSubprogram(DISubprogram *MDS) {
664 auto *FileAndScope = cast_or_null<DIFile>(map(MDS->getFile()));
665 StringRef LinkageName = MDS->getName().empty() ? MDS->getLinkageName() : "";
667 auto *Type = cast_or_null<DISubroutineType>(map(MDS->getType()));
669 cast_or_null<DIType>(map(MDS->getContainingType()));
670 auto *Unit = cast_or_null<DICompileUnit>(map(MDS->getUnit()));
677 MDS->getContext(), FileAndScope, MDS->getName(), LinkageName,
678 FileAndScope, MDS->getLine(), Type, MDS->getScopeLine(),
679 ContainingType, MDS->getVirtualIndex(), MDS->getThisAdjustment(),
680 MDS->getFlags(), MDS->getSPFlags(), Unit, TemplateParams, Declaration,
684 if (MDS->isDistinct())
688 MDS->getContext(), FileAndScope, MDS->getName(), LinkageName,
689 FileAndScope, MDS->getLine(), Type, MDS->getScopeLine(), ContainingType,
690 MDS->getVirtualIndex(), MDS->getThisAdjustment(), MDS->getFlags(),
691 MDS->getSPFlags(), Unit, TemplateParams, Declaration, Variables);
693 StringRef OldLinkageName = MDS->getLinkageName();
707 NewToLinkageName.insert({NewMDS, MDS->getLinkageName()});
800 if (auto *MDS = dyn_cast<DISubprogram>(Parent))
801 return Child == MDS->getRetainedNodes().get();