pub trait IselBackend {
// Required method
fn lower_function(
&mut self,
ctx: &Context,
module: &Module,
func: &Function,
) -> MachineFunction;
}Expand description
Implemented by each target to lower LLVM IR functions to machine IR.
Required Methods§
Sourcefn lower_function(
&mut self,
ctx: &Context,
module: &Module,
func: &Function,
) -> MachineFunction
fn lower_function( &mut self, ctx: &Context, module: &Module, func: &Function, ) -> MachineFunction
Lower a single IR function to a MachineFunction.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".