pub enum PgoDecision {
Inlined {
callee: String,
benefit: f64,
},
NotInlined {
callee: String,
reason: String,
},
Unrolled {
loop_id: u32,
factor: u32,
},
Vectorized {
loop_id: u32,
width: u32,
},
HotColdSplit {
function: String,
},
BlockReordered {
function: String,
blocks: u32,
},
StackPromotion {
site_id: u32,
},
Devirtualized {
callsite: u32,
target: String,
},
}Variants§
Implementations§
Source§impl PgoDecision
impl PgoDecision
pub fn description(&self) -> String
pub fn is_beneficial(&self) -> bool
Trait Implementations§
Source§impl Clone for PgoDecision
impl Clone for PgoDecision
Source§fn clone(&self) -> PgoDecision
fn clone(&self) -> PgoDecision
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 moreAuto Trait Implementations§
impl Freeze for PgoDecision
impl RefUnwindSafe for PgoDecision
impl Send for PgoDecision
impl Sync for PgoDecision
impl Unpin for PgoDecision
impl UnsafeUnpin for PgoDecision
impl UnwindSafe for PgoDecision
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