Home
last modified time | relevance | path

Searched refs:hardware_concurrency (Results 1 – 25 of 31) sorted by relevance

12

/openbsd/src/gnu/llvm/llvm/include/llvm/Support/
Dthread.h103 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
DThreading.h185 inline ThreadPoolStrategy hardware_concurrency(unsigned ThreadCount = 0) {
DThreadPool.h58 ThreadPool(ThreadPoolStrategy S = hardware_concurrency());
/openbsd/src/gnu/llvm/compiler-rt/lib/gwp_asan/tests/
Dthread_contention.cpp50 if (std::thread::hardware_concurrency() < NumThreads) { in runThreadContentionTest()
51 NumThreads = std::thread::hardware_concurrency(); in runThreadContentionTest()
Drecoverable.cpp185 if (std::thread::hardware_concurrency() < kNumThreads) { in runInterThreadThrashingSingleAlloc()
/openbsd/src/gnu/llvm/llvm/lib/Support/
DThreading.cpp96 return llvm::hardware_concurrency(); in get_threadpool_strategy()
108 ThreadPoolStrategy S = llvm::hardware_concurrency(); in get_threadpool_strategy()
DParallel.cpp51 explicit ThreadPoolExecutor(ThreadPoolStrategy S = hardware_concurrency()) { in ThreadPoolExecutor()
/openbsd/src/gnu/llvm/libcxx/src/
Dthread.cpp74 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/
DParallelCG.cpp55 ThreadPool CodegenThreadPool(hardware_concurrency(OSs.size())); in splitCodeGen()
/openbsd/src/gnu/llvm/clang/lib/Tooling/
DAllTUsExecution.cpp118 llvm::ThreadPool Pool(llvm::hardware_concurrency(ThreadCount)); in execute()
/openbsd/src/gnu/llvm/llvm/examples/SpeculativeJIT/
DSpeculativeJIT.cpp139 ThreadPool CompileThreads{llvm::hardware_concurrency(NumThreads)};
/openbsd/src/gnu/llvm/libcxx/include/
Dthread44 static unsigned hardware_concurrency() noexcept;
272 static unsigned hardware_concurrency() _NOEXCEPT;
/openbsd/src/gnu/llvm/compiler-rt/lib/fuzzer/
DFuzzerUtil.cpp220 unsigned N = std::thread::hardware_concurrency(); in NumberOfCpuCores()
/openbsd/src/gnu/llvm/llvm/tools/llvm-reduce/deltas/
DDelta.cpp234 std::make_unique<ThreadPool>(hardware_concurrency(NumJobs)); in runDeltaPass()
/openbsd/src/gnu/llvm/llvm/lib/Support/Unix/
DThreading.inc310 // Guard against std::thread::hardware_concurrency() returning 0.
311 if (unsigned Val = std::thread::hardware_concurrency())
/openbsd/src/gnu/llvm/llvm/tools/llvm-cov/
DCoverageExporterJson.cpp232 ThreadPoolStrategy S = hardware_concurrency(Options.NumThreads); in renderFiles()
DCoverageReport.cpp391 ThreadPoolStrategy S = hardware_concurrency(Options.NumThreads); in prepareFileReports()
/openbsd/src/gnu/llvm/clang/lib/Tooling/DependencyScanning/
DDependencyScanningFilesystem.cpp92 std::max(2u, llvm::hardware_concurrency().compute_thread_count() / 4); in DependencyScanningFilesystemSharedCache()
/openbsd/src/gnu/llvm/llvm/tools/llvm-gsymutil/
Dllvm-gsymutil.cpp258 NumThreads > 0 ? NumThreads : std::thread::hardware_concurrency(); in handleObjectFile()
/openbsd/src/gnu/llvm/llvm/lib/DebugInfo/GSYM/
DDwarfTransformer.cpp468 ThreadPool pool(hardware_concurrency(NumThreads)); in convert()
/openbsd/src/gnu/llvm/clang/docs/
DThinLTO.rst111 ``std::thread::hardware_concurrency`` number of threads in parallel.
/openbsd/src/gnu/llvm/llvm/tools/dsymutil/
Ddsymutil.cpp672 ThreadPoolStrategy S = hardware_concurrency( in main()
/openbsd/src/gnu/llvm/clang/tools/clang-scan-deps/
DClangScanDeps.cpp716 llvm::ThreadPool Pool(llvm::hardware_concurrency(NumThreads)); in main()
/openbsd/src/gnu/llvm/llvm/lib/ExecutionEngine/Orc/
DLLJIT.cpp895 std::make_unique<ThreadPool>(hardware_concurrency(S.NumCompileThreads)); in LLJIT()
/openbsd/src/gnu/llvm/lld/wasm/
DDriver.cpp492 parallel::strategy = hardware_concurrency(threads); in readConfigs()

12