Skip to content

ajlekcahdp4/llvm-api-gen

Repository files navigation

llvm-api-gen

Install dependencies

To install all needed dependencies run nix

nix develop

Build

meson setup build
meson compile -C build

Or using nix build:

nix build .

Run

To run compiled:

opt -load-pass-plugin build/lib/libllvm-api-gen.so -passes "llvm-api-gen" build/highlife.ll --disable-output

Or (if you used nix build)

opt -load-pass-plugin result/lib/libllvm-api-gen.so -passes "llvm-api-gen" build/highlife.ll --disable-output

About

Generate C++ llvm code from llvm IR

Resources

License

Stars

Watchers

Forks

Languages