[−][src]Trait cranelift_codegen::machinst::MachBackend
Top-level machine backend trait, which wraps all monomorphized code and
allows a virtual call from the machine-independent Function::compile()
.
Required methods
fn compile_function(
&self,
func: &Function,
want_disasm: bool
) -> CodegenResult<MachCompileResult>
&self,
func: &Function,
want_disasm: bool
) -> CodegenResult<MachCompileResult>
Compile the given function.
fn flags(&self) -> &Flags
Return flags for this backend.
fn triple(&self) -> Triple
Return triple for this backend.
fn name(&self) -> &'static str
Return name for this backend.
fn reg_universe(&self) -> RealRegUniverse
Return the register universe for this backend.
Provided methods
fn unsigned_add_overflow_condition(&self) -> IntCC
Machine-specific condcode info needed by TargetIsa.
fn unsigned_sub_overflow_condition(&self) -> IntCC
Machine-specific condcode info needed by TargetIsa.