Trait tir_core::PassWrapper

source ·
pub trait PassWrapper: DynClone + Sync + Send {
    // Required methods
    fn run(&self, op: &OpRef) -> Result<(), PassError>;
    fn get_wrapper_name(&self) -> &'static str;
    fn get_pass_name(&self) -> &'static str;
}

Required Methods§

source

fn run(&self, op: &OpRef) -> Result<(), PassError>

source

fn get_wrapper_name(&self) -> &'static str

source

fn get_pass_name(&self) -> &'static str

Implementors§