#register #algorithm #allocator #modular #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

#364 in Emulators

Download history 6092/week @ 2024-07-24 6126/week @ 2024-07-31 7118/week @ 2024-08-07 5655/week @ 2024-08-14 6237/week @ 2024-08-21 7020/week @ 2024-08-28 5347/week @ 2024-09-04 4323/week @ 2024-09-11 4671/week @ 2024-09-18 5937/week @ 2024-09-25 4339/week @ 2024-10-02 4148/week @ 2024-10-09 4543/week @ 2024-10-16 4428/week @ 2024-10-23 4711/week @ 2024-10-30 2885/week @ 2024-11-06

17,613 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