| /openbsd/src/gnu/llvm/llvm/include/llvm/Support/ |
| D | thread.h | 103 static unsigned hardware_concurrency() { in hardware_concurrency() function 104 return std::thread::hardware_concurrency(); in hardware_concurrency() 191 static unsigned hardware_concurrency() { 192 return std::thread::hardware_concurrency(); 237 static unsigned hardware_concurrency() { return 1; }; in hardware_concurrency() function
|
| D | Threading.h | 185 inline ThreadPoolStrategy hardware_concurrency(unsigned ThreadCount = 0) {
|
| D | ThreadPool.h | 58 ThreadPool(ThreadPoolStrategy S = hardware_concurrency());
|
| /openbsd/src/gnu/llvm/compiler-rt/lib/gwp_asan/tests/ |
| D | thread_contention.cpp | 50 if (std::thread::hardware_concurrency() < NumThreads) { in runThreadContentionTest() 51 NumThreads = std::thread::hardware_concurrency(); in runThreadContentionTest()
|
| D | recoverable.cpp | 185 if (std::thread::hardware_concurrency() < kNumThreads) { in runInterThreadThrashingSingleAlloc()
|
| /openbsd/src/gnu/llvm/llvm/lib/Support/ |
| D | Threading.cpp | 96 return llvm::hardware_concurrency(); in get_threadpool_strategy() 108 ThreadPoolStrategy S = llvm::hardware_concurrency(); in get_threadpool_strategy()
|
| D | Parallel.cpp | 51 explicit ThreadPoolExecutor(ThreadPoolStrategy S = hardware_concurrency()) { in ThreadPoolExecutor()
|
| /openbsd/src/gnu/llvm/libcxx/src/ |
| D | thread.cpp | 74 thread::hardware_concurrency() noexcept in hardware_concurrency() function in thread 95 # warning hardware_concurrency not yet implemented in hardware_concurrency()
|
| /openbsd/src/gnu/llvm/llvm/lib/CodeGen/ |
| D | ParallelCG.cpp | 55 ThreadPool CodegenThreadPool(hardware_concurrency(OSs.size())); in splitCodeGen()
|
| /openbsd/src/gnu/llvm/clang/lib/Tooling/ |
| D | AllTUsExecution.cpp | 118 llvm::ThreadPool Pool(llvm::hardware_concurrency(ThreadCount)); in execute()
|
| /openbsd/src/gnu/llvm/llvm/examples/SpeculativeJIT/ |
| D | SpeculativeJIT.cpp | 139 ThreadPool CompileThreads{llvm::hardware_concurrency(NumThreads)};
|
| /openbsd/src/gnu/llvm/libcxx/include/ |
| D | thread | 44 static unsigned hardware_concurrency() noexcept; 272 static unsigned hardware_concurrency() _NOEXCEPT;
|
| /openbsd/src/gnu/llvm/compiler-rt/lib/fuzzer/ |
| D | FuzzerUtil.cpp | 220 unsigned N = std::thread::hardware_concurrency(); in NumberOfCpuCores()
|
| /openbsd/src/gnu/llvm/llvm/tools/llvm-reduce/deltas/ |
| D | Delta.cpp | 234 std::make_unique<ThreadPool>(hardware_concurrency(NumJobs)); in runDeltaPass()
|
| /openbsd/src/gnu/llvm/llvm/lib/Support/Unix/ |
| D | Threading.inc | 310 // Guard against std::thread::hardware_concurrency() returning 0. 311 if (unsigned Val = std::thread::hardware_concurrency())
|
| /openbsd/src/gnu/llvm/llvm/tools/llvm-cov/ |
| D | CoverageExporterJson.cpp | 232 ThreadPoolStrategy S = hardware_concurrency(Options.NumThreads); in renderFiles()
|
| D | CoverageReport.cpp | 391 ThreadPoolStrategy S = hardware_concurrency(Options.NumThreads); in prepareFileReports()
|
| /openbsd/src/gnu/llvm/clang/lib/Tooling/DependencyScanning/ |
| D | DependencyScanningFilesystem.cpp | 92 std::max(2u, llvm::hardware_concurrency().compute_thread_count() / 4); in DependencyScanningFilesystemSharedCache()
|
| /openbsd/src/gnu/llvm/llvm/tools/llvm-gsymutil/ |
| D | llvm-gsymutil.cpp | 258 NumThreads > 0 ? NumThreads : std::thread::hardware_concurrency(); in handleObjectFile()
|
| /openbsd/src/gnu/llvm/llvm/lib/DebugInfo/GSYM/ |
| D | DwarfTransformer.cpp | 468 ThreadPool pool(hardware_concurrency(NumThreads)); in convert()
|
| /openbsd/src/gnu/llvm/clang/docs/ |
| D | ThinLTO.rst | 111 ``std::thread::hardware_concurrency`` number of threads in parallel.
|
| /openbsd/src/gnu/llvm/llvm/tools/dsymutil/ |
| D | dsymutil.cpp | 672 ThreadPoolStrategy S = hardware_concurrency( in main()
|
| /openbsd/src/gnu/llvm/clang/tools/clang-scan-deps/ |
| D | ClangScanDeps.cpp | 716 llvm::ThreadPool Pool(llvm::hardware_concurrency(NumThreads)); in main()
|
| /openbsd/src/gnu/llvm/llvm/lib/ExecutionEngine/Orc/ |
| D | LLJIT.cpp | 895 std::make_unique<ThreadPool>(hardware_concurrency(S.NumCompileThreads)); in LLJIT()
|
| /openbsd/src/gnu/llvm/lld/wasm/ |
| D | Driver.cpp | 492 parallel::strategy = hardware_concurrency(threads); in readConfigs()
|