Lines Matching refs:numShards

60 constexpr size_t MergeNoTailSection::numShards;  member in MergeNoTailSection
3025 bit_floor(std::min<size_t>(config->threadCount, numShards)); in computeEntryPool()
3026 const size_t shift = 32 - countr_zero(numShards); in computeEntryPool()
3028 DenseMap<CachedHashStringRef, size_t> maps[numShards]; in computeEntryPool()
3069 uint32_t offsets[numShards]; in computeEntryPool()
3070 parallelFor(0, numShards, [&](size_t shard) { in computeEntryPool()
3086 parallelFor(1, numShards, [&](size_t shard) { in computeEntryPool()
3097 parallelFor(0, numShards, [&](size_t shard) { in computeEntryPool()
3116 return {offsets[numShards - 1], num}; in computeEntryPool()
3427 constexpr size_t numShards = 32; in createSymbols() local
3429 llvm::bit_floor(std::min<size_t>(config->threadCount, numShards)); in createSymbols()
3430 const size_t shift = 32 - llvm::countr_zero(numShards); in createSymbols()
3432 std::make_unique<DenseMap<CachedHashStringRef, size_t>[]>(numShards); in createSymbols()
3433 auto symbols = std::make_unique<SmallVector<GdbSymbol, 0>[]>(numShards); in createSymbols()
3455 for (ArrayRef<GdbSymbol> v : ArrayRef(symbols.get(), numShards)) in createSymbols()
3463 MutableArrayRef(symbols.get(), numShards)) in createSymbols()
3889 parallelFor(0, numShards, in writeTo()
3903 for (size_t i = 0; i < numShards; ++i) in finalizeContents()
3909 llvm::bit_floor(std::min<size_t>(config->threadCount, numShards)); in finalizeContents()
3926 for (size_t i = 0; i < numShards; ++i) { in finalizeContents()