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