regalloc2

Crates.ioregalloc2
lib.rsregalloc2
version0.10.2
sourcesrc
created_at2021-12-03 04:44:42.997675
updated_at2024-09-11 16:32:51.316957
descriptionBacktracking register allocator inspired from IonMonkey
homepage
repositoryhttps://github.com/bytecodealliance/regalloc2
max_upload_size
id491567
size469,567
wasmtime-publish (github:bytecodealliance:wasmtime-publish)

documentation

README

regalloc2: another register allocator

This is a register allocator that started life as, and is about 50% still, a port of IonMonkey's backtracking register allocator to Rust. In many regards, it has been generalized, optimized, and improved since the initial port.

In addition, it contains substantial amounts of testing infrastructure (fuzzing harnesses and checkers) that does not exist in the original IonMonkey allocator.

See the design overview for (much!) more detail on how the allocator works.

License

This crate is licensed under the Apache 2.0 License with LLVM Exception. This license text can be found in the file LICENSE.

Parts of the code are derived from regalloc.rs: in particular, src/checker.rs and src/domtree.rs. This crate has the same license as regalloc.rs, so the license on these files does not differ.

Commit count: 314

cargo fmt