pub enum VReg {
RealRegister(usize),
Virtual(usize),
Spilled(usize),
}Variants§
RealRegister(usize)
VReg::RealRegister represents a register that exists in the target architecture.
Virtual(usize)
VReg::Virtual represents a virtual register, of which there are unlimited. These are
converted into real registers or spilled registers depending on the register allocator.
Spilled(usize)
VReg::Spilled represents a spilled value on the stack. This variant is used when the
register allocator could not fit a value into the limited registers of the target
architecture.
Trait Implementations§
impl Copy for VReg
impl Eq for VReg
impl StructuralPartialEq for VReg
Auto Trait Implementations§
impl Freeze for VReg
impl RefUnwindSafe for VReg
impl Send for VReg
impl Sync for VReg
impl Unpin for VReg
impl UnwindSafe for VReg
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