Lines Matching refs:WorkList
180 SmallVector<SUnit*, 8> WorkList; in setDepthDirty() local
181 WorkList.push_back(this); in setDepthDirty()
183 SUnit *SU = WorkList.pop_back_val(); in setDepthDirty()
189 WorkList.push_back(SuccSU); in setDepthDirty()
191 } while (!WorkList.empty()); in setDepthDirty()
196 SmallVector<SUnit*, 8> WorkList; in setHeightDirty() local
197 WorkList.push_back(this); in setHeightDirty()
199 SUnit *SU = WorkList.pop_back_val(); in setHeightDirty()
205 WorkList.push_back(PredSU); in setHeightDirty()
207 } while (!WorkList.empty()); in setHeightDirty()
235 SmallVector<SUnit*, 8> WorkList; in ComputeDepth() local
236 WorkList.push_back(this); in ComputeDepth()
238 SUnit *Cur = WorkList.back(); in ComputeDepth()
250 WorkList.push_back(PredSU); in ComputeDepth()
255 WorkList.pop_back(); in ComputeDepth()
262 } while (!WorkList.empty()); in ComputeDepth()
268 SmallVector<SUnit*, 8> WorkList; in ComputeHeight() local
269 WorkList.push_back(this); in ComputeHeight()
271 SUnit *Cur = WorkList.back(); in ComputeHeight()
283 WorkList.push_back(SuccSU); in ComputeHeight()
288 WorkList.pop_back(); in ComputeHeight()
295 } while (!WorkList.empty()); in ComputeHeight()
461 std::vector<SUnit*> WorkList; in InitDAGTopologicalSorting() local
462 WorkList.reserve(DAGSize); in InitDAGTopologicalSorting()
469 WorkList.push_back(ExitSU); in InitDAGTopologicalSorting()
481 WorkList.push_back(SU); in InitDAGTopologicalSorting()
486 while (!WorkList.empty()) { in InitDAGTopologicalSorting()
487 SUnit *SU = WorkList.back(); in InitDAGTopologicalSorting()
488 WorkList.pop_back(); in InitDAGTopologicalSorting()
497 WorkList.push_back(SU); in InitDAGTopologicalSorting()
546 std::vector<const SUnit*> WorkList; in DFS() local
547 WorkList.reserve(SUnits.size()); in DFS()
549 WorkList.push_back(SU); in DFS()
551 SU = WorkList.back(); in DFS()
552 WorkList.pop_back(); in DFS()
565 WorkList.push_back(SU->Succs[I].getSUnit()); in DFS()
568 } while (!WorkList.empty()); in DFS()