wasm-micro-runtime/core/iwasm/aot
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
..
arch ESP IDF fixes (#927) 2022-01-05 12:50:17 +08:00
debug Apply clang-format for more src files and update spec test script (#775) 2021-10-08 17:47:11 +08:00
aot_intrinsic.c Don't use constant float table on arm and riscv (#903) 2021-12-20 11:10:52 +08:00
aot_intrinsic.h Don't use constant float table on arm and riscv (#903) 2021-12-20 11:10:52 +08:00
aot_loader.c Refactor Orc JIT to enable lazy compilation (#974) 2022-01-20 18:40:13 +08:00
aot_reloc.h Add new E_TYPE_XIP to indicate XIP mode (#874) 2021-12-08 18:43:08 +08:00
aot_runtime.c Refactor Orc JIT to enable lazy compilation (#974) 2022-01-20 18:40:13 +08:00
aot_runtime.h Add WASI ABI compatibility check for multi-module (#913) 2021-12-29 11:04:36 +08:00
iwasm_aot.cmake Implement source debugging for interpreter and AOT (#769) 2021-09-29 13:36:46 +08:00
SConscript Add ia32 support and fix compiling issue for RT-Thread (#730) 2021-09-07 10:20:14 +08:00