reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
114 bool empty() const override { return Queue.empty(); }
lib/CodeGen/SelectionDAG/ResourcePriorityQueue.cpp234 Queue.push_back(SU); 590 std::vector<SUnit *>::iterator Best = Queue.begin(); 593 for (auto I = std::next(Queue.begin()), E = Queue.end(); I != E; ++I) { 593 for (auto I = std::next(Queue.begin()), E = Queue.end(); I != E; ++I) { 603 for (auto I = std::next(Queue.begin()), E = Queue.end(); I != E; ++I) 603 for (auto I = std::next(Queue.begin()), E = Queue.end(); I != E; ++I) 609 if (Best != std::prev(Queue.end())) 610 std::swap(*Best, Queue.back()); 612 Queue.pop_back(); 619 assert(!Queue.empty() && "Queue is empty!"); 620 std::vector<SUnit *>::iterator I = find(Queue, SU); 621 if (I != std::prev(Queue.end())) 622 std::swap(*I, Queue.back()); 624 Queue.pop_back();