Skip to content

Repository files navigation

NIR

A compiler infrastructure framework that utilizes a intermediate representation for the purpose of optimization and register allocation.

Note: this is an old project and is likely to be buggy, but has some potential.

Features

  • Greedy register allocation
  • Conversion to/out of SSA form
  • Optimization passes:
    • Phi reduction
    • Constant propagation
    • Dead code elimination
    • Redundancy elimination
  • Backends for:
    • x64 (floating-point capacity unimplemented as of Nov 2022)

About

A compiler infrastructure framework

Topics

Resources

Stars

6 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages