pub struct LicmResultMap {
pub hoisted: HashMap<u32, LoopLevelId>,
pub sunk: HashMap<u32, u32>,
pub versioned: Vec<LicmVersion>,
}Expand description
LICM result map
Fields§
§hoisted: HashMap<u32, LoopLevelId>§sunk: HashMap<u32, u32>§versioned: Vec<LicmVersion>Implementations§
Source§impl LicmResultMap
impl LicmResultMap
pub fn new() -> Self
pub fn mark_hoisted(&mut self, inst: u32, loop_id: LoopLevelId)
pub fn mark_sunk(&mut self, inst: u32, block: u32)
pub fn add_version(&mut self, v: LicmVersion)
pub fn hoist_count(&self) -> usize
pub fn sink_count(&self) -> usize
Trait Implementations§
Source§impl Debug for LicmResultMap
impl Debug for LicmResultMap
Source§impl Default for LicmResultMap
impl Default for LicmResultMap
Source§fn default() -> LicmResultMap
fn default() -> LicmResultMap
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LicmResultMap
impl RefUnwindSafe for LicmResultMap
impl Send for LicmResultMap
impl Sync for LicmResultMap
impl Unpin for LicmResultMap
impl UnsafeUnpin for LicmResultMap
impl UnwindSafe for LicmResultMap
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