Home
last modified time | relevance | path

Searched refs:Task (Results 1 – 25 of 29) sorted by relevance

12

/freebsd-12.1/contrib/llvm/lib/Support/
H A DThreadPool.cpp35 PackagedTaskTy Task; in ThreadPool() local
53 Task = std::move(Tasks.front()); in ThreadPool()
57 Task(); in ThreadPool()
82 std::shared_future<void> ThreadPool::asyncImpl(TaskTy Task) { in asyncImpl() argument
84 PackagedTaskTy PackagedTask(std::move(Task)); in asyncImpl()
126 auto Task = std::move(Tasks.front()); in wait() local
128 Task(); in wait()
132 std::shared_future<void> ThreadPool::asyncImpl(TaskTy Task) { in asyncImpl() argument
134 auto Future = std::async(std::launch::deferred, std::move(Task)).share(); in asyncImpl()
H A DParallel.cpp38 Taskish(std::function<void()> Task) : Task(Task) {} in Taskish()
40 std::function<void()> Task; member
44 Self->Task(); in run()
100 auto Task = WorkStack.top(); in work() local
103 Task(); in work()
/freebsd-12.1/contrib/llvm/lib/LTO/
H A DCaching.cpp36 return [=](unsigned Task, StringRef Key) -> AddStreamFn { in localCache() argument
53 AddBuffer(Task, std::move(*MBOrErr)); in localCache()
75 unsigned Task; in localCache() member
79 unsigned Task) in localCache()
82 Task(Task) {} in localCache()
128 AddBuffer(Task, std::move(*MBOrErr)); in localCache()
132 return [=](size_t Task) -> std::unique_ptr<NativeObjectStream> { in localCache() argument
146 AddBuffer, std::move(*Temp), EntryPath.str(), Task); in localCache()
H A DLTOBackend.cpp68 Hook = [=](unsigned Task, const Module &M) { in addSaveTemps() argument
71 if (LinkerHook && !LinkerHook(Task, M)) in addSaveTemps()
80 if (Task != (unsigned)-1) in addSaveTemps()
81 PathPrefix += utostr(Task) + "."; in addSaveTemps()
300 unsigned Task, Module &Mod) { in codegen() argument
313 sys::path::append(DwoFile, std::to_string(Task) + ".dwo"); in codegen()
324 auto Stream = AddStream(Task); in codegen()
482 codegen(Conf, TM.get(), AddStream, Task, Mod); in thinBackend()
502 !Conf.PostInternalizeModuleHook(Task, Mod)) in thinBackend()
522 if (!opt(Conf, TM.get(), Task, Mod, /*IsThinLTO=*/true, in thinBackend()
[all …]
H A DLTO.cpp946 unsigned Task, BitcodeModule BM,
983 AddStreamFn AddStream, NativeObjectCache Cache, unsigned Task, in runThinLTOBackendThread() argument
996 return thinBackend(Conf, Task, AddStream, **MOrErr, CombinedIndex, in runThinLTOBackendThread()
1014 if (AddStreamFn CacheAddStream = Cache(Task, Key)) in runThinLTOBackendThread()
1021 unsigned Task, BitcodeModule BM, in start() argument
1039 AddStream, Cache, Task, BM, CombinedIndex, ImportList, ExportList, in start()
1113 unsigned Task, BitcodeModule BM, in start() argument
1254 unsigned Task = RegularLTO.ParallelCodeGenParallelismLevel; in runThinLTO() local
1256 if (Error E = BackendProc->start(Task, Mod.second, ImportLists[Mod.first], in runThinLTO()
1260 ++Task; in runThinLTO()
/freebsd-12.1/contrib/llvm/tools/lld/COFF/
H A DLTO.cpp120 Config->LTOCache, [&](size_t Task, std::unique_ptr<MemoryBuffer> MB) { in compile() argument
121 Files[Task] = std::move(MB); in compile()
125 [&](size_t Task) { in compile() argument
127 llvm::make_unique<raw_svector_ostream>(Buf[Task])); in compile()
H A DDriver.h124 void enqueueTask(std::function<void()> Task);
H A DDriver.cpp755 void LinkerDriver::enqueueTask(std::function<void()> Task) { in enqueueTask() argument
756 TaskQueue.push_back(std::move(Task)); in enqueueTask()
/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() function
87 Task<Callable> T{std::move(C), *this}; in async() argument
H A DThreadPool.h56 auto Task = in async() local
58 return asyncImpl(std::move(Task)); in async()
/freebsd-12.1/contrib/llvm/tools/lld/ELF/
H A DLTO.cpp107 C.PostInternalizeModuleHook = [](size_t Task, const Module &M) { in createConfig() argument
237 [&](size_t Task, std::unique_ptr<MemoryBuffer> MB) { in compile() argument
238 Files[Task] = std::move(MB); in compile()
242 [&](size_t Task) { in compile() argument
244 llvm::make_unique<raw_svector_ostream>(Buf[Task])); in compile()
/freebsd-12.1/contrib/llvm/tools/llvm-lto2/
H A Dllvm-lto2.cpp300 [&](size_t Task) -> std::unique_ptr<lto::NativeObjectStream> { in run() argument
301 std::string Path = OutputFilename + "." + utostr(Task); in run()
309 auto AddBuffer = [&](size_t Task, std::unique_ptr<MemoryBuffer> MB) { in run() argument
310 *AddStream(Task)->OS << MB->getBuffer(); in run()
/freebsd-12.1/contrib/llvm/include/llvm/LTO/
H A DCaching.h28 typedef std::function<void(unsigned Task, std::unique_ptr<MemoryBuffer> MB)>
H A DLTOBackend.h44 Error thinBackend(Config &C, unsigned Task, AddStreamFn AddStream, Module &M,
H A DLTO.h186 typedef std::function<std::unique_ptr<NativeObjectStream>(unsigned Task)>
201 typedef std::function<AddStreamFn(unsigned Task, StringRef Key)>
H A DConfig.h136 typedef std::function<bool(unsigned Task, const Module &)> ModuleHookFn;
/freebsd-12.1/sys/dev/mps/mpi/
H A Dmpi2_history.txt244 * 12-18-07 02.00.02 Modified Task Management Target Reset Method defines.
245 * 02-29-08 02.00.03 Added Query Task Set and Query Unit Attention.
249 * Control field Task Attribute flags.
257 * both SCSI IO Error Reply and SCSI Task Management Reply.
354 * 05-12-10 02.00.15 Marked Task Set Full Event as obsolete.
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DBypassSlowDivision.cpp459 FastDivInsertionTask Task(I, BypassWidths); in bypassSlowDivision() local
460 if (Value *Replacement = Task.getReplacement(PerBBDivCache)) { in bypassSlowDivision()
/freebsd-12.1/sys/dev/mpr/mpi/
H A Dmpi2_history.txt389 * 12-18-07 02.00.02 Modified Task Management Target Reset Method defines.
390 * 02-29-08 02.00.03 Added Query Task Set and Query Unit Attention.
394 * Control field Task Attribute flags.
402 * both SCSI IO Error Reply and SCSI Task Management Reply.
409 * 02-06-12 02.00.13 Added alternate defines for Task Priority / Command
516 * 05-12-10 02.00.15 Marked Task Set Full Event as obsolete.
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DBackendUtil.cpp1211 auto AddStream = [&](size_t Task) { in runThinLTOBackend() argument
1239 Conf.PreCodeGenModuleHook = [](size_t Task, const Module &Mod) { in runThinLTOBackend() argument
1244 Conf.PreCodeGenModuleHook = [&](size_t Task, const Module &Mod) { in runThinLTOBackend() argument
1250 Conf.PreCodeGenModuleHook = [&](size_t Task, const Module &Mod) { in runThinLTOBackend() argument
/freebsd-12.1/share/misc/
H A Dusb_hid_usages779 0x18F AL Task/Project Manager
797 0x1A1 AL Process/Task Manager
799 0x1A3 AL Next Task/Application
800 0x1A4 AL Previous Task/Application
801 0x1A5 AL Preemptive Halt Task/Application
/freebsd-12.1/contrib/wpa/hostapd/
H A DREADME231 networks that require some kind of security. Task group I (Security)
/freebsd-12.1/sys/dev/aic7xxx/
H A Daic79xx.reg170 * Task management function
1265 * Task Attribute Pointer
1276 * Task Management Flags Pointer
/freebsd-12.1/contrib/ntp/ntpsnmpd/
H A Dntpv4-mib.mib9 -- for the Internet Engineering Task Force (IETF)
/freebsd-12.1/contrib/openmp/runtime/src/
H A Dkmp_itt.inl671 /* Task reporting.

12