wasm-micro-runtime/core/iwasm/common
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 Apply clang-format for more src files and update spec test script (#775) 2021-10-08 17:47:11 +08:00
iwasm_common.cmake Implement XIP feature and enable ARC target support (#694) 2021-08-12 17:44:39 +08:00
SConscript Add ia32 support and fix compiling issue for RT-Thread (#730) 2021-09-07 10:20:14 +08:00
wasm_application.c Refactor externref related APIs of reference types feature (#971) 2022-01-19 11:25:08 +08:00
wasm_c_api_internal.h Refactor externref related APIs of reference types feature (#971) 2022-01-19 11:25:08 +08:00
wasm_c_api.c Refactor Orc JIT to enable lazy compilation (#974) 2022-01-20 18:40:13 +08:00
wasm_exec_env.c [source debug] refine some code in source debugging (#856) 2021-12-06 10:25:38 +08:00
wasm_exec_env.h Refactor externref related APIs of reference types feature (#971) 2022-01-19 11:25:08 +08:00
wasm_memory.c Apply clang-format for more src files and update spec test script (#775) 2021-10-08 17:47:11 +08:00
wasm_memory.h Apply clang-format for more src files and update spec test script (#775) 2021-10-08 17:47:11 +08:00
wasm_native.c Refactor externref related APIs of reference types feature (#971) 2022-01-19 11:25:08 +08:00
wasm_native.h Apply clang-format for more src files and update spec test script (#775) 2021-10-08 17:47:11 +08:00
wasm_runtime_common.c Refactor Orc JIT to enable lazy compilation (#974) 2022-01-20 18:40:13 +08:00
wasm_runtime_common.h Refactor externref related APIs of reference types feature (#971) 2022-01-19 11:25:08 +08:00
wasm_shared_memory.c Refine codes and fix several issues (#882) 2021-12-10 18:13:17 +08:00
wasm_shared_memory.h Apply clang-format for more src files and update spec test script (#775) 2021-10-08 17:47:11 +08:00