LLVM  6.0.0svn
Namespaces | Macros | Typedefs | Functions
Threading.h File Reference
#include "llvm/ADT/SmallVector.h"
#include "llvm/Config/llvm-config.h"
#include "llvm/Support/Compiler.h"
#include <ciso646>
#include <functional>
#include <mutex>
Include dependency graph for Threading.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


 Compute iterated dominance frontiers using a linear time algorithm.




typedef std::once_flag llvm::once_flag


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, unsigned RequestedStackSize=0)
 llvm_execute_on_thread - Execute the given UserFn on a separate thread, passing it the provided UserData and waits for thread completion. 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...

Macro Definition Documentation



Definition at line 34 of file Threading.h.