Home
last modified time | relevance | path

Searched defs:Task (Results 1 – 13 of 13) sorted by relevance

/freebsd-12.1/contrib/llvm/include/llvm/Support/
H A DTaskQueue.h41 template <typename Callable> struct Task { struct
43 explicit Task(Callable C, TaskQueue &Parent) in Task() argument
60 Parent->completeTask(); in operator() argument
65 TaskQueue *Parent; argument
87 Task<Callable> T{std::move(C), *this}; in async() argument
H A DThreadPool.h56 auto Task = in async() local
/freebsd-12.1/contrib/llvm/lib/Support/
H A DThreadPool.cpp35 PackagedTaskTy Task; in ThreadPool() local
82 std::shared_future<void> ThreadPool::asyncImpl(TaskTy Task) { in asyncImpl()
126 auto Task = std::move(Tasks.front()); in wait() local
132 std::shared_future<void> ThreadPool::asyncImpl(TaskTy Task) { in asyncImpl()
H A DParallel.cpp40 std::function<void()> Task; member
100 auto Task = WorkStack.top(); in work() local
/freebsd-12.1/contrib/llvm/lib/LTO/
H A DCaching.cpp36 return [=](unsigned Task, StringRef Key) -> AddStreamFn { in localCache()
75 unsigned Task; in localCache() member
132 return [=](size_t Task) -> std::unique_ptr<NativeObjectStream> { in localCache()
H A DLTOBackend.cpp68 Hook = [=](unsigned Task, const Module &M) { in addSaveTemps()
284 bool opt(Config &Conf, TargetMachine *TM, unsigned Task, Module &Mod, in opt()
300 unsigned Task, Module &Mod) { in codegen()
463 Error lto::thinBackend(Config &Conf, unsigned Task, AddStreamFn AddStream, in thinBackend()
H A DLTO.cpp983 AddStreamFn AddStream, NativeObjectCache Cache, unsigned Task, in runThinLTOBackendThread()
1021 unsigned Task, BitcodeModule BM, in start()
1113 unsigned Task, BitcodeModule BM, in start()
1254 unsigned Task = RegularLTO.ParallelCodeGenParallelismLevel; in runThinLTO() local
/freebsd-12.1/contrib/llvm/tools/lld/ELF/
H A DLTO.cpp107 C.PostInternalizeModuleHook = [](size_t Task, const Module &M) { in createConfig()
237 [&](size_t Task, std::unique_ptr<MemoryBuffer> MB) { in compile()
242 [&](size_t Task) { in compile()
/freebsd-12.1/contrib/llvm/tools/lld/COFF/
H A DLTO.cpp120 Config->LTOCache, [&](size_t Task, std::unique_ptr<MemoryBuffer> MB) { in compile()
125 [&](size_t Task) { in compile()
H A DDriver.cpp755 void LinkerDriver::enqueueTask(std::function<void()> Task) { in enqueueTask()
/freebsd-12.1/contrib/llvm/tools/llvm-lto2/
H A Dllvm-lto2.cpp300 [&](size_t Task) -> std::unique_ptr<lto::NativeObjectStream> { in run()
309 auto AddBuffer = [&](size_t Task, std::unique_ptr<MemoryBuffer> MB) { in run()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DBackendUtil.cpp1211 auto AddStream = [&](size_t Task) { in runThinLTOBackend()
1239 Conf.PreCodeGenModuleHook = [](size_t Task, const Module &Mod) { in runThinLTOBackend()
1244 Conf.PreCodeGenModuleHook = [&](size_t Task, const Module &Mod) { in runThinLTOBackend()
1250 Conf.PreCodeGenModuleHook = [&](size_t Task, const Module &Mod) { in runThinLTOBackend()
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DBypassSlowDivision.cpp459 FastDivInsertionTask Task(I, BypassWidths); in bypassSlowDivision() local