LLVM  8.0.1
Classes | Namespaces | Typedefs | Functions
ThreadSafeModule.h File Reference
#include "llvm/IR/LLVMContext.h"
#include "llvm/IR/Module.h"
#include "llvm/Support/Compiler.h"
#include <functional>
#include <memory>
#include <mutex>
Include dependency graph for ThreadSafeModule.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  llvm::orc::ThreadSafeContext
 An LLVMContext together with an associated mutex that can be used to lock the context to prevent concurrent access by other threads. More...
 
class  llvm::orc::ThreadSafeContext::Lock
 
class  llvm::orc::ThreadSafeModule
 An LLVM Module together with a shared ThreadSafeContext. More...
 

Namespaces

 llvm
 This class represents lattice values for constants.
 
 llvm::orc
 

Typedefs

using llvm::orc::GVPredicate = std::function< bool(const GlobalValue &)>
 
using llvm::orc::GVModifier = std::function< void(GlobalValue &)>
 

Functions

ThreadSafeModule llvm::orc::cloneToNewContext (ThreadSafeModule &TSMW, GVPredicate ShouldCloneDef=GVPredicate(), GVModifier UpdateClonedDefSource=GVModifier())
 Clones the given module on to a new context. More...