Lines Matching refs:LibCall
22 pub enum LibCall { enum
65 impl fmt::Display for LibCall { implementation
71 impl FromStr for LibCall { implementation
101 impl LibCall { impl
103 pub fn all_libcalls() -> &'static [LibCall] { in all_libcalls()
104 use LibCall::*; in all_libcalls()
133 LibCall::CeilF32 | LibCall::FloorF32 | LibCall::TruncF32 | LibCall::NearestF32 => { in signature()
137 LibCall::TruncF64 | LibCall::FloorF64 | LibCall::CeilF64 | LibCall::NearestF64 => { in signature()
141 LibCall::FmaF32 | LibCall::FmaF64 => { in signature()
142 let ty = if *self == LibCall::FmaF32 { F32 } else { F64 }; in signature()
149 LibCall::Memcpy | LibCall::Memmove => { in signature()
157 LibCall::Memset => { in signature()
164 LibCall::Memcmp => { in signature()
172 LibCall::Probestack | LibCall::ElfTlsGetAddr | LibCall::ElfTlsGetOffset => { in signature()
175 LibCall::X86Pshufb => { in signature()
190 find_funcref(LibCall::Probestack, func) in get_probestack_funcref()
194 fn find_funcref(libcall: LibCall, func: &Function) -> Option<FuncRef> { in find_funcref() argument
199 ExternalName::LibCall(lc) => { in find_funcref()
217 assert_eq!(LibCall::CeilF32.to_string(), "CeilF32"); in display()
218 assert_eq!(LibCall::NearestF64.to_string(), "NearestF64"); in display()
223 assert_eq!("FloorF32".parse(), Ok(LibCall::FloorF32)); in parsing()
228 for &libcall in LibCall::all_libcalls() { in all_libcalls_to_from_string()