Searched refs:VisitStack (Results 1 – 5 of 5) sorted by relevance
/openbsd/gnu/llvm/llvm/include/llvm/ADT/ |
H A D | SCCIterator.h | 85 std::vector<StackElement> VisitStack; variable 118 return VisitStack == x.VisitStack && CurrentSCC == x.CurrentSCC; 163 assert(!VisitStack.empty()); in DFSVisitChildren() 164 while (VisitStack.back().NextChild != GT::child_end(VisitStack.back().Node)) { in DFSVisitChildren() 176 if (VisitStack.back().MinVisited > childNum) in DFSVisitChildren() 177 VisitStack.back().MinVisited = childNum; in DFSVisitChildren() 183 while (!VisitStack.empty()) { in GetNextSCC() 187 NodeRef visitingN = VisitStack.back().Node; in GetNextSCC() 190 VisitStack.pop_back(); in GetNextSCC() 193 if (!VisitStack.empty() && VisitStack.back().MinVisited > minVisitNum) in GetNextSCC() [all …]
|
H A D | DepthFirstIterator.h | 103 std::vector<StackElement> VisitStack; variable 107 VisitStack.push_back(StackElement(Node, std::nullopt)); in df_iterator() 115 VisitStack.push_back(StackElement(Node, std::nullopt)); in df_iterator() 125 NodeRef Node = VisitStack.back().first; in toNext() 126 std::optional<ChildItTy> &Opt = VisitStack.back().second; in toNext() 146 VisitStack.pop_back(); in toNext() 147 } while (!VisitStack.empty()); in toNext() 164 return VisitStack == x.VisitStack; 186 VisitStack.pop_back(); in skipChildren() 187 if (!VisitStack.empty()) in skipChildren() [all …]
|
H A D | PostOrderIterator.h | 111 SmallVector<std::pair<NodeRef, ChildItTy>, 8> VisitStack; variable 115 VisitStack.push_back(std::make_pair(BB, GT::child_begin(BB))); in po_iterator() 124 VisitStack.push_back(std::make_pair(BB, GT::child_begin(BB))); in po_iterator() 134 while (VisitStack.back().second != GT::child_end(VisitStack.back().first)) { in traverseChild() 135 NodeRef BB = *VisitStack.back().second++; in traverseChild() 139 VisitStack.push_back(std::make_pair(BB, GT::child_begin(BB))); in traverseChild() 157 return VisitStack == x.VisitStack; 161 const NodeRef &operator*() const { return VisitStack.back().first; } 170 this->finishPostorder(VisitStack.back().first); 171 VisitStack.pop_back(); [all …]
|
/openbsd/gnu/llvm/llvm/lib/Analysis/ |
H A D | CFG.cpp | 41 SmallVector<std::pair<const BasicBlock *, const_succ_iterator>, 8> VisitStack; in FindFunctionBackedges() local 45 VisitStack.push_back(std::make_pair(BB, succ_begin(BB))); in FindFunctionBackedges() 48 std::pair<const BasicBlock *, const_succ_iterator> &Top = VisitStack.back(); in FindFunctionBackedges() 67 VisitStack.push_back(std::make_pair(BB, succ_begin(BB))); in FindFunctionBackedges() 70 InStack.erase(VisitStack.pop_back_val().first); in FindFunctionBackedges() 72 } while (!VisitStack.empty()); in FindFunctionBackedges()
|
/openbsd/gnu/llvm/clang/lib/Sema/ |
H A D | SemaDecl.cpp | 9425 SmallVector<const Decl *, 4> VisitStack; in checkIsValidOpenCLKernelParameter() local 9439 VisitStack.push_back(RecTy->getDecl()); in checkIsValidOpenCLKernelParameter() 9440 assert(VisitStack.back() && "First decl null?"); in checkIsValidOpenCLKernelParameter() 9443 const Decl *Next = VisitStack.pop_back_val(); in checkIsValidOpenCLKernelParameter() 9472 VisitStack.push_back(nullptr); in checkIsValidOpenCLKernelParameter() 9485 VisitStack.push_back(FD); in checkIsValidOpenCLKernelParameter() 9523 } while (!VisitStack.empty()); in checkIsValidOpenCLKernelParameter()
|