pub struct LLVMPassRegistry { /* private fields */ }Implementations§
Source§impl LLVMPassRegistry
impl LLVMPassRegistry
pub fn new() -> Self
pub fn register(&mut self, config: LLVMPassConfig)
pub fn enabled_passes(&self) -> Vec<&LLVMPassConfig>
pub fn get_stats(&self, name: &str) -> Option<&LLVMPassStats>
pub fn total_passes(&self) -> usize
pub fn enabled_count(&self) -> usize
pub fn update_stats( &mut self, name: &str, changes: u64, time_ms: u64, iter: u32, )
Auto Trait Implementations§
impl Freeze for LLVMPassRegistry
impl RefUnwindSafe for LLVMPassRegistry
impl Send for LLVMPassRegistry
impl Sync for LLVMPassRegistry
impl Unpin for LLVMPassRegistry
impl UnsafeUnpin for LLVMPassRegistry
impl UnwindSafe for LLVMPassRegistry
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