pub struct LLVMExtPassRegistry { /* private fields */ }Expand description
Pass registry for LLVMExt.
Implementations§
Source§impl LLVMExtPassRegistry
impl LLVMExtPassRegistry
pub fn new() -> Self
pub fn register(&mut self, c: LLVMExtPassConfig)
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn get(&self, i: usize) -> Option<&LLVMExtPassConfig>
pub fn get_stats(&self, i: usize) -> Option<&LLVMExtPassStats>
pub fn enabled_passes(&self) -> Vec<&LLVMExtPassConfig>
pub fn passes_in_phase(&self, ph: &LLVMExtPassPhase) -> Vec<&LLVMExtPassConfig>
pub fn total_nodes_visited(&self) -> usize
pub fn any_changed(&self) -> bool
Trait Implementations§
Source§impl Debug for LLVMExtPassRegistry
impl Debug for LLVMExtPassRegistry
Source§impl Default for LLVMExtPassRegistry
impl Default for LLVMExtPassRegistry
Source§fn default() -> LLVMExtPassRegistry
fn default() -> LLVMExtPassRegistry
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LLVMExtPassRegistry
impl RefUnwindSafe for LLVMExtPassRegistry
impl Send for LLVMExtPassRegistry
impl Sync for LLVMExtPassRegistry
impl Unpin for LLVMExtPassRegistry
impl UnsafeUnpin for LLVMExtPassRegistry
impl UnwindSafe for LLVMExtPassRegistry
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