wasm-micro-runtime/core/iwasm/common
Wenyong Huang 5631a2aa18
Use LLVM new pass manager for wamrc (#978)
Use LLVM new pass manager for wamrc to replace the legacy pass manger,
so as to gain better performance and reduce the compilation time.
Reference links:
- https://llvm.org/docs/NewPassManager.html
- https://blog.llvm.org/posts/2021-03-26-the-new-pass-manager

And add an option to use the legacy pm mode when building wamrc:
cmake .. -DWAMR_BUILD_LLVM_LEGACY_PM=1

For JIT mode, keep it unchanged as it only runs several function passes and
using new pass manager will increase the compilation time.

And refactor the codes of applying LLVM passes.
2022-01-24 11:10:37 +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 Use LLVM new pass manager for wamrc (#978) 2022-01-24 11:10:37 +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