Searched refs:ThreadPool (Results 1 – 18 of 18) sorted by relevance
23 ThreadPool::ThreadPool(ThreadPoolStrategy S) in ThreadPool() function in ThreadPool69 void ThreadPool::wait() { in wait()75 bool ThreadPool::isWorkerThread() const { in isWorkerThread()83 std::shared_future<void> ThreadPool::asyncImpl(TaskTy Task) { in asyncImpl()101 ThreadPool::~ThreadPool() { in ~ThreadPool()114 ThreadPool::ThreadPool(ThreadPoolStrategy S) in ThreadPool() function in ThreadPool122 void ThreadPool::wait() { in wait()131 std::shared_future<void> ThreadPool::asyncImpl(TaskTy Task) { in asyncImpl()141 ThreadPool::~ThreadPool() { wait(); } in ~ThreadPool()
37 class ThreadPool {46 ThreadPool(ThreadPoolStrategy S = hardware_concurrency());49 ~ThreadPool();
69 TaskQueue(ThreadPool &Scheduler) : Scheduler(Scheduler) { (void)Scheduler; } in TaskQueue()124 ThreadPool &Scheduler;
56 ThreadPool CodegenThreadPool(hardware_concurrency(OSs.size())); in splitCodeGen()
118 llvm::ThreadPool Pool(llvm::hardware_concurrency(ThreadCount)); in execute()
240 ThreadPool Pool(S); in renderFiles()
398 ThreadPool Pool(S); in prepareFileReports()
1071 ThreadPool Pool(S); in doShow()
209 std::unique_ptr<ThreadPool> CompileThreads;
90 llvm::ThreadPool pool(llvm::optimal_concurrency(units_to_index.size())); in Index()
1014 ThreadPool Pool; in run()1146 ThreadPool Pool(heavyweight_hardware_concurrency(ThreadCount)); in run()
426 ThreadPool CodegenThreadPool( in splitCodeGen()
1178 ThreadPool BackendThreadPool;
453 ThreadPool pool(hardware_concurrency(NumThreads)); in convert()
760 std::make_unique<ThreadPool>(hardware_concurrency(S.NumCompileThreads)); in LLJIT()
356 ThreadPool Pool(hardware_concurrency(NumThreads)); in mergeInstrProfile()
2573 ThreadPool Pool(hardware_concurrency(2)); in link()
1017 SRCS_MIW+= Support/ThreadPool.cpp