Lines Matching full:tables
1 //===- MultiOnDiskHashTable.h - Merged set of hash tables -------*- C++ -*-===//
12 // Multiple hash tables from different files are implicitly merged to improve
39 /// A collection of on-disk hash tables, merged when relevant for performance.
42 /// A handle to a file, used when overriding tables.
81 /// The current set of on-disk and merged tables.
86 TableVector Tables; variable
88 /// Files corresponding to overridden tables that we've not yet
104 /// The current set of on-disk tables.
105 table_range tables() { in tables() function
106 auto Begin = Tables.begin(), End = Tables.end(); in tables()
115 return Tables.empty() ? nullptr : Table::getFromOpaqueValue(*Tables.begin()) in getMergedTable()
119 /// Delete all our current on-disk tables.
121 for (auto *T : tables()) in clear()
125 Tables.clear(); in clear()
139 Tables.erase(std::remove_if(tables().begin().getCurrent(), Tables.end(), in removeOverriddenTables()
141 Tables.end()); in removeOverriddenTables()
150 // Read in all the tables and merge them together. in condense()
151 // FIXME: Be smarter about which tables we merge. in condense()
152 for (auto *ODT : tables()) { in condense()
171 Tables.clear(); in condense()
172 Tables.push_back(Table(Merged).getOpaqueValue()); in condense()
179 : Tables(std::move(O.Tables)), in MultiOnDiskHashTable()
181 O.Tables.clear(); in MultiOnDiskHashTable()
188 Tables = std::move(O.Tables);
189 O.Tables.clear();
224 Tables.push_back(NewTable.getOpaqueValue());
234 if (Tables.size() > static_cast<unsigned>(Info::MaxTables)) in find()
248 for (auto *ODT : tables()) { in find()
273 for (auto *ODT : tables()) { in findAll()