pub struct TargetIsaAdapter { /* private fields */ }
Expand description

A wrapper around a MachBackend that provides a TargetIsa impl.

Implementations

Create a new TargetIsa wrapper around a MachBackend.

Trait Implementations

Formats the value using the given formatter. Read more

Emit a whole function into memory.

Get the name of this ISA.

Get the target triple that was used to make this trait object.

Get the ISA-independent flags that were used to make this trait object.

Get a data structure describing the registers in this ISA.

Returns an iterator over legal encodings for the instruction.

Encode an instruction after determining it is legal. Read more

Get a data structure describing the instruction encodings in this ISA.

Legalize a function signature. Read more

Get the register class that should be used to represent an ABI argument or return value of type ty. This should be the top-level register class that contains the argument registers. Read more

Get the set of allocatable registers that can be used when compiling func. Read more

Compute the stack layout and insert prologue and epilogue code into func. Read more

Get the new-style MachBackend, if this is an adapter around one.

IntCC condition for Unsigned Addition Overflow (Carry).

IntCC condition for Unsigned Subtraction Overflow (Borrow/Carry).

Creates a new System V Common Information Entry for the ISA. Read more

Return an Any reference for downcasting to the ISA-specific implementation of this trait with isa.as_any().downcast_ref::<isa::foo::Isa>(). Read more

Get the default calling convention of this target.

Get the endianness of this ISA.

Get the pointer type of this ISA.

Get the width of pointers on this ISA.

Get the width of pointers on this ISA, in units of bits.

Get the width of pointers on this ISA, in units of bytes.

Get the information needed by frontends producing Cranelift IR.

Does the CPU implement scalar comparisons using a CPU flags register?

Does the CPU implement multi-register addressing?

Map a Cranelift register to its corresponding DWARF register.

Creates unwind information for the function. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.