Lines Matching refs:work_list
51 static bool FindInWorkList(const std::vector<block_info>& work_list,
128 bool CFA<BB>::FindInWorkList(const std::vector<block_info>& work_list, in FindInWorkList() argument
130 for (const auto b : work_list) { in FindInWorkList()
146 std::vector<block_info> work_list; in DepthFirstTraversal() local
147 work_list.reserve(10); in DepthFirstTraversal()
149 work_list.push_back({entry, std::begin(*successor_func(entry))}); in DepthFirstTraversal()
153 while (!work_list.empty()) { in DepthFirstTraversal()
154 block_info& top = work_list.back(); in DepthFirstTraversal()
157 work_list.pop_back(); in DepthFirstTraversal()
161 if (FindInWorkList(work_list, child->id())) { in DepthFirstTraversal()
166 work_list.emplace_back( in DepthFirstTraversal()