llir/llvm
Library for interacting with LLVM IR in pure Go. observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4366
- days_rel: n/a
- days_push: 635
- n_releases_24m: 0
Adoption not part of the score
1274 stars · 85 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A pure Go library for parsing, building, and manipulating LLVM IR without any C bindings or cgo. It provides an asm package for parsing LLVM IR assembly files and an ir package for constructing and operating on IR modules programmatically.
Use cases
- parse llvm ir assembly files in go
- generate llvm ir from a custom language compiler
- analyze and transform llvm ir modules
- build a compiler backend targeting llvm ir in pure go
- decompile llvm ir to go source
- inspect llvm bitcode-free ir without installing llvm
When to choose
- you need to work with LLVM IR in Go without compiling LLVM or using cgo
- you are writing a compiler frontend that emits LLVM IR
- you want to parse, analyze, or pretty-print .ll assembly files programmatically
When to avoid
- you need LLVM's optimization passes or code generation - this library only handles IR representation, not the LLVM toolchain
- you need to parse LLVM bitcode (.bc) binary files rather than textual IR
- you are not working in Go
Facets
library · maturity active
parser compiler developer-tools compilers programming-languages developer-tools go cross-platform llvm-ir pure-go compiler-infrastructure ir-manipulation no-cgo
2 sources
- readme: https://github.com/llir/llvm · fetched 2026-08-28 · e4d788e4cee0
- homepage: https://llir.github.io/document/ · fetched 2026-08-29 · cb0c73eb33d1
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| llir/llvm | main | 23 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem