Home
last modified time | relevance | path

Searched refs:AllEdges (Results 1 – 4 of 4) sorted by relevance

/openbsd/src/gnu/llvm/llvm/lib/Transforms/Instrumentation/
DCFGMST.h45 std::vector<std::unique_ptr<Edge>> AllEdges; variable
205 llvm::stable_sort(AllEdges, [](const std::unique_ptr<Edge> &Edge1, in sortEdgesByWeight()
217 for (auto &Ei : AllEdges) { in computeMinimumSpanningTree()
228 for (auto &Ei : AllEdges) { in computeMinimumSpanningTree()
251 OS << " Number of Edges: " << AllEdges.size() in dumpEdges()
254 for (auto &EI : AllEdges) in dumpEdges()
274 AllEdges.emplace_back(new Edge(Src, Dest, W)); in addEdge()
275 return *AllEdges.back(); in addEdge()
293 if (AllEdges.size() > 1 && InstrumentFuncEntry) in F()
294 std::iter_swap(std::move(AllEdges.begin()), in F()
[all …]
DGCOVProfiling.cpp753 for (auto &E : make_pointee_range(MST.AllEdges)) { in dumpEdges()
823 for (size_t I : llvm::seq<size_t>(0, MST.AllEdges.size())) { in emitProfileNotes()
824 auto &E = *MST.AllEdges[I]; 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()
918 const Edge &E = *MST.AllEdges[I]; in emitProfileNotes()
DPGOInstrumentation.cpp586 for (auto &E : MST.AllEdges) { in FuncPGOInstrumentation()
629 (uint64_t)MST.AllEdges.size() << 32 | JC.getCRC(); in computeCFGHash()
640 updateJCH((uint64_t)MST.AllEdges.size()); in computeCFGHash()
654 << ", Edges = " << MST.AllEdges.size() << ", ICSites = " in computeCFGHash()
735 EdgeList.reserve(MST.AllEdges.size()); in getInstrumentBBs()
736 for (auto &E : MST.AllEdges) in getInstrumentBBs()
746 for (auto &E : MST.AllEdges) { in getInstrumentBBs()
1182 for (auto &E : FuncInfo.MST.AllEdges) { in setInstrumentedCounts()
/openbsd/src/gnu/llvm/llvm/lib/Transforms/Utils/
DCodeLayout.cpp556 AllEdges.reserve(AllJumps.size()); in initialize()
568 AllEdges.emplace_back(Jump); in initialize()
569 Block.CurChain->addEdge(SuccBlock->CurChain, &AllEdges.back()); in initialize()
570 SuccBlock->CurChain->addEdge(Block.CurChain, &AllEdges.back()); in initialize()
948 std::vector<ChainEdge> AllEdges; member in __anon762416430111::ExtTSPImpl