Graf
RepositoryFinancesDiscussionsDiscordZulip
  • Home
  • Tools
    • gc-as
    • gc-cc
    • gc-chk
    • gc-dis
    • gc-dot
    • gc-fmt
    • gc-ld
    • gc-mc
    • gc-opt
    • gc-run
Powered by GitBook

Copyright © Vezel Contributors

On this page
Edit on GitHub
Export as PDF

Home

Nextgc-as

Last updated 10 months ago

This is currently in-development vaporware.

Graf is a graph-oriented compiler infrastructure written in Zig. Chiefly, it provides the Graph Code intermediate representation, a simple optimization framework, and a machine code generator.

Graph Code is based on the , a novel IR that has a number of desirable properties such as explicit data and state dependencies, inherent static-single assignment form, strong canonicalization, and whole-program representation.

Optimization is primarily based on . In addition to being a natural fit for the RVSDG, this results in a cohesive framework for discovering rewrites and losslessly adding them to the IR, thus avoiding the phase-ordering problem.

RVSDG
e-graphs and equality saturation