├── .github └── workflows │ └── rust.yml ├── .gitignore ├── Cargo.toml ├── LICENSE ├── README.md ├── deny.toml ├── doc ├── FASTALLOC.md ├── GENERAL.md ├── ION.md └── TODO ├── fuzz ├── .gitignore ├── Cargo.toml └── fuzz_targets │ ├── domtree.rs │ ├── fastalloc.rs │ ├── ion.rs │ └── moves.rs ├── regalloc2-tool ├── Cargo.toml └── src │ └── main.rs └── src ├── cfg.rs ├── checker.rs ├── domtree.rs ├── fastalloc ├── iter.rs ├── lru.rs ├── mod.rs ├── tests.rs └── vregset.rs ├── fuzzing ├── domtree.rs ├── fastalloc.rs ├── func.rs ├── ion.rs ├── mod.rs └── moves.rs ├── index.rs ├── indexset.rs ├── ion ├── data_structures.rs ├── dump.rs ├── liveranges.rs ├── merge.rs ├── mod.rs ├── moves.rs ├── process.rs ├── redundant_moves.rs ├── reg_traversal.rs ├── requirement.rs └── spill.rs ├── lib.rs ├── moves.rs ├── postorder.rs ├── serialize.rs └── ssa.rs /.github/workflows/rust.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytecodealliance/regalloc2/HEAD/.github/workflows/rust.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | Cargo.lock 2 | target 3 | .*.swp 4 | *~ 5 | -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytecodealliance/regalloc2/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytecodealliance/regalloc2/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytecodealliance/regalloc2/HEAD/README.md -------------------------------------------------------------------------------- /deny.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytecodealliance/regalloc2/HEAD/deny.toml -------------------------------------------------------------------------------- /doc/FASTALLOC.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytecodealliance/regalloc2/HEAD/doc/FASTALLOC.md -------------------------------------------------------------------------------- /doc/GENERAL.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytecodealliance/regalloc2/HEAD/doc/GENERAL.md -------------------------------------------------------------------------------- /doc/ION.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytecodealliance/regalloc2/HEAD/doc/ION.md -------------------------------------------------------------------------------- /doc/TODO: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytecodealliance/regalloc2/HEAD/doc/TODO -------------------------------------------------------------------------------- /fuzz/.gitignore: -------------------------------------------------------------------------------- 1 | target 2 | corpus 3 | artifacts 4 | -------------------------------------------------------------------------------- /fuzz/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytecodealliance/regalloc2/HEAD/fuzz/Cargo.toml -------------------------------------------------------------------------------- /fuzz/fuzz_targets/domtree.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytecodealliance/regalloc2/HEAD/fuzz/fuzz_targets/domtree.rs -------------------------------------------------------------------------------- /fuzz/fuzz_targets/fastalloc.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytecodealliance/regalloc2/HEAD/fuzz/fuzz_targets/fastalloc.rs -------------------------------------------------------------------------------- /fuzz/fuzz_targets/ion.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytecodealliance/regalloc2/HEAD/fuzz/fuzz_targets/ion.rs -------------------------------------------------------------------------------- /fuzz/fuzz_targets/moves.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytecodealliance/regalloc2/HEAD/fuzz/fuzz_targets/moves.rs -------------------------------------------------------------------------------- /regalloc2-tool/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytecodealliance/regalloc2/HEAD/regalloc2-tool/Cargo.toml -------------------------------------------------------------------------------- /regalloc2-tool/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytecodealliance/regalloc2/HEAD/regalloc2-tool/src/main.rs -------------------------------------------------------------------------------- /src/cfg.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytecodealliance/regalloc2/HEAD/src/cfg.rs -------------------------------------------------------------------------------- /src/checker.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytecodealliance/regalloc2/HEAD/src/checker.rs -------------------------------------------------------------------------------- /src/domtree.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytecodealliance/regalloc2/HEAD/src/domtree.rs -------------------------------------------------------------------------------- /src/fastalloc/iter.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytecodealliance/regalloc2/HEAD/src/fastalloc/iter.rs -------------------------------------------------------------------------------- /src/fastalloc/lru.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytecodealliance/regalloc2/HEAD/src/fastalloc/lru.rs -------------------------------------------------------------------------------- /src/fastalloc/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytecodealliance/regalloc2/HEAD/src/fastalloc/mod.rs -------------------------------------------------------------------------------- /src/fastalloc/tests.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytecodealliance/regalloc2/HEAD/src/fastalloc/tests.rs -------------------------------------------------------------------------------- /src/fastalloc/vregset.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytecodealliance/regalloc2/HEAD/src/fastalloc/vregset.rs -------------------------------------------------------------------------------- /src/fuzzing/domtree.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytecodealliance/regalloc2/HEAD/src/fuzzing/domtree.rs -------------------------------------------------------------------------------- /src/fuzzing/fastalloc.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytecodealliance/regalloc2/HEAD/src/fuzzing/fastalloc.rs -------------------------------------------------------------------------------- /src/fuzzing/func.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytecodealliance/regalloc2/HEAD/src/fuzzing/func.rs -------------------------------------------------------------------------------- /src/fuzzing/ion.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytecodealliance/regalloc2/HEAD/src/fuzzing/ion.rs -------------------------------------------------------------------------------- /src/fuzzing/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytecodealliance/regalloc2/HEAD/src/fuzzing/mod.rs -------------------------------------------------------------------------------- /src/fuzzing/moves.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytecodealliance/regalloc2/HEAD/src/fuzzing/moves.rs -------------------------------------------------------------------------------- /src/index.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytecodealliance/regalloc2/HEAD/src/index.rs -------------------------------------------------------------------------------- /src/indexset.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytecodealliance/regalloc2/HEAD/src/indexset.rs -------------------------------------------------------------------------------- /src/ion/data_structures.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytecodealliance/regalloc2/HEAD/src/ion/data_structures.rs -------------------------------------------------------------------------------- /src/ion/dump.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytecodealliance/regalloc2/HEAD/src/ion/dump.rs -------------------------------------------------------------------------------- /src/ion/liveranges.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytecodealliance/regalloc2/HEAD/src/ion/liveranges.rs -------------------------------------------------------------------------------- /src/ion/merge.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytecodealliance/regalloc2/HEAD/src/ion/merge.rs -------------------------------------------------------------------------------- /src/ion/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytecodealliance/regalloc2/HEAD/src/ion/mod.rs -------------------------------------------------------------------------------- /src/ion/moves.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytecodealliance/regalloc2/HEAD/src/ion/moves.rs -------------------------------------------------------------------------------- /src/ion/process.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytecodealliance/regalloc2/HEAD/src/ion/process.rs -------------------------------------------------------------------------------- /src/ion/redundant_moves.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytecodealliance/regalloc2/HEAD/src/ion/redundant_moves.rs -------------------------------------------------------------------------------- /src/ion/reg_traversal.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytecodealliance/regalloc2/HEAD/src/ion/reg_traversal.rs -------------------------------------------------------------------------------- /src/ion/requirement.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytecodealliance/regalloc2/HEAD/src/ion/requirement.rs -------------------------------------------------------------------------------- /src/ion/spill.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytecodealliance/regalloc2/HEAD/src/ion/spill.rs -------------------------------------------------------------------------------- /src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytecodealliance/regalloc2/HEAD/src/lib.rs -------------------------------------------------------------------------------- /src/moves.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytecodealliance/regalloc2/HEAD/src/moves.rs -------------------------------------------------------------------------------- /src/postorder.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytecodealliance/regalloc2/HEAD/src/postorder.rs -------------------------------------------------------------------------------- /src/serialize.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytecodealliance/regalloc2/HEAD/src/serialize.rs -------------------------------------------------------------------------------- /src/ssa.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytecodealliance/regalloc2/HEAD/src/ssa.rs --------------------------------------------------------------------------------