Home
last modified time | relevance | path

Searched refs:toSort (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/mlir/lib/Analysis/
H A DSliceAnalysis.cpp165 : toSort(set), topologicalCounts(), seen() {} in DFSState()
166 const SetVector<Operation *> &toSort; member
189 if (state->seen.insert(op).second && state->toSort.count(op) > 0) in dfsPostorder()
195 mlir::topologicalSort(const SetVector<Operation *> &toSort) { in topologicalSort() argument
196 if (toSort.empty()) { in topologicalSort()
197 return toSort; in topologicalSort()
201 DFSState state(toSort); in topologicalSort()
202 for (auto *s : toSort) { in topologicalSort()
203 assert(toSort.count(s) == 1 && "NYI: multi-sets not supported"); in topologicalSort()
/llvm-project-15.0.7/mlir/include/mlir/Analysis/
H A DSliceAnalysis.h206 SetVector<Operation *> topologicalSort(const SetVector<Operation *> &toSort);