pub struct VReg { /* private fields */ }
Expand description
A virtual register. Contains a virtual register number and a class.
A virtual register (“vreg”) corresponds to an SSA value. All dataflow in the input program is specified via flow through a virtual register; even uses of specially-constrained locations, such as fixed physical registers, are done by using vregs, because we need the vreg’s live range in order to track the use of that location.
Implementations§
Trait Implementations§
source§impl Ord for VReg
impl Ord for VReg
source§impl PartialOrd for VReg
impl PartialOrd for VReg
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)