|
| bool | llvm::llvm_is_multithreaded () |
| | Returns true if LLVM is compiled with support for multi-threading, and false otherwise. More...
|
| |
| void | llvm::llvm_execute_on_thread (void(*UserFn)(void *), void *UserData, llvm::Optional< unsigned > StackSizeInBytes=llvm::None) |
| | Execute the given UserFn on a separate thread, passing it the provided UserData and waits for thread completion. More...
|
| |
| void | llvm::llvm_execute_on_thread_async (llvm::unique_function< void()> Func, llvm::Optional< unsigned > StackSizeInBytes=llvm::None) |
| | Schedule the given Func for execution on a separate thread, then return to the caller immediately. More...
|
| |
| template<typename Function , typename... Args> |
| void | llvm::call_once (once_flag &flag, Function &&F, Args &&... ArgList) |
| | Execute the function specified as a parameter once. More...
|
| |
| unsigned | llvm::heavyweight_hardware_concurrency () |
| | Get the amount of currency to use for tasks requiring significant memory or other resources. More...
|
| |
| unsigned | llvm::hardware_concurrency () |
| | Get the number of threads that the current program can execute concurrently. More...
|
| |
| uint64_t | llvm::get_threadid () |
| | Return the current thread id, as used in various OS system calls. More...
|
| |
| uint32_t | llvm::get_max_thread_name_length () |
| | Get the maximum length of a thread name on this platform. More...
|
| |
| void | llvm::set_thread_name (const Twine &Name) |
| | Set the name of the current thread. More...
|
| |
| void | llvm::get_thread_name (SmallVectorImpl< char > &Name) |
| | Get the name of the current thread. More...
|
| |
| SetThreadPriorityResult | llvm::set_thread_priority (ThreadPriority Priority) |
| |