[−][src]Enum wasmtime_environ::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
probe for stack overflow. These are emitted for functions which need
when the enable_probestack
setting is true.
udiv.i64
sdiv.i64
urem.i64
srem.i64
ishl.i64
ushr.i64
sshr.i64
ceil.f32
ceil.f64
floor.f32
floor.f64
trunc.f32
frunc.f64
nearest.f32
nearest.f64
libc.memcpy
libc.memset
libc.memmove
Elf __tls_get_addr
Implementations
impl LibCall
[src]
pub fn for_inst(opcode: Opcode, ctrl_type: Type) -> Option<LibCall>
[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]
impl Copy for LibCall
[src]
impl Debug for LibCall
[src]
impl<'de> Deserialize<'de> for LibCall
[src]
fn deserialize<__D>(
__deserializer: __D
) -> Result<LibCall, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
__deserializer: __D
) -> Result<LibCall, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
impl Display for LibCall
[src]
impl Eq for LibCall
[src]
impl FromStr for LibCall
[src]
type Err = ()
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<LibCall, <LibCall as FromStr>::Err>
[src]
impl Hash for LibCall
[src]
fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
[src]
__H: Hasher,
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<LibCall> for LibCall
[src]
impl Serialize for LibCall
[src]
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
impl StructuralEq for LibCall
[src]
impl StructuralPartialEq for LibCall
[src]
Auto Trait Implementations
impl RefUnwindSafe for LibCall
impl Send for LibCall
impl Sync for LibCall
impl Unpin for LibCall
impl UnwindSafe for LibCall
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,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool
[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> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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.
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>,