Lines Matching refs:WorkList
164 SmallVector<SUnit*, 8> WorkList; in setDepthDirty() local
165 WorkList.push_back(this); in setDepthDirty()
167 SUnit *SU = WorkList.pop_back_val(); in setDepthDirty()
173 WorkList.push_back(SuccSU); in setDepthDirty()
175 } while (!WorkList.empty()); in setDepthDirty()
180 SmallVector<SUnit*, 8> WorkList; in setHeightDirty() local
181 WorkList.push_back(this); in setHeightDirty()
183 SUnit *SU = WorkList.pop_back_val(); in setHeightDirty()
189 WorkList.push_back(PredSU); in setHeightDirty()
191 } while (!WorkList.empty()); in setHeightDirty()
219 SmallVector<SUnit*, 8> WorkList; in ComputeDepth() local
220 WorkList.push_back(this); in ComputeDepth()
222 SUnit *Cur = WorkList.back(); in ComputeDepth()
234 WorkList.push_back(PredSU); in ComputeDepth()
239 WorkList.pop_back(); in ComputeDepth()
246 } while (!WorkList.empty()); in ComputeDepth()
252 SmallVector<SUnit*, 8> WorkList; in ComputeHeight() local
253 WorkList.push_back(this); in ComputeHeight()
255 SUnit *Cur = WorkList.back(); in ComputeHeight()
267 WorkList.push_back(SuccSU); in ComputeHeight()
272 WorkList.pop_back(); in ComputeHeight()
279 } while (!WorkList.empty()); in ComputeHeight()
425 std::vector<SUnit*> WorkList; in InitDAGTopologicalSorting() local
426 WorkList.reserve(DAGSize); in InitDAGTopologicalSorting()
443 WorkList.push_back(SU); in InitDAGTopologicalSorting()
448 while (!WorkList.empty()) { in InitDAGTopologicalSorting()
449 SUnit *SU = WorkList.back(); in InitDAGTopologicalSorting()
450 WorkList.pop_back(); in InitDAGTopologicalSorting()
458 WorkList.push_back(SU); in InitDAGTopologicalSorting()
507 std::vector<const SUnit*> WorkList; in DFS() local
508 WorkList.reserve(SUnits.size()); in DFS()
510 WorkList.push_back(SU); in DFS()
512 SU = WorkList.back(); in DFS()
513 WorkList.pop_back(); in DFS()
523 WorkList.push_back(SU->Succs[I].getSUnit()); in DFS()
526 } while (!WorkList.empty()); in DFS()