Home
last modified time | relevance | path

Searched refs:RootSet (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/llvm/tools/llvm-mca/Views/
H A DBottleneckAnalysis.h242 void initializeRootSet(SmallVectorImpl<unsigned> &RootSet) const;
243 void propagateThroughEdges(SmallVectorImpl<unsigned> &RootSet,
271 SmallVector<unsigned, 16> RootSet; in finalizeGraph() local
273 initializeRootSet(RootSet); in finalizeGraph()
274 propagateThroughEdges(RootSet, Iterations); in finalizeGraph()
H A DBottleneckAnalysis.cpp193 SmallVectorImpl<unsigned> &RootSet) const { in initializeRootSet()
197 RootSet.emplace_back(I); in initializeRootSet()
201 void DependencyGraph::propagateThroughEdges(SmallVectorImpl<unsigned> &RootSet, in propagateThroughEdges() argument
236 for (unsigned IID : RootSet) { in propagateThroughEdges()
256 std::swap(RootSet, ToVisit); in propagateThroughEdges()
258 } while (!RootSet.empty()); in propagateThroughEdges()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DScheduleDAGInstrs.cpp1262 SparseSet<RootData> RootSet; member in llvm::SchedDFSImpl
1266 RootSet.setUniverse(R.DFSNodeData.size()); in SchedDFSImpl()
1312 if (RootSet[PredNum].ParentNodeID == SchedDFSResult::InvalidSubtreeID) in visitPostorderNode()
1313 RootSet[PredNum].ParentNodeID = SU->NodeNum; in visitPostorderNode()
1315 else if (RootSet.count(PredNum)) { in visitPostorderNode()
1320 RData.SubInstrCount += RootSet[PredNum].SubInstrCount; in visitPostorderNode()
1321 RootSet.erase(PredNum); in visitPostorderNode()
1324 RootSet[SU->NodeNum] = RData; in visitPostorderNode()
1346 assert(SubtreeClasses.getNumClasses() == RootSet.size() in finalize()
1348 for (const RootData &Root : RootSet) { in finalize()