summaryrefslogtreecommitdiffstats
path: root/third_party/rust/cranelift-codegen/src/regalloc/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/rust/cranelift-codegen/src/regalloc/mod.rs')
-rw-r--r--third_party/rust/cranelift-codegen/src/regalloc/mod.rs26
1 files changed, 26 insertions, 0 deletions
diff --git a/third_party/rust/cranelift-codegen/src/regalloc/mod.rs b/third_party/rust/cranelift-codegen/src/regalloc/mod.rs
new file mode 100644
index 0000000000..581acc408e
--- /dev/null
+++ b/third_party/rust/cranelift-codegen/src/regalloc/mod.rs
@@ -0,0 +1,26 @@
+//! Register allocation.
+//!
+//! This module contains data structures and algorithms used for register allocation.
+
+pub mod coloring;
+pub mod live_value_tracker;
+pub mod liveness;
+pub mod liverange;
+pub mod register_set;
+pub mod virtregs;
+
+mod affinity;
+mod branch_splitting;
+mod coalescing;
+mod context;
+mod diversion;
+mod pressure;
+mod reload;
+mod safepoint;
+mod solver;
+mod spilling;
+
+pub use self::context::Context;
+pub use self::diversion::{EntryRegDiversions, RegDiversions};
+pub use self::register_set::RegisterSet;
+pub use self::safepoint::emit_stack_maps;