Home
last modified time | relevance | path

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

/llvm-project/llvm/include/llvm/ADT/
H A DSCCIterator.h56 struct StackElement { struct
61 StackElement(NodeRef Node, const ChildItTy &Child, unsigned Min) in StackElement() function
64 bool operator==(const StackElement &Other) const {
86 std::vector<StackElement> VisitStack;
155 VisitStack.push_back(StackElement(N, GT::child_begin(N), visitNum)); in DFSVisitOne()
H A DDepthFirstIterator.h104 using StackElement = std::pair<NodeRef, std::optional<ChildItTy>>;
107 std::vector<StackElement> VisitStack; in df_iterator()
111 VisitStack.push_back(StackElement(Node, std::nullopt));
119 VisitStack.push_back(StackElement(Node, std::nullopt)); in df_iterator()
143 VisitStack.push_back(StackElement(Next, std::nullopt)); in toNext()
100 using StackElement = std::pair<NodeRef, std::optional<ChildItTy>>; global() variable