Lines Matching defs:GHashCell
936 class GHashCell;
938 GHashCell *table = nullptr;
953 GHashCell newCell);
957 class GHashCell {
965 GHashCell() = default;
973 GHashCell(bool isItem, uint32_t tpiSrcIdx, uint32_t ghashIdx)
980 explicit GHashCell(uint64_t data) : data(data) {}
1003 friend inline bool operator<(const GHashCell &l, const GHashCell &r) {
1020 table = new GHashCell[newTableSize];
1021 memset(table, 0, newTableSize * sizeof(GHashCell));
1026 GHashCell newCell) {
1044 auto *cellPtr = reinterpret_cast<std::atomic<GHashCell> *>(&table[idx]);
1045 GHashCell oldCell(cellPtr->load());
1124 ghashState.table.insert(ctx, ghash, GHashCell(isItem, tpiSrcIdx, i));
1141 std::vector<GHashCell> entries;
1142 for (const GHashCell &cell : ArrayRef(ghashState.table.table, tableSize)) {
1146 parallelSort(entries, std::less<GHashCell>());
1153 auto mid = llvm::lower_bound(entries, GHashCell(true, 0, 0));
1178 GHashCell(cell.isItem(), cell.getTpiSrcIdx(), pdbTypeIndex);
1218 GHashCell cell = g->table.table[ghashCellIdx];