Home | History | Annotate | Download | only in ADT

Lines Matching refs:VisitStack

98   // VisitStack - Used to maintain the ordering.  Top = current block
99 std::vector<StackElement> VisitStack;
104 VisitStack.push_back(StackElement(Node, None));
112 VisitStack.push_back(StackElement(Node, None));
122 NodeRef Node = VisitStack.back().first;
123 Optional<ChildItTy> &Opt = VisitStack.back().second;
129 // VisitStack.back().second actually gets updated as the iterator
136 VisitStack.push_back(StackElement(Next, None));
143 VisitStack.pop_back();
144 } while (!VisitStack.empty());
163 return VisitStack == x.VisitStack;
167 const NodeRef &operator*() const { return VisitStack.back().first; }
185 VisitStack.pop_back();
186 if (!VisitStack.empty())
207 unsigned getPathLength() const { return VisitStack.size(); }
211 NodeRef getPath(unsigned n) const { return VisitStack[n].first; }