Struct cranelift_codegen::machinst::adapter::TargetIsaAdapter [−][src]
pub struct TargetIsaAdapter { /* fields omitted */ }
Expand description
A wrapper around a MachBackend
that provides a TargetIsa
impl.
Implementations
Create a new TargetIsa
wrapper around a MachBackend
.
Trait Implementations
Emit a whole function into memory.
Get the ISA-independent flags that were used to make this trait object.
Get the ISA-dependent flag values that were used to make this trait object.
Get the variant of this ISA (Legacy or MachInst).
Hashes all flags, both ISA-independent and ISA-specific, into the specified hasher. Read more
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
Map a regalloc::Reg to its corresponding DWARF register.
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.
Returns the flavor of unwind information emitted for this target.
Creates unwind information for the function. Read more
Auto Trait Implementations
impl !RefUnwindSafe for TargetIsaAdapter
impl Send for TargetIsaAdapter
impl Sync for TargetIsaAdapter
impl Unpin for TargetIsaAdapter
impl !UnwindSafe for TargetIsaAdapter