Struct PairedGpr
pub struct PairedGpr {
pub read: Gpr,
pub write: Writable<Gpr>,
}
Expand description
A pair of registers, one for reading and one for writing.
Due to how Cranelift’s SSA form, we must track the read and write registers
separately prior to register allocation. Once register allocation is
complete, we expect the hardware encoding for both read
and write
to be
the same.
Fields§
§read: Gpr
§write: Writable<Gpr>
Trait Implementations§
impl Copy for PairedGpr
Auto Trait Implementations§
impl Freeze for PairedGpr
impl RefUnwindSafe for PairedGpr
impl Send for PairedGpr
impl Sync for PairedGpr
impl Unpin for PairedGpr
impl UnwindSafe for PairedGpr
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