MCPcopy Create free account
hub / github.com/Amanieu/regalloc3 / Allocation

Class Allocation

src/output.rs:80–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78#[derive(Clone, Copy, PartialEq, Eq, Hash)]
79#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
80pub struct Allocation {
81 /// Bit-pack in 32 bits.
82 ///
83 /// kind:1 index:31
84 /// kind:1 unused:19 reg:12
85 bits: u32,
86}
87
88impl fmt::Debug for Allocation {
89 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected