[][src]Struct regalloc::Reg

pub struct Reg { /* fields omitted */ }

Methods

impl Reg[src]

pub fn is_virtual(self) -> bool[src]

pub fn is_real(self) -> bool[src]

pub fn new_real(rc: RegClass, enc: u8, index: u8) -> Self[src]

pub fn new_virtual(rc: RegClass, index: u32) -> Self[src]

pub fn get_class(self) -> RegClass[src]

pub fn get_index(self) -> usize[src]

pub fn get_hw_encoding(self) -> u8[src]

pub fn as_virtual_reg(self) -> Option<VirtualReg>[src]

pub fn as_real_reg(self) -> Option<RealReg>[src]

pub fn show_with_rru(self, univ: &RealRegUniverse) -> String[src]

impl Reg[src]

pub fn to_real_reg(self) -> RealReg[src]

impl Reg[src]

impl Reg[src]

pub fn apply_defs_or_uses(&mut self, map: &Map<VirtualReg, RealReg>)[src]

pub fn apply_mods(
    &mut self,
    map_defs: &Map<VirtualReg, RealReg>,
    map_uses: &Map<VirtualReg, RealReg>
)
[src]

Trait Implementations

impl Clone for Reg[src]

impl Copy for Reg[src]

impl Debug for Reg[src]

impl Eq for Reg[src]

impl Hash for Reg[src]

impl Ord for Reg[src]

impl PartialEq<Reg> for Reg[src]

impl PartialOrd<Reg> for Reg[src]

impl StructuralEq for Reg[src]

impl StructuralPartialEq for Reg[src]

Auto Trait Implementations

impl RefUnwindSafe for Reg

impl Send for Reg

impl Sync for Reg

impl Unpin for Reg

impl UnwindSafe for Reg

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.