Searched refs:ThreadCount (Results 1 – 15 of 15) sorted by relevance
27 ThreadPool::ThreadPool(unsigned ThreadCount) in ThreadPool() argument31 Threads.reserve(ThreadCount); in ThreadPool()32 for (unsigned ThreadID = 0; ThreadID < ThreadCount; ++ThreadID) { in ThreadPool()115 ThreadPool::ThreadPool(unsigned ThreadCount) in ThreadPool() argument117 if (ThreadCount) { in ThreadPool()118 errs() << "Warning: request a ThreadPool with " << ThreadCount in ThreadPool()
66 explicit ThreadPoolExecutor(unsigned ThreadCount = hardware_concurrency()) in ThreadPoolExecutor() argument67 : Done(ThreadCount) { in ThreadPoolExecutor()70 std::thread([&, ThreadCount] { in ThreadPoolExecutor()71 for (size_t i = 1; i < ThreadCount; ++i) { in ThreadPoolExecutor()
26 ThreadPool::ThreadPool(unsigned ThreadCount) in ThreadPool() argument30 Threads.reserve(ThreadCount); in ThreadPool()31 for (unsigned ThreadID = 0; ThreadID < ThreadCount; ++ThreadID) { in ThreadPool()118 ThreadPool::ThreadPool(unsigned ThreadCount) in ThreadPool() argument120 if (ThreadCount) { in ThreadPool()121 errs() << "Warning: request a ThreadPool with " << ThreadCount in ThreadPool()
56 int ThreadCount = 0; in splitCodeGen() local72 BCOSs[ThreadCount]->write(BC.begin(), BC.size()); in splitCodeGen()73 BCOSs[ThreadCount]->flush(); in splitCodeGen()76 llvm::raw_pwrite_stream *ThreadOS = OSs[ThreadCount++]; in splitCodeGen()
27 ThreadCount=0 key
47 ThreadPool(unsigned ThreadCount);
70 ThreadPool(unsigned ThreadCount);
549 unsigned ThreadCount = 1; in show() local551 ThreadCount = std::thread::hardware_concurrency(); in show()552 ThreadPool Pool(ThreadCount); in show()
333 unsigned ThreadCount = 0; in splitCodeGen() local367 std::move(BC), ThreadCount++); in splitCodeGen()
78 ThreadCount("threads", cl::init(llvm::heavyweight_hardware_concurrency()));983 ThreadPool Pool(ThreadCount); in run()
66 static cl::opt<int> ThreadCount("threads",774 ThreadPool Pool(ThreadCount); in run()
215 int ThreadCount(ThreadState *thr) { in ThreadCount() function
716 int ThreadCount(ThreadState *thr);
390 if (flags()->atexit_sleep_ms > 0 && ThreadCount(thr) > 1) in Finalize()