Lines Matching refs:DFSStack
1570 std::vector<std::pair<const SUnit*, SUnit::const_pred_iterator> > DFSStack;
1572 bool isComplete() const { return DFSStack.empty(); }
1575 DFSStack.push_back(std::make_pair(SU, SU->Preds.begin()));
1577 void advance() { ++DFSStack.back().second; }
1580 DFSStack.pop_back();
1581 return DFSStack.empty() ? nullptr : std::prev(DFSStack.back().second);
1584 const SUnit *getCurr() const { return DFSStack.back().first; }
1586 SUnit::const_pred_iterator getPred() const { return DFSStack.back().second; }