Skip to content
This repository has been archived by the owner on Sep 20, 2022. It is now read-only.
/ alive Public archive
forked from nunoplopes/alive

Alive: Automatic LLVM's Instcombine Verifier

License

Notifications You must be signed in to change notification settings

JanekvO/alive

 
 

Repository files navigation

Alive: Automatic LLVM's Instcombine Verifier

Alive is a tool that can prove the correctness of InstCombine optimizations specified in a high-level language.

Requirements

Alive requires Python 2.7.x and Z3 4.3.2 (or later), which can be obtained from https://github.com/Z3Prover/z3 (use the unstable branch)

Usage

./alive.py file.opt

The 'tests' directory has multiple examples of optimizations.

More Information

Please see this paper for more details about Alive:

http://www.cs.utah.edu/~regehr/papers/pldi15.pdf

Online Version

Alive is also available online at: http://rise4fun.com/Alive

Generating Benchmarks

Alive will automatically generate benchmarks in SMT-LIB 2 format when the 'bench' directory exists and when python is run in non-optimized mode (the default). These benchmarks are over the bit-vector theory and may or may not have quantifiers.

About

Alive: Automatic LLVM's Instcombine Verifier

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 51.4%
  • Shell 26.0%
  • M4 11.6%
  • Makefile 9.8%
  • C++ 1.1%
  • LLVM 0.1%