woodruffw / llvm-passgen

A small tool for quickly generating LLVM passes

Home Page:https://crates.io/crates/llvm-passgen

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

llvm-passgen

license CI

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.

About

A small tool for quickly generating LLVM passes

https://crates.io/crates/llvm-passgen

License:Other


Languages

Language:Rust 48.6%Language:C++ 34.5%Language:Shell 10.3%Language:CMake 6.6%