Skip to content

Jev directory

Jevopt

A C/C++ compiler driver that combines Clang's optimiser with Jev for function-call inlining at every discretionary call site. The project reports 58.2% code-size reduction on Statemate from the Embench benchmark; Linux with pinned LLVM 21.
Stars
5
Language
Python
License
GPL-3.0
Reading time
3 min
Published by
Community
Author
ramneet-singh
Last verified
Oct 2026

Highlights

  • uv run jevopt compile --verify produces a Clang -Oz reference binary, the Jev-guided binary and result.json holding the full decision trace.
  • The project reports 58.2% code-size reduction on Statemate from the Embench benchmark, with a dashboard published to GitHub Pages.
  • A passthrough command exercises the same LLVM plugin and channel but returns LLVM's own decisions, and must be byte-for-byte identical to regular Clang.
  • Targets Linux with a pinned LLVM 21 toolchain and needs Python 3.12+, uv, the LLVM 21 tools and a TypeSafe API key in .env.
  • No LTO support: the README explains LLVM's interactive ML inliner advisor only runs while compiling one translation unit, not at link time.

Quickstart

bash
uv run jevopt compile --source-dir examples/inline_probe --output-dir build/demo --verify

Watch out

Copy reviewed against the repo README on 2026-10-15; the captured text is truncated at the end of the Embench rerun section. Jev's outputs are stochastic, so reruns may not match the published figures, which come from the project's own Embench run rather than an independent evaluation.

Questions about this entry

Short answers drawn from the linked project or page.

From the Jev guides

Original write-ups on what this entry is for.

From the Jev AI model community

Posts from builders shipping with Jev right now.

Follow @typesafeai