nokiiaa / NIR

A compiler infrastructure framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:MIT License


Languages

Language:C# 100.0%