pub struct LoopBodyAnalysis {
pub loop_id: u32,
pub def_vars: HashSet<u32>,
pub use_vars: HashSet<u32>,
pub load_insts: Vec<u32>,
pub store_insts: Vec<u32>,
pub call_insts: Vec<u32>,
pub has_volatile: bool,
pub has_exception: bool,
}Expand description
LICM loop body analysis result
Fields§
§loop_id: u32§def_vars: HashSet<u32>§use_vars: HashSet<u32>§load_insts: Vec<u32>§store_insts: Vec<u32>§call_insts: Vec<u32>§has_volatile: bool§has_exception: boolImplementations§
Trait Implementations§
Source§impl Clone for LoopBodyAnalysis
impl Clone for LoopBodyAnalysis
Source§fn clone(&self) -> LoopBodyAnalysis
fn clone(&self) -> LoopBodyAnalysis
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LoopBodyAnalysis
impl Debug for LoopBodyAnalysis
Source§impl Default for LoopBodyAnalysis
impl Default for LoopBodyAnalysis
Source§fn default() -> LoopBodyAnalysis
fn default() -> LoopBodyAnalysis
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LoopBodyAnalysis
impl RefUnwindSafe for LoopBodyAnalysis
impl Send for LoopBodyAnalysis
impl Sync for LoopBodyAnalysis
impl Unpin for LoopBodyAnalysis
impl UnsafeUnpin for LoopBodyAnalysis
impl UnwindSafe for LoopBodyAnalysis
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