[−][src]Enum cranelift_codegen::ir::LibCall
The name of a runtime library routine.
Runtime library calls are generated for Cranelift IR instructions that don't have an equivalent
ISA instruction or an easy macro expansion. A LibCall is used as a well-known name to refer to
the runtime library routine. This way, Cranelift doesn't have to know about the naming
convention in the embedding VM's runtime library.
This list is likely to grow over time.
Variants
Probestackprobe for stack overflow. These are emitted for functions which need
when the probestack_enabled setting is true.
CeilF32ceil.f32
CeilF64ceil.f64
FloorF32floor.f32
FloorF64floor.f64
TruncF32trunc.f32
TruncF64frunc.f64
NearestF32nearest.f32
NearestF64nearest.f64
Memcpylibc.memcpy
Memsetlibc.memset
Memmovelibc.memmove
Methods
impl LibCall[src]
pub fn for_inst(opcode: Opcode, ctrl_type: Type) -> Option<Self>[src]
Get the well-known library call name to use as a replacement for an instruction with the given opcode and controlling type variable.
Returns None if no well-known library routine name exists for that instruction.
Trait Implementations
impl Clone for LibCall[src]
fn clone(&self) -> LibCall[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Copy for LibCall[src]
impl Debug for LibCall[src]
impl Display for LibCall[src]
impl PartialEq<LibCall> for LibCall[src]
fn eq(&self, other: &LibCall) -> bool[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
This method tests for !=.
impl Eq for LibCall[src]
impl FromStr for LibCall[src]
Auto Trait Implementations
Blanket Implementations
impl<T> From for T[src]
impl<T, U> TryFrom for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T, U> Into for T where
U: From<T>, [src]
U: From<T>,
impl<T> Borrow for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> ToString for T where
T: Display + ?Sized, [src]
T: Display + ?Sized,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,