pub enum OptAction {
Inline {
caller: String,
callee: String,
},
Specialize {
func: String,
call_site: usize,
},
Noop,
}Expand description
An optimisation action recommended by the PGO pass.
Variants§
Inline
Inline callee into caller.
Specialize
Emit a specialised clone of func for the given call_site index.
Noop
No optimisation is applicable.
Trait Implementations§
impl Eq for OptAction
impl StructuralPartialEq for OptAction
Auto Trait Implementations§
impl Freeze for OptAction
impl RefUnwindSafe for OptAction
impl Send for OptAction
impl Sync for OptAction
impl Unpin for OptAction
impl UnsafeUnpin for OptAction
impl UnwindSafe for OptAction
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