Lines Matching refs:NamedMD
555 for (auto &NamedMD : M->named_metadata()) in TestNamedMDs() local
557 if (!Names.count(NamedMD.getName()) && in TestNamedMDs()
558 (!(NamedMD.getName() == "llvm.dbg.cu" && NamedMD.getNumOperands() > 0))) in TestNamedMDs()
559 ToDelete.push_back(&NamedMD); in TestNamedMDs()
561 for (auto *NamedMD : ToDelete) in TestNamedMDs() local
562 NamedMD->eraseFromParent(); in TestNamedMDs()
622 for (auto &NamedMD : BD.getProgram()->named_metadata()) { in TestNamedMDOps() local
624 M->eraseNamedMetadata(M->getNamedMetadata(NamedMD.getName())); in TestNamedMDOps()
626 M->getOrInsertNamedMetadata(NamedMD.getName()); in TestNamedMDOps()
627 for (MDNode *op : NamedMD.operands()) in TestNamedMDOps()
840 for (auto &NamedMD : BD.getProgram()->named_metadata()) in DebugACrash() local
841 NamedMDNames.push_back(NamedMD.getName().str()); in DebugACrash()
849 for (auto &NamedMD : BD.getProgram()->named_metadata()) in DebugACrash() local
850 for (auto op : NamedMD.operands()) in DebugACrash()