Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/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.cpp37 : Strategy(S), MaxThreadCount(S.compute_thread_count()) {} in ThreadPool()
195 int ThreadCount = S.compute_thread_count(); in ThreadPool()
H A DParallel.cpp52 ThreadCount = S.compute_thread_count(); in ThreadPoolExecutor()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/
H A Draw_socket_stream.h44 int MaxBacklog = llvm::hardware_concurrency().compute_thread_count());
H A DThreading.h134 unsigned compute_thread_count() const;
/freebsd-14.2/contrib/llvm-project/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();
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/
H A DConcurrentHashtable.h105 size_t ThreadsNum = parallel::strategy.compute_thread_count(),
/freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/
H A DDependencyScanningFilesystem.cpp92 std::max(2u, llvm::hardware_concurrency().compute_thread_count() / 4); in DependencyScanningFilesystemSharedCache()
/freebsd-14.2/contrib/llvm-project/lld/ELF/
H A DOutputSections.cpp363 parallel::strategy.compute_thread_count()); in maybeCompress()
H A DDriver.cpp1590 } else if (parallel::strategy.compute_thread_count() > 16) { in readConfigs()
1596 config->threadCount = parallel::strategy.compute_thread_count(); in readConfigs()
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp886 NumThreads = std::min(hardware_concurrency().compute_thread_count(), in mergeInstrProfile()
/freebsd-14.2/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DDarwin.cpp718 llvm::get_threadpool_strategy(Parallelism)->compute_thread_count(); in ConstructJob()