pub struct RegAllocResult {
pub vreg_to_preg: HashMap<VReg, PReg>,
pub spilled: Vec<VReg>,
}Expand description
Maps each VReg to the PReg it was assigned, or records it as spilled.
Fields§
§vreg_to_preg: HashMap<VReg, PReg>Public API for vreg_to_preg.
spilled: Vec<VReg>VRegs for which no physical register was available.
Trait Implementations§
Source§impl Debug for RegAllocResult
impl Debug for RegAllocResult
Source§impl Default for RegAllocResult
impl Default for RegAllocResult
Source§fn default() -> RegAllocResult
fn default() -> RegAllocResult
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RegAllocResult
impl RefUnwindSafe for RegAllocResult
impl Send for RegAllocResult
impl Sync for RegAllocResult
impl Unpin for RegAllocResult
impl UnsafeUnpin for RegAllocResult
impl UnwindSafe for RegAllocResult
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more