pub struct LICMPassV2 {
pub heuristics: LICMHeuristics,
/* private fields */
}Expand description
Version 2 of the LICM pass with heuristic control.
Fields§
§heuristics: LICMHeuristicsHeuristics for deciding what to hoist.
Implementations§
Source§impl LICMPassV2
impl LICMPassV2
Sourcepub fn run(&mut self, decls: &mut [LcnfFunDecl])
pub fn run(&mut self, decls: &mut [LcnfFunDecl])
Run the LICM v2 pass over function declarations.
Sourcepub fn report(&self) -> &LICMReport
pub fn report(&self) -> &LICMReport
Get the report from the inner pass.
Auto Trait Implementations§
impl Freeze for LICMPassV2
impl RefUnwindSafe for LICMPassV2
impl Send for LICMPassV2
impl Sync for LICMPassV2
impl Unpin for LICMPassV2
impl UnsafeUnpin for LICMPassV2
impl UnwindSafe for LICMPassV2
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