Lines Matching refs:MST
706 static BasicBlock *getInstrBB(CFGMST<Edge, BBInfo> &MST, Edge &E, in getInstrBB() argument
743 MST.addEdge(SrcBB, InstrBB, 0); in getInstrBB()
744 MST.addEdge(InstrBB, DestBB, 0).InMST = true; in getInstrBB()
751 static void dumpEdges(CFGMST<Edge, BBInfo> &MST, GCOVFunction &GF) { in dumpEdges() argument
753 for (const auto &E : make_pointee_range(MST.allEdges())) { in dumpEdges()
820 CFGMST<Edge, BBInfo> MST(F, /*InstrumentFuncEntry_=*/false, BPI, BFI); in emitProfileNotes() local
823 for (size_t I : llvm::seq<size_t>(0, MST.numEdges())) { in emitProfileNotes()
824 auto &E = *MST.allEdges()[I]; in emitProfileNotes()
829 E.Place = getInstrBB(MST, E, ExecBlocks); in emitProfileNotes()
839 llvm::erase_if(MST.allEdges(), [](std::unique_ptr<Edge> &E) { in emitProfileNotes()
844 MST.allEdges().begin(), MST.allEdges().end(), in emitProfileNotes()
846 MST.allEdges().begin(); in emitProfileNotes()
848 Edge &E = *MST.allEdges()[I]; in emitProfileNotes()
857 MST.allEdges().begin(), MST.allEdges().begin() + Measured, in emitProfileNotes()
863 for (const Edge &E : make_pointee_range(MST.allEdges())) { in emitProfileNotes()
875 LLVM_DEBUG(dumpEdges(MST, Func)); in emitProfileNotes()
920 const Edge &E = *MST.allEdges()[I]; in emitProfileNotes()