Lines Matching refs:Storage
40 llvm::SmallVector<T, InlineCapacity> Storage; member in __anone57e3fde0111::PriorityQueue
46 bool empty() const { return Storage.empty(); } in empty()
50 unsigned Index = Storage.size(); in insert()
51 Storage.push_back(V); in insert()
54 T *data = Storage.data(); in insert()
67 T tmp = Storage[0]; in remove_min()
69 unsigned NewSize = Storage.size() - 1; in remove_min()
73 Storage[0] = Storage[NewSize]; in remove_min()
75 std::swap(Storage[0], Storage[NewSize]); in remove_min()
90 if (Precedes(Storage[L], Storage[Index])) in remove_min()
91 std::swap(Storage[L], Storage[Index]); in remove_min()
97 unsigned IndexToTest = (Precedes(Storage[L], Storage[R]) ? L : R); in remove_min()
100 if (!Precedes(Storage[IndexToTest], Storage[Index])) in remove_min()
104 std::swap(Storage[IndexToTest], Storage[Index]); in remove_min()
108 Storage.pop_back(); in remove_min()