Lines Matching refs:Queue
238 Queue.push_back(SU); in push()
594 std::vector<SUnit *>::iterator Best = Queue.begin(); in pop()
597 for (auto I = std::next(Queue.begin()), E = Queue.end(); I != E; ++I) { in pop()
607 for (auto I = std::next(Queue.begin()), E = Queue.end(); I != E; ++I) in pop()
613 if (Best != std::prev(Queue.end())) in pop()
614 std::swap(*Best, Queue.back()); in pop()
616 Queue.pop_back(); in pop()
623 assert(!Queue.empty() && "Queue is empty!"); in remove()
624 std::vector<SUnit *>::iterator I = find(Queue, SU); in remove()
625 if (I != std::prev(Queue.end())) in remove()
626 std::swap(*I, Queue.back()); in remove()
628 Queue.pop_back(); in remove()