Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DThreading.cpp41 unsigned llvm::ThreadPoolStrategy::compute_thread_count() const { in compute_thread_count() function in llvm::ThreadPoolStrategy
53 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 StdThreadPool()
193 int ThreadCount = S.compute_thread_count(); in SingleThreadExecutor()
H A DParallel.cpp52 ThreadCount = S.compute_thread_count(); in ThreadPoolExecutor()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A Draw_socket_stream.h114 int MaxBacklog = llvm::hardware_concurrency().compute_thread_count());
H A DThreading.h133 LLVM_ABI unsigned compute_thread_count() const;
/freebsd/contrib/llvm-project/llvm/lib/Support/Windows/
H A DThreading.inc285 if (compute_thread_count() <= MaxThreadsPerSocket)
288 assert(ThreadPoolNum < compute_thread_count() &&
292 return (ThreadPoolNum * Groups.size()) / compute_thread_count();
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DConcurrentHashtable.h106 size_t ThreadsNum = parallel::strategy.compute_thread_count(),
/freebsd/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/
H A DDependencyScanningFilesystem.cpp92 std::max(2u, llvm::hardware_concurrency().compute_thread_count() / 4); in DependencyScanningFilesystemSharedCache()
/freebsd/contrib/llvm-project/llvm/tools/llvm-dwarfdump/
H A Dllvm-dwarfdump.cpp922 hardware_concurrency(hardware_concurrency().compute_thread_count()); in main()
/freebsd/contrib/llvm-project/lld/ELF/
H A DDriver.cpp1841 } else if (parallel::strategy.compute_thread_count() > 16) { in readConfigs()
1847 ctx.arg.threadCount = parallel::strategy.compute_thread_count(); in readConfigs()
/freebsd/contrib/llvm-project/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp1031 NumThreads = std::min(hardware_concurrency().compute_thread_count(), in mergeInstrProfile()
/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DDarwin.cpp739 llvm::get_threadpool_strategy(Parallelism)->compute_thread_count(); in ConstructJob()