Struct regalloc::RegUsageCollector [−][src]
pub struct RegUsageCollector<'a> { pub reg_vecs: &'a mut RegVecs, }
Fields
reg_vecs: &'a mut RegVecs
Implementations
impl<'a> RegUsageCollector<'a>
[src]
impl<'a> RegUsageCollector<'a>
[src]pub fn new(reg_vecs: &'a mut RegVecs) -> Self
[src]
pub fn add_use(&mut self, r: Reg)
[src]
pub fn add_uses(&mut self, regs: &[Reg])
[src]
pub fn add_def(&mut self, r: Writable<Reg>)
[src]
pub fn add_defs(&mut self, regs: &[Writable<Reg>])
[src]
pub fn add_mod(&mut self, r: Writable<Reg>)
[src]
pub fn add_mods(&mut self, regs: &[Writable<Reg>])
[src]
pub fn get_use_def_mod_vecs_test_framework_only(
&self
) -> (Vec<Reg>, Vec<Reg>, Vec<Reg>)
[src]
&self
) -> (Vec<Reg>, Vec<Reg>, Vec<Reg>)