This repository has been archived on 2023-11-05. You can view files and clone it, but cannot push or open issues or pull requests.
wasm-micro-runtime/core/iwasm/include
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
..
aot_export.h Use LLVM new pass manager for wamrc (#978) 2022-01-24 11:10:37 +08:00
lib_export.h Apply clang-format for more src files and update spec test script (#775) 2021-10-08 17:47:11 +08:00
wasm_c_api.h Apply clang-format for more src files and update spec test script (#775) 2021-10-08 17:47:11 +08:00
wasm_export.h Refactor externref related APIs of reference types feature (#971) 2022-01-19 11:25:08 +08:00