Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [ORC] Don't call isa<> on a null value. | Lang Hames | 2018-06-26 | 1 | -1/+1 |
| | | | | | | This should fix the recent builder failures in the test-global-ctors.ll testcase. llvm-svn: 335680 | ||||
* | [ORC] Fix a missing return value. | Lang Hames | 2018-06-26 | 1 | -0/+2 |
| | | | | llvm-svn: 335677 | ||||
* | [ORC] Add LLJIT and LLLazyJIT, and replace OrcLazyJIT in LLI with LLLazyJIT. | Lang Hames | 2018-06-26 | 1 | -3/+147 |
| | | | | | | | | | | | | | | | | | | | LLJIT is a prefabricated ORC based JIT class that is meant to be the go-to replacement for MCJIT. Unlike OrcMCJITReplacement (which will continue to be supported) it is not API or bug-for-bug compatible, but targets the same use cases: Simple, non-lazy compilation and execution of LLVM IR. LLLazyJIT extends LLJIT with support for function-at-a-time lazy compilation, similar to what was provided by LLVM's original (now long deprecated) JIT APIs. This commit also contains some simple utility classes (CtorDtorRunner2, LocalCXXRuntimeOverrides2, JITTargetMachineBuilder) to support LLJIT and LLLazyJIT. Both of these classes are works in progress. Feedback from JIT clients is very welcome! llvm-svn: 335670 | ||||
* | [ORC] Re-apply r327566 with a fix for test-global-ctors.ll. | Lang Hames | 2018-03-15 | 1 | -1/+1 |
| | | | | | | Also clang-formats the patch, which I should have done the first time around. llvm-svn: 327594 | ||||
* | [Orc] Add support classes for inspecting and running C++ static ctor/dtors, and | Lang Hames | 2015-04-02 | 1 | -0/+102 |
use these to add support for C++ static ctors/dtors to the Orc-lazy JIT in LLI. Replace the trivial_retval_1 regression test - the new 'hello' test is covering strictly more code. llvm-svn: 233885 |