pub struct ColoringResult {
pub assignment: HashMap<VReg, PhysReg>,
pub spilled: Vec<VReg>,
}Expand description
Result of graph coloring.
Fields§
§assignment: HashMap<VReg, PhysReg>Mapping from VReg to assigned PhysReg.
spilled: Vec<VReg>VRegs that could not be colored and need spilling.
Auto Trait Implementations§
impl Freeze for ColoringResult
impl RefUnwindSafe for ColoringResult
impl Send for ColoringResult
impl Sync for ColoringResult
impl Unpin for ColoringResult
impl UnsafeUnpin for ColoringResult
impl UnwindSafe for ColoringResult
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