Lines Matching refs:threadPool
167 llvm::ThreadPool *threadPool = nullptr; member in mlir::MLIRContextImpl
244 threadPool = ownedThreadPool.get(); in MLIRContextImpl()
514 assert(impl->threadPool); in disableMultithreading()
515 impl->threadPool = nullptr; in disableMultithreading()
518 } else if (!impl->threadPool) { in disableMultithreading()
522 impl->threadPool = impl->ownedThreadPool.get(); in disableMultithreading()
529 impl->threadPool = &pool; in setThreadPool()
536 assert(impl->threadPool && in getNumThreads()
538 return impl->threadPool->getThreadCount(); in getNumThreads()
547 assert(impl->threadPool && in getThreadPool()
549 return *impl->threadPool; in getThreadPool()