Lines Matching refs:MST
702 static BasicBlock *getInstrBB(CFGMST<Edge, BBInfo> &MST, Edge &E, in getInstrBB() argument
739 MST.addEdge(SrcBB, InstrBB, 0); in getInstrBB()
740 MST.addEdge(InstrBB, DestBB, 0).InMST = true; in getInstrBB()
747 static void dumpEdges(CFGMST<Edge, BBInfo> &MST, GCOVFunction &GF) { in dumpEdges() argument
749 for (auto &E : make_pointee_range(MST.AllEdges)) { in dumpEdges()
814 CFGMST<Edge, BBInfo> MST(F, /*InstrumentFuncEntry_=*/false, BPI, BFI); in emitProfileNotes() local
817 for (size_t I : llvm::seq<size_t>(0, MST.AllEdges.size())) { in emitProfileNotes()
818 auto &E = *MST.AllEdges[I]; in emitProfileNotes()
823 E.Place = getInstrBB(MST, E, ExecBlocks); in emitProfileNotes()
833 llvm::erase_if(MST.AllEdges, [](std::unique_ptr<Edge> &E) { in emitProfileNotes()
838 MST.AllEdges.begin(), MST.AllEdges.end(), in emitProfileNotes()
840 MST.AllEdges.begin(); in emitProfileNotes()
842 Edge &E = *MST.AllEdges[I]; in emitProfileNotes()
851 MST.AllEdges.begin(), MST.AllEdges.begin() + Measured, in emitProfileNotes()
857 for (const Edge &E : make_pointee_range(MST.AllEdges)) { in emitProfileNotes()
869 LLVM_DEBUG(dumpEdges(MST, Func)); in emitProfileNotes()
912 const Edge &E = *MST.AllEdges[I]; in emitProfileNotes()