Searched refs:toSort (Results 1 – 2 of 2) sorted by relevance
165 : toSort(set), topologicalCounts(), seen() {} in DFSState()166 const SetVector<Operation *> &toSort; member189 if (state->seen.insert(op).second && state->toSort.count(op) > 0) in dfsPostorder()195 mlir::topologicalSort(const SetVector<Operation *> &toSort) { in topologicalSort() argument196 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()
206 SetVector<Operation *> topologicalSort(const SetVector<Operation *> &toSort);