Projects
About
Manipulate LLVM-IR in Pure Rust
Languages & RuntimesMeasured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalVicis
Manipulate LLVM IR in pure Rust (without LLVM).
Feel free to create issues and pull requests!
Requirements
- Vicis itself is not depending on llvm
- However, I sometimes use llvm 13 for testing. (e.g. parsing the llvm-ir clang-13 emitted by vicis)
Examples
- Parse and dump
*.llfile
cargo run --example parse FILE.ll
- Interpret
*.llfile
cargo run --example interpreter FILE.ll # --release
Compile LLVM IR into machine code
- The example illustrates the way for x86_64, but it's easy to do the same thing for aarch64 (although aarch64 backend is still heavily under development.)
Explore related projects
Loading…