#register #algorithm #modular #allocator #allocation #cranelift #failure

regalloc

Modular register allocation algorithms

34 releases

0.0.34 Jan 19, 2022
0.0.33 Nov 23, 2021
0.0.32 Oct 20, 2021
0.0.31 Oct 6, 2020
0.0.16 Mar 30, 2020

#271 in Emulators

Download history 7336/week @ 2023-12-18 4405/week @ 2023-12-25 5539/week @ 2024-01-01 11644/week @ 2024-01-08 9791/week @ 2024-01-15 8925/week @ 2024-01-22 16422/week @ 2024-01-29 9587/week @ 2024-02-05 10971/week @ 2024-02-12 9792/week @ 2024-02-19 9460/week @ 2024-02-26 13281/week @ 2024-03-04 13703/week @ 2024-03-11 13144/week @ 2024-03-18 12104/week @ 2024-03-25 9163/week @ 2024-04-01

49,210 downloads per month

Apache-2.0 WITH LLVM-exception

730KB
13K SLoC

regalloc.rs

A work-in-progress modular register allocation algorithm, implemented so as to be used in Cranelift.

WARNING: This is not production ready, you should expect API changes, failures, etc.


lib.rs:

Main file / top-level module for regalloc library.

We have tried hard to make the library's interface as simple as possible, yet flexible enough that the allocators it implements can provide good quality allocations in reasonable time. Nevertheless, there is still significant semantic complexity in parts of the interface. If you intend to use this library in your own code, you would be well advised to read the comments in this file very carefully.

Dependencies