https://github.com/0dminnimda/llvm_custom_passes
https://github.com/0dminnimda/llvm_custom_passes
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/0dminnimda/llvm_custom_passes
- Owner: 0dminnimda
- License: mit
- Created: 2024-08-16T13:49:47.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-08-29T17:19:58.000Z (10 months ago)
- Last Synced: 2024-08-29T19:14:34.897Z (10 months ago)
- Language: C++
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# llvm_custom_passes
Here are some custom LLVM IR passes. It's made with a goal of exploration and experimentation.
## Build
```shell
cmake -S . -B build
cmake --build build
```## Run
```
opt -load-pass-plugin build/libCustomPasses.dll -passes=RPOPrint,InstrCount -disable-output tests/input.ll
```