• Home
  • Raw
  • Download

Lines Matching full:tables

1 //===--- MultiOnDiskHashTable.h - Merged set of hash tables -----*- C++ -*-===//
13 // Multiple hash tables from different files are implicitly merged to improve
30 /// \brief A collection of on-disk hash tables, merged when relevant for performance.
33 /// A handle to a file, used when overriding tables.
67 /// \brief The current set of on-disk and merged tables.
72 TableVector Tables; variable
74 /// \brief Files corresponding to overridden tables that we've not yet
88 /// \brief The current set of on-disk tables.
89 table_range tables() { in tables() function
90 auto Begin = Tables.begin(), End = Tables.end(); in tables()
99 return Tables.empty() ? nullptr : Table::getFromOpaqueValue(*Tables.begin()) in getMergedTable()
103 /// \brief Delete all our current on-disk tables.
105 for (auto *T : tables()) in clear()
109 Tables.clear(); in clear()
123 Tables.erase(std::remove_if(tables().begin().getCurrent(), Tables.end(), in removeOverriddenTables()
125 Tables.end()); in removeOverriddenTables()
134 // Read in all the tables and merge them together. in condense()
135 // FIXME: Be smarter about which tables we merge. in condense()
136 for (auto *ODT : tables()) { in condense()
155 Tables.clear(); in condense()
156 Tables.push_back(Table(Merged).getOpaqueValue()); in condense()
166 : Tables(std::move(O.Tables)), in MultiOnDiskHashTable()
168 O.Tables.clear(); in MultiOnDiskHashTable()
174 Tables = std::move(O.Tables);
175 O.Tables.clear();
208 Tables.push_back(NewTable.getOpaqueValue());
218 if (Tables.size() > static_cast<unsigned>(Info::MaxTables)) in find()
232 for (auto *ODT : tables()) { in find()
257 for (auto *ODT : tables()) { in findAll()