#llvm #llvm-pass #pass #cargo-build #passgen

app llvm-passgen

A tool for quickly creating LLVM pass skeletons

5 releases (3 breaking)

0.4.0 Apr 4, 2022
0.3.0 Feb 28, 2022
0.2.1 Jun 4, 2020
0.2.0 Sep 29, 2019
0.1.0 Sep 26, 2019

#1392 in Development tools

21 downloads per month

Custom license

11KB
176 lines

llvm-passgen

license Build Status

A tool for rapidly creating LLVM pass skeletons.

Overview

cargo install llvm-passgen
# or, build locally with `cargo build`

Usage

llvm-passgen --kind module Foo
cd Foo/build
cmake ..
make

If cmake .. fails, you may need to set LLVM_DIR to the LLVM CMake configuration:

LLVM_DIR=/path/to/llvm/lib/cmake cmake ..

See llvm-passgen --help for a full list of options.

Dependencies

~7MB
~117K SLoC