Crates.io | sway-ir |
lib.rs | sway-ir |
version | 0.66.4 |
source | src |
created_at | 2022-01-19 02:01:03.117916 |
updated_at | 2024-11-03 16:30:12.799106 |
description | Sway intermediate representation. |
homepage | https://fuel.network/ |
repository | https://github.com/FuelLabs/sway |
max_upload_size | |
id | 516487 |
size | 821,486 |
This crate is a work-in-progress library for providing an SSA style IR for the Sway middle end.
It is modelled after LLVM to a degree, and is designed to simplify the optimization phase of the compiler pipeline.
It is currently lacking several features and documentation, not to mention optimization passes, but is already capable of being targeted by Sway for codegen and passes the test suite.