pub struct LICMHeuristics {
pub max_hoist_cost: u32,
pub min_savings: u32,
}Expand description
LICM heuristics configuration for LICMPassV2.
Fields§
§max_hoist_cost: u32Maximum cost of an expression to consider for hoisting.
min_savings: u32Minimum savings estimate to justify hoisting.
Trait Implementations§
Source§impl Clone for LICMHeuristics
impl Clone for LICMHeuristics
Source§fn clone(&self) -> LICMHeuristics
fn clone(&self) -> LICMHeuristics
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 LICMHeuristics
impl Debug for LICMHeuristics
Auto Trait Implementations§
impl Freeze for LICMHeuristics
impl RefUnwindSafe for LICMHeuristics
impl Send for LICMHeuristics
impl Sync for LICMHeuristics
impl Unpin for LICMHeuristics
impl UnsafeUnpin for LICMHeuristics
impl UnwindSafe for LICMHeuristics
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