Home
last modified time | relevance | path

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

/freebsd-src/contrib/llvm-project/llvm/include/llvm/ADT/
H A DSCCIterator.h56 struct StackElement { struct
61 StackElement(NodeRef Node, const ChildItTy &Child, unsigned Min) in StackElement() argument
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.h100 using StackElement = std::pair<NodeRef, std::optional<ChildItTy>>; variable
103 std::vector<StackElement> VisitStack;
107 VisitStack.push_back(StackElement(Node, std::nullopt)); in df_iterator()
115 VisitStack.push_back(StackElement(Node, std::nullopt)); in df_iterator()
139 VisitStack.push_back(StackElement(Next, std::nullopt)); in toNext()