Searched refs:ThreadCount (Results 1 – 7 of 7) sorted by relevance
26 ThreadPool::ThreadPool(unsigned ThreadCount) in ThreadPool() argument30 Threads.reserve(ThreadCount); in ThreadPool()31 for (unsigned ThreadID = 0; ThreadID < ThreadCount; ++ThreadID) { in ThreadPool()114 ThreadPool::ThreadPool(unsigned ThreadCount) in ThreadPool() argument116 if (ThreadCount) { in ThreadPool()117 errs() << "Warning: request a ThreadPool with " << ThreadCount in ThreadPool()
42 explicit ThreadPoolExecutor(unsigned ThreadCount = hardware_concurrency()) { in ThreadPoolExecutor() argument45 Threads.reserve(ThreadCount); in ThreadPoolExecutor()48 Threads[0] = std::thread([&, ThreadCount] { in ThreadPoolExecutor()49 for (unsigned i = 1; i < ThreadCount; ++i) { in ThreadPoolExecutor()
55 int ThreadCount = 0; in splitCodeGen() local71 BCOSs[ThreadCount]->write(BC.begin(), BC.size()); in splitCodeGen()72 BCOSs[ThreadCount]->flush(); in splitCodeGen()75 llvm::raw_pwrite_stream *ThreadOS = OSs[ThreadCount++]; in splitCodeGen()
27 ThreadCount=0 key
46 ThreadPool(unsigned ThreadCount);
379 unsigned ThreadCount = 0; in splitCodeGen() local413 std::move(BC), ThreadCount++); in splitCodeGen()
85 ThreadCount("threads", cl::init(llvm::heavyweight_hardware_concurrency()));1040 ThreadPool Pool(ThreadCount); in run()