Struct cranelift_codegen::machinst::adapter::TargetIsaAdapter   [−][src]
A wrapper around a MachBackend that provides a TargetIsa impl.
Implementations
impl TargetIsaAdapter[src]
pub fn new<B: MachBackend + Send + Sync + 'static>(
    backend: B
) -> TargetIsaAdapter[src]
backend: B
) -> TargetIsaAdapter
Create a new TargetIsa wrapper around a MachBackend.
Trait Implementations
impl Display for TargetIsaAdapter[src]
impl TargetIsa for TargetIsaAdapter[src]
fn name(&self) -> &'static str[src]
fn triple(&self) -> &Triple[src]
fn flags(&self) -> &Flags[src]
fn register_info(&self) -> RegInfo[src]
fn legal_encodings<'a>(
    &'a self, 
    _func: &'a Function, 
    _inst: &'a InstructionData, 
    _ctrl_typevar: Type
) -> Encodings<'a>ⓘ[src]
&'a self,
_func: &'a Function,
_inst: &'a InstructionData,
_ctrl_typevar: Type
) -> Encodings<'a>ⓘ
fn encode(
    &self, 
    _func: &Function, 
    _inst: &InstructionData, 
    _ctrl_typevar: Type
) -> Result<Encoding, Legalize>[src]
&self,
_func: &Function,
_inst: &InstructionData,
_ctrl_typevar: Type
) -> Result<Encoding, Legalize>
fn encoding_info(&self) -> EncInfo[src]
fn legalize_signature(&self, _sig: &mut Cow<'_, Signature>, _current: bool)[src]
fn regclass_for_abi_type(&self, _ty: Type) -> RegClass[src]
fn allocatable_registers(&self, _func: &Function) -> RegisterSet[src]
fn prologue_epilogue(&self, _func: &mut Function) -> CodegenResult<()>[src]
fn emit_function_to_memory(
    &self, 
    _func: &Function, 
    _sink: &mut MemoryCodeSink<'_>
)[src]
&self,
_func: &Function,
_sink: &mut MemoryCodeSink<'_>
)
Emit a whole function into memory.
fn get_mach_backend(&self) -> Option<&dyn MachBackend>[src]
fn unsigned_add_overflow_condition(&self) -> IntCC[src]
fn unsigned_sub_overflow_condition(&self) -> IntCC[src]
fn create_systemv_cie(&self) -> Option<CommonInformationEntry>[src]
fn as_any(&self) -> &dyn Any[src]
fn default_call_conv(&self) -> CallConv[src]
fn endianness(&self) -> Endianness[src]
fn pointer_type(&self) -> Type[src]
fn pointer_width(&self) -> PointerWidth[src]
fn pointer_bits(&self) -> u8[src]
fn pointer_bytes(&self) -> u8[src]
fn frontend_config(&self) -> TargetFrontendConfig[src]
fn uses_cpu_flags(&self) -> bool[src]
fn uses_complex_addresses(&self) -> bool[src]
fn map_dwarf_register(&self, _: RegUnit) -> Result<u16, RegisterMappingError>[src]
fn create_unwind_info(
    &self, 
    _func: &Function
) -> CodegenResult<Option<UnwindInfo>>[src]
&self,
_func: &Function
) -> CodegenResult<Option<UnwindInfo>>
Auto Trait Implementations
impl !RefUnwindSafe for TargetIsaAdapter
impl Send for TargetIsaAdapter
impl Sync for TargetIsaAdapter
impl Unpin for TargetIsaAdapter
impl !UnwindSafe for TargetIsaAdapter
Blanket Implementations
impl<T> Any for T where
    T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
    T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
    T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
    U: From<T>, [src]
U: From<T>,
impl<T> ToString for T where
    T: Display + ?Sized, [src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
    U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, [src]
U: TryFrom<T>,