Struct regalloc::Reg [−][src]
pub struct Reg { /* fields omitted */ }
Implementations
impl Reg
[src]
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 invalid() -> Reg
[src]
pub fn is_invalid(self) -> bool
[src]
pub fn is_valid(self) -> bool
[src]
pub fn is_virtual_or_invalid(self) -> bool
[src]
pub fn is_real_or_invalid(self) -> bool
[src]
pub fn get_class(self) -> RegClass
[src]
pub fn get_index(self) -> usize
[src]
pub fn get_index_u32(self) -> u32
[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]
impl Reg
[src]pub fn to_real_reg(self) -> RealReg
[src]
impl Reg
[src]
impl Reg
[src]pub fn to_virtual_reg(self) -> VirtualReg
[src]
impl Reg
[src]
impl Reg
[src]pub fn apply_uses<RUM: RegUsageMapper>(&mut self, mapper: &RUM)
[src]
Apply a vreg-rreg mapping to a Reg. This is used for registers used in a read-role.
pub fn apply_defs<RUM: RegUsageMapper>(&mut self, mapper: &RUM)
[src]
Apply a vreg-rreg mapping to a Reg. This is used for registers used in a write-role.
pub fn apply_mods<RUM: RegUsageMapper>(&mut self, mapper: &RUM)
[src]
Apply a vreg-rreg mapping to a Reg. This is used for registers used in a modify-role.
Trait Implementations
impl PartialOrd<Reg> for Reg
[src]
impl PartialOrd<Reg> for Reg
[src]impl PrettyPrint for Reg
[src]
impl PrettyPrint for Reg
[src]