Home
last modified time | relevance | path

Searched refs:threadPool (Results 1 – 5 of 5) sorted by relevance

/llvm-project-15.0.7/mlir/lib/Tools/mlir-opt/
H A DMlirOptMain.cpp101 llvm::ThreadPool *threadPool) { in processBuffer() argument
109 if (threadPool) in processBuffer()
110 context.setThreadPool(*threadPool); in processBuffer()
152 ThreadPool *threadPool = nullptr; in MlirOptMain() local
160 threadPool = &threadPoolCtx.getThreadPool(); in MlirOptMain()
167 threadPool); in MlirOptMain()
/llvm-project-15.0.7/mlir/include/mlir/IR/
H A DThreading.h69 llvm::ThreadPool &threadPool = context->getThreadPool(); in failableParallelForEach() local
70 llvm::ThreadPoolTaskGroup tasksGroup(threadPool); in failableParallelForEach()
71 size_t numActions = std::min(numElements, threadPool.getThreadCount()); in failableParallelForEach()
/llvm-project-15.0.7/mlir/lib/IR/
H A DMLIRContext.cpp167 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()
[all …]
/llvm-project-15.0.7/mlir/lib/ExecutionEngine/
H A DAsyncRuntime.cpp53 threadPool.wait(); // wait for the completion of all async tasks in ~AsyncRuntime()
62 llvm::ThreadPool &getThreadPool() { return threadPool; } in getThreadPool()
77 llvm::ThreadPool threadPool; member in mlir::runtime::__anonc7b155b40111::AsyncRuntime
/llvm-project-15.0.7/lld/MachO/
H A DWriter.cpp69 ThreadPool threadPool; member in __anona61fce6f0111::Writer
1055 threadFutures.emplace_back(threadPool.async( in finalizeLinkEditSegment()
1126 threadFutures.emplace_back(threadPool.async( in writeUuid()
1193 threadPool.async([&] { in run()