|
LLVM
7.0.0
|
An extended version of LLJIT that supports lazy function-at-a-time compilation of LLVM IR. More...
#include "llvm/ExecutionEngine/Orc/LLJIT.h"
Public Member Functions | |
| void | setLazyCompileTransform (IRTransformLayer2::TransformFunction Transform) |
| Set an IR transform (e.g. More... | |
| Error | addLazyIRModule (VSO &V, std::unique_ptr< Module > M) |
| Add a module to be lazily compiled to VSO V. More... | |
| Error | addLazyIRModule (std::unique_ptr< Module > M) |
| Add a module to be lazily compiled to the main VSO. More... | |
Public Member Functions inherited from llvm::orc::LLJIT | |
| ExecutionSession & | getExecutionSession () |
| Returns a reference to the ExecutionSession for this JIT instance. More... | |
| VSO & | getMainVSO () |
| Returns a reference to the VSO representing the JIT'd main program. More... | |
| Error | defineAbsolute (StringRef Name, JITEvaluatedSymbol Address) |
| Convenience method for defining an absolute symbol. More... | |
| Error | addIRModule (VSO &V, std::unique_ptr< Module > M) |
| Adds an IR module to the given VSO. More... | |
| Error | addIRModule (std::unique_ptr< Module > M) |
| Adds an IR module to the Main VSO. More... | |
| Expected< JITEvaluatedSymbol > | lookupLinkerMangled (VSO &V, StringRef Name) |
| Look up a symbol in VSO V by the symbol's linker-mangled name (to look up symbols based on their IR name use the lookup function instead). More... | |
| Expected< JITEvaluatedSymbol > | lookupLinkerMangled (StringRef Name) |
| Look up a symbol in the main VSO by the symbol's linker-mangled name (to look up symbols based on their IR name use the lookup function instead). More... | |
| Expected< JITEvaluatedSymbol > | lookup (VSO &V, StringRef UnmangledName) |
| Look up a symbol in VSO V based on its IR symbol name. More... | |
| Expected< JITEvaluatedSymbol > | lookup (StringRef UnmangledName) |
| Look up a symbol in the main VSO based on its IR symbol name. More... | |
| Error | runConstructors () |
| Runs all not-yet-run static constructors. More... | |
| Error | runDestructors () |
| Runs all not-yet-run static destructors. More... | |
Static Public Member Functions | |
| static Expected< std::unique_ptr< LLLazyJIT > > | Create (std::unique_ptr< ExecutionSession > ES, std::unique_ptr< TargetMachine > TM, DataLayout DL, LLVMContext &Ctx) |
| Create an LLLazyJIT instance. More... | |
Static Public Member Functions inherited from llvm::orc::LLJIT | |
| static Expected< std::unique_ptr< LLJIT > > | Create (std::unique_ptr< ExecutionSession > ES, std::unique_ptr< TargetMachine > TM, DataLayout DL) |
| Create an LLJIT instance. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from llvm::orc::LLJIT | |
| LLJIT (std::unique_ptr< ExecutionSession > ES, std::unique_ptr< TargetMachine > TM, DataLayout DL) | |
| std::shared_ptr< RuntimeDyld::MemoryManager > | getMemoryManager (VModuleKey K) |
| std::string | mangle (StringRef UnmangledName) |
| Error | applyDataLayout (Module &M) |
| void | recordCtorDtors (Module &M) |
Protected Attributes inherited from llvm::orc::LLJIT | |
| std::unique_ptr< ExecutionSession > | ES |
| VSO & | Main |
| std::unique_ptr< TargetMachine > | TM |
| DataLayout | DL |
| RTDyldObjectLinkingLayer2 | ObjLinkingLayer |
| IRCompileLayer2 | CompileLayer |
| CtorDtorRunner2 | CtorRunner |
| CtorDtorRunner2 | DtorRunner |
An extended version of LLJIT that supports lazy function-at-a-time compilation of LLVM IR.
Add a module to be lazily compiled to the main VSO.
Definition at line 123 of file LLJIT.h.
References function, and llvm::orc::LLJIT::Main.
|
static |
Create an LLLazyJIT instance.
Definition at line 87 of file LLJIT.cpp.
References llvm::orc::createLocalCompileCallbackManager(), llvm::orc::createLocalIndirectStubsManagerBuilder(), llvm::inconvertibleErrorCode(), and llvm::Triple::str().
|
inline |
1.8.13