pub trait TargetIsa: Send + Sync {
    fn name(&self) -> &'static str;
    fn triple(&self) -> &Triple;
    fn compile_function(
        &self,
        sig: &FuncType,
        body: FunctionBody<'_>,
        validator: FuncValidator<ValidatorResources>
    ) -> Result<Vec<String>>; fn call_conv(&self) -> CallConv { ... } fn endianness(&self) -> Endianness { ... } }
Expand description

A trait representing commonalities between the supported instruction set architectures.

Required Methods§

Get the name of the ISA.

Get the target triple of the ISA.

Provided Methods§

Get the default calling convention of the underlying target triple.

Get the endianess of the underlying target triple.

Trait Implementations§

Formats the value using the given formatter. Read more

Implementors§