Lines Matching refs:Queue
233 Queue.push_back(SU); in push()
587 std::vector<SUnit *>::iterator Best = Queue.begin(); in pop()
590 for (auto I = std::next(Queue.begin()), E = Queue.end(); I != E; ++I) { in pop()
600 for (auto I = std::next(Queue.begin()), E = Queue.end(); I != E; ++I) in pop()
606 if (Best != std::prev(Queue.end())) in pop()
607 std::swap(*Best, Queue.back()); in pop()
609 Queue.pop_back(); in pop()
616 assert(!Queue.empty() && "Queue is empty!"); in remove()
617 std::vector<SUnit *>::iterator I = find(Queue, SU); in remove()
618 if (I != std::prev(Queue.end())) in remove()
619 std::swap(*I, Queue.back()); in remove()
621 Queue.pop_back(); in remove()