Lines Matching refs:Queue
233 Queue.push_back(SU); in push()
589 std::vector<SUnit *>::iterator Best = Queue.begin(); in pop()
592 for (auto I = std::next(Queue.begin()), E = Queue.end(); I != E; ++I) { in pop()
602 for (auto I = std::next(Queue.begin()), E = Queue.end(); I != E; ++I) in pop()
608 if (Best != std::prev(Queue.end())) in pop()
609 std::swap(*Best, Queue.back()); in pop()
611 Queue.pop_back(); in pop()
618 assert(!Queue.empty() && "Queue is empty!"); in remove()
619 std::vector<SUnit *>::iterator I = find(Queue, SU); in remove()
620 if (I != std::prev(Queue.end())) in remove()
621 std::swap(*I, Queue.back()); in remove()
623 Queue.pop_back(); in remove()