wasm-micro-runtime/core
Wenyong Huang 7636d86a76
Refactor Orc JIT to enable lazy compilation (#974)
Refactor LLVM Orc JIT to actually enable the lazy compilation and speedup
the launching process:
  https://llvm.org/docs/ORCv2.html#laziness

Main modifications:
- Create LLVM module for each wasm function, wrap it with thread safe module
  so that the modules can be compiled parallelly
- Lookup function from aot module instance's func_ptrs but not directly call the
  function to decouple the module relationship
- Compile the function when it is first called and hasn't been compiled
- Create threads to pre-compile the WASM functions parallelly when loading
- Set Lazy JIT as default, update document and build/test scripts
2022-01-20 18:40:13 +08:00
..
app-framework Fix sensor framework timer issue and update sensor sample (#917) 2021-12-28 08:44:19 +08:00
app-mgr Apply clang-format for more source files (#795) 2021-10-21 13:58:34 +08:00
deps Import SIMD feature and add some workload samples (#438) 2020-11-05 18:15:15 +08:00
iwasm Refactor Orc JIT to enable lazy compilation (#974) 2022-01-20 18:40:13 +08:00
shared Refactor Orc JIT to enable lazy compilation (#974) 2022-01-20 18:40:13 +08:00
config.h Refactor Orc JIT to enable lazy compilation (#974) 2022-01-20 18:40:13 +08:00