Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A Dthread.h39 template <typename CalleeTuple> static void GenericThreadProxy(void *Ptr) { in GenericThreadProxy()
40 std::unique_ptr<CalleeTuple> Callee(static_cast<CalleeTuple *>(Ptr)); in GenericThreadProxy()
54 template <typename CalleeTuple> static void *ThreadProxy(void *Ptr) { in ThreadProxy()
55 GenericThreadProxy<CalleeTuple>(Ptr); in ThreadProxy()
63 template <typename CalleeTuple>
65 GenericThreadProxy<CalleeTuple>(Ptr);
127 typedef std::tuple<std::decay_t<Function>, std::decay_t<Args>...> CalleeTuple; in thread() typedef
128 std::unique_ptr<CalleeTuple> Callee( in thread()
129 new CalleeTuple(std::forward<Function>(f), std::forward<Args>(args)...)); in thread()
131 Thread = llvm_execute_on_thread_impl(ThreadProxy<CalleeTuple>, Callee.get(), in thread()