Lines Matching refs:Queue
83 Queue.push_back(SU); in push()
119 std::vector<SUnit *>::iterator Best = Queue.begin(); in pop()
120 for (std::vector<SUnit *>::iterator I = std::next(Queue.begin()), in pop()
121 E = Queue.end(); I != E; ++I) in pop()
125 if (Best != std::prev(Queue.end())) in pop()
126 std::swap(*Best, Queue.back()); in pop()
127 Queue.pop_back(); in pop()
132 assert(!Queue.empty() && "Queue is empty!"); in remove()
133 std::vector<SUnit *>::iterator I = find(Queue, SU); in remove()
134 assert(I != Queue.end() && "Queue doesn't contain the SU being removed!"); in remove()
135 if (I != std::prev(Queue.end())) in remove()
136 std::swap(*I, Queue.back()); in remove()
137 Queue.pop_back(); in remove()
143 dbgs() << " Number of Queue Entries: " << Queue.size() << "\n"; in dump()
144 for (const SUnit *SU : Queue) { in dump()