Lines Matching refs:MST
756 static BasicBlock *getInstrBB(CFGMST<Edge, BBInfo> &MST, Edge &E, in getInstrBB() argument
793 MST.addEdge(SrcBB, InstrBB, 0); in getInstrBB()
794 MST.addEdge(InstrBB, DestBB, 0).InMST = true; in getInstrBB()
801 static void dumpEdges(CFGMST<Edge, BBInfo> &MST, GCOVFunction &GF) { in dumpEdges() argument
803 for (auto &E : make_pointee_range(MST.AllEdges)) { in dumpEdges()
867 CFGMST<Edge, BBInfo> MST(F, /*InstrumentFuncEntry_=*/false, BPI, BFI); in emitProfileNotes() local
870 for (size_t I : llvm::seq<size_t>(0, MST.AllEdges.size())) { in emitProfileNotes()
871 auto &E = *MST.AllEdges[I]; in emitProfileNotes()
876 E.Place = getInstrBB(MST, E, ExecBlocks); in emitProfileNotes()
886 llvm::erase_if(MST.AllEdges, [](std::unique_ptr<Edge> &E) { in emitProfileNotes()
891 MST.AllEdges.begin(), MST.AllEdges.end(), in emitProfileNotes()
893 MST.AllEdges.begin(); in emitProfileNotes()
895 Edge &E = *MST.AllEdges[I]; in emitProfileNotes()
904 MST.AllEdges.begin(), MST.AllEdges.begin() + Measured, in emitProfileNotes()
910 for (const Edge &E : make_pointee_range(MST.AllEdges)) { in emitProfileNotes()
922 LLVM_DEBUG(dumpEdges(MST, Func)); in emitProfileNotes()
965 const Edge &E = *MST.AllEdges[I]; in emitProfileNotes()