Skip to main content

LoopOptPass

Trait LoopOptPass 

Source
pub trait LoopOptPass {
    // Required methods
    fn name(&self) -> &str;
    fn run_pass(&mut self, decls: &mut [LcnfFunDecl]) -> UnrollReport;
}
Expand description

Trait for a single loop optimization pass in the pipeline.

Required Methods§

Source

fn name(&self) -> &str

Name of this pass.

Source

fn run_pass(&mut self, decls: &mut [LcnfFunDecl]) -> UnrollReport

Run this pass on the given function declarations.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§