Home
last modified time | relevance | path

Searched refs:compute_thread_count (Results 1 – 11 of 11) sorted by relevance

/openbsd-src/gnu/llvm/llvm/lib/Support/
H A DThreading.cpp43 unsigned llvm::ThreadPoolStrategy::compute_thread_count() const { in compute_thread_count() function in llvm::ThreadPoolStrategy
55 unsigned llvm::ThreadPoolStrategy::compute_thread_count() const { in compute_thread_count() function in llvm::ThreadPoolStrategy
H A DThreadPool.cpp36 : Strategy(S), MaxThreadCount(S.compute_thread_count()) {} in ThreadPool()
193 int ThreadCount = S.compute_thread_count(); in ThreadPool()
H A DParallel.cpp52 unsigned ThreadCount = S.compute_thread_count(); in ThreadPoolExecutor()
/openbsd-src/gnu/llvm/llvm/lib/Support/Windows/
H A DThreading.inc284 if (compute_thread_count() <= MaxThreadsPerSocket)
287 assert(ThreadPoolNum < compute_thread_count() &&
291 return (ThreadPoolNum * Groups.size()) / compute_thread_count();
/openbsd-src/gnu/llvm/llvm/include/llvm/Support/
H A DThreading.h134 unsigned compute_thread_count() const;
/openbsd-src/gnu/llvm/clang/lib/Tooling/DependencyScanning/
H A DDependencyScanningFilesystem.cpp92 std::max(2u, llvm::hardware_concurrency().compute_thread_count() / 4); in DependencyScanningFilesystemSharedCache()
/openbsd-src/gnu/llvm/lld/ELF/
H A DOutputSections.cpp359 parallel::strategy.compute_thread_count()); in maybeCompress()
H A DDriver.cpp1421 config->threadCount = parallel::strategy.compute_thread_count(); in readConfigs()
/openbsd-src/gnu/llvm/lld/MachO/
H A DWriter.cpp1177 unsigned chunkCount = parallel::strategy.compute_thread_count() * 10; in writeUuid()
/openbsd-src/gnu/llvm/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp416 NumThreads = std::min(hardware_concurrency().compute_thread_count(), in mergeInstrProfile()
/openbsd-src/gnu/llvm/clang/lib/Driver/ToolChains/
H A DDarwin.cpp677 llvm::get_threadpool_strategy(Parallelism)->compute_thread_count(); in ConstructJob()