Lines Matching refs:Queue
81 Queue.push_back(SU); in push()
117 std::vector<SUnit *>::iterator Best = Queue.begin(); in pop()
118 for (std::vector<SUnit *>::iterator I = std::next(Queue.begin()), in pop()
119 E = Queue.end(); I != E; ++I) in pop()
123 if (Best != std::prev(Queue.end())) in pop()
124 std::swap(*Best, Queue.back()); in pop()
125 Queue.pop_back(); in pop()
130 assert(!Queue.empty() && "Queue is empty!"); in remove()
131 std::vector<SUnit *>::iterator I = find(Queue, SU); in remove()
132 assert(I != Queue.end() && "Queue doesn't contain the SU being removed!"); in remove()
133 if (I != std::prev(Queue.end())) in remove()
134 std::swap(*I, Queue.back()); in remove()
135 Queue.pop_back(); in remove()
141 dbgs() << " Number of Queue Entries: " << Queue.size() << "\n"; in dump()
142 for (const SUnit *SU : Queue) { in dump()