33 releases

new 0.0.33 Nov 23, 2021
0.0.31 Oct 6, 2020
0.0.28 Jul 16, 2020
0.0.16 Mar 30, 2020
Download history 20988/week @ 2021-08-09 23915/week @ 2021-08-16 25571/week @ 2021-08-23 23388/week @ 2021-08-30 23672/week @ 2021-09-06 28401/week @ 2021-09-13 24941/week @ 2021-09-20 25465/week @ 2021-09-27 25495/week @ 2021-10-04 27679/week @ 2021-10-11 27181/week @ 2021-10-18 23847/week @ 2021-10-25 25510/week @ 2021-11-01 27221/week @ 2021-11-08 31021/week @ 2021-11-15 25958/week @ 2021-11-22

111,481 downloads per month
Used in 96 crates (via cranelift-codegen)

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

~120–365KB