Lines Matching full:heap
226 // pushed right back into the heap. For simplicity, those cases where the
229 std::pop_heap(Heap.begin(), Heap.end(), isLess);
230 while (updateAndCheckDecreased(Heap.back())) {
231 std::push_heap(Heap.begin(), Heap.end(), isLess);
232 std::pop_heap(Heap.begin(), Heap.end(), isLess);
244 size_t size() override { return Heap.size(); }
250 Heap.push_back(CB);
252 std::push_heap(Heap.begin(), Heap.end(), isLess);
260 CallBase *CB = Heap.pop_back_val();
270 llvm::erase_if(Heap, PredWrapper);
271 std::make_heap(Heap.begin(), Heap.end(), isLess);
275 SmallVector<CallBase *, 16> Heap;