11 releases (6 breaking)

Uses new Rust 2024

new 0.8.0 May 4, 2025
0.7.0 Apr 4, 2025
0.6.2 Feb 25, 2025
0.5.0 Sep 8, 2024
0.2.0 May 31, 2024

#694 in Programming languages

Download history 81/week @ 2025-02-02 42/week @ 2025-02-09 132/week @ 2025-02-16 131/week @ 2025-02-23 28/week @ 2025-03-02 95/week @ 2025-03-30 37/week @ 2025-04-06

132 downloads per month

Apache-2.0

565KB
13K SLoC

LLVM Dialect for pliron

This crate provides the following functionality:

  1. Dialect definitions of LLVM ops, types and attributes.
  2. A wrapper around llvm-sys converting to and from our LLVM dialect. This necessitates that LLVM be installed locally.

We currently support LLVM-20, and hence LLVM-20 needs to be on your computer. On Ubuntu, this means, you require the libllvm20 and libpolly-20-dev packages.

pliron-llvm also provides an llvm-opt tool.

Note: Implementation of the LLVM dialect is in-progress, not yet complete.

Dependencies

~5–7MB
~128K SLoC