#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

#304 in Emulators

Download history 13006/week @ 2024-03-14 12617/week @ 2024-03-21 10670/week @ 2024-03-28 8593/week @ 2024-04-04 10895/week @ 2024-04-11 10607/week @ 2024-04-18 10364/week @ 2024-04-25 10960/week @ 2024-05-02 8976/week @ 2024-05-09 10421/week @ 2024-05-16 8865/week @ 2024-05-23 8851/week @ 2024-05-30 9316/week @ 2024-06-06 7475/week @ 2024-06-13 6106/week @ 2024-06-20 4608/week @ 2024-06-27

28,953 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