| /wasmtime-44.0.1/cranelift/module/src/ |
| H A D | lib.rs | 42 ir::LibCall::CeilF32 => "ceilf".to_owned(), in default_libcall_names() 43 ir::LibCall::CeilF64 => "ceil".to_owned(), in default_libcall_names() 44 ir::LibCall::FloorF32 => "floorf".to_owned(), in default_libcall_names() 45 ir::LibCall::FloorF64 => "floor".to_owned(), in default_libcall_names() 46 ir::LibCall::TruncF32 => "truncf".to_owned(), in default_libcall_names() 47 ir::LibCall::TruncF64 => "trunc".to_owned(), in default_libcall_names() 50 ir::LibCall::FmaF32 => "fmaf".to_owned(), in default_libcall_names() 51 ir::LibCall::FmaF64 => "fma".to_owned(), in default_libcall_names() 52 ir::LibCall::Memcpy => "memcpy".to_owned(), in default_libcall_names() 53 ir::LibCall::Memset => "memset".to_owned(), in default_libcall_names() [all …]
|
| H A D | module.rs | 51 FinalizedRelocTarget::ExternalName(ExternalName::LibCall(libcall)) => { in from_mach_reloc() 52 ModuleRelocTarget::LibCall(libcall) in from_mach_reloc() 433 LibCall(ir::LibCall), enumerator 451 Self::LibCall(lc) => write!(f, "%{lc}"), in fmt() 708 ModuleRelocTarget::LibCall(_) in is_function()
|
| /wasmtime-44.0.1/cranelift/codegen/src/ir/ |
| H A D | libcall.rs | 22 pub enum LibCall { enum 65 impl fmt::Display for LibCall { implementation 71 impl FromStr for LibCall { implementation 101 impl LibCall { impl 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() 149 LibCall::Memcpy | LibCall::Memmove => { in signature() 157 LibCall::Memset => { in signature() [all …]
|
| H A D | extname.rs | 7 use crate::ir::{KnownSymbol, LibCall}; 143 LibCall(LibCall), enumerator 212 ExternalName::LibCall(lc) => write!(f, "%{lc}"), in fmt() 229 return Ok(Self::LibCall(lc)); in from_str() 241 LibCall, UserExternalName, entities::UserExternalNameRef, function::FunctionParameters, 329 Ok(ExternalName::LibCall(LibCall::FloorF32)) in parsing() 332 ExternalName::LibCall(LibCall::FloorF32) in parsing()
|
| H A D | mod.rs | 58 pub use crate::ir::libcall::{LibCall, get_probestack_funcref};
|
| /wasmtime-44.0.1/fuzz/fuzz_targets/ |
| H A D | cranelift-icache.rs | 23 const ALLOWED_LIBCALLS: &'static [LibCall] = &[ 24 LibCall::CeilF32, 25 LibCall::CeilF64, 26 LibCall::FloorF32, 27 LibCall::FloorF64, 28 LibCall::TruncF32, 29 LibCall::TruncF64, 30 LibCall::NearestF32, 31 LibCall::NearestF64, 32 LibCall::FmaF32, [all …]
|
| H A D | cranelift-fuzzgen.rs | 20 use cranelift_codegen::ir::{LibCall, TrapCode}; 299 const ALLOWED_LIBCALLS: &'static [LibCall] = &[ 300 LibCall::CeilF32, 301 LibCall::CeilF64, 302 LibCall::FloorF32, 303 LibCall::FloorF64, 304 LibCall::TruncF32, 305 LibCall::TruncF64, 316 .with_libcall_handler(|libcall: LibCall, args: LibCallValues| { in build_interpreter() 317 use LibCall::*; in build_interpreter()
|
| /wasmtime-44.0.1/cranelift/interpreter/src/ |
| H A D | state.rs | 8 ExternalName, FuncRef, Function, GlobalValue, LibCall, MemFlags, Signature, StackSlot, Type, 91 LibCall(LibCall), enumerator 100 InterpreterFunctionRef::LibCall(lc) => lc.signature(CallConv::SystemV, types::I64), in signature() 111 impl From<LibCall> for InterpreterFunctionRef<'_> { 112 fn from(lc: LibCall) -> Self { in from() 113 InterpreterFunctionRef::LibCall(lc) in from()
|
| H A D | interpreter.rs | 15 GlobalValueData, LibCall, MemFlags, StackSlot, Type, 195 pub type LibCallHandler = fn(LibCall, LibCallValues) -> Result<LibCallValues, CraneliftTrap>; 415 ExternalName::LibCall(libcall) => { in function_address() 418 let index = LibCall::all_libcalls() in function_address() 423 (AddressFunctionEntry::LibCall, index as u32) in function_address() 443 AddressFunctionEntry::LibCall => LibCall::all_libcalls() in get_function_from_address() 964 (LibCall::CeilF32, [DataValue::F32(a)]) => DataValue::F32(a.ceil()), in libcall()
|
| H A D | address.rs | 229 LibCall, enumerator 236 1 => AddressFunctionEntry::LibCall, in from()
|
| /wasmtime-44.0.1/cranelift/filetests/src/ |
| H A D | test_interpret.rs | 11 use cranelift_codegen::ir::{Function, LibCall}; 90 .with_libcall_handler(|libcall: LibCall, args: LibCallValues| { in run_test() 91 use LibCall::*; in run_test()
|
| H A D | test_inline.rs | 153 ir::ExternalName::LibCall(_) | ir::ExternalName::KnownSymbol(_) => { in inline()
|
| H A D | function_runner.rs | 8 ExternalName, Function, InstBuilder, InstructionData, LibCall, Opcode, Signature, 314 func.dfg.ext_funcs[to_remove].name = ExternalName::LibCall(LibCall::Probestack); in replace_hostcall_references()
|
| /wasmtime-44.0.1/cranelift/jit/src/ |
| H A D | backend.rs | 32 libcall_names: Box<dyn Fn(ir::LibCall) -> String + Send + Sync>, 44 libcall_names: Box<dyn Fn(ir::LibCall) -> String + Send + Sync>, in new() 57 libcall_names: Box<dyn Fn(ir::LibCall) -> String + Send + Sync>, in with_flags() 88 libcall_names: Box<dyn Fn(ir::LibCall) -> String + Send + Sync>, in with_isa() 173 libcall_names: Box<dyn Fn(ir::LibCall) -> String + Send + Sync>, 246 ModuleRelocTarget::LibCall(libcall) => { in get_address()
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/x64/ |
| H A D | lower.rs | 7 Endianness, ExternalName, Inst as IRInst, InstructionData, LibCall, Opcode, Type, types, 166 libcall: LibCall, in emit_vm_call() argument 169 let extname = ExternalName::LibCall(libcall); in emit_vm_call()
|
| H A D | abi.rs | 4 use crate::ir::{self, LibCall, MemFlags, Signature, TrapCode, types}; 622 ExternalName::LibCall(LibCall::Probestack), in gen_probestack() 830 name: Box::new(ExternalName::LibCall(LibCall::Memcpy)),
|
| /wasmtime-44.0.1/cranelift/filetests/filetests/isa/x64/ |
| H A D | probestack.clif | 17 ; call LibCall(Probestack)
|
| /wasmtime-44.0.1/cranelift/fuzzgen/src/ |
| H A D | lib.rs | 8 use cranelift::codegen::ir::{Function, LibCall}; 155 libcalls: Vec<LibCall>, in generate_func() argument
|
| /wasmtime-44.0.1/cranelift/frontend/src/ |
| H A D | frontend.rs | 13 InstBuilderBase, InstructionData, JumpTable, JumpTableData, LibCall, MemFlags, RelSourceLoc, 845 name: ExternalName::LibCall(LibCall::Memcpy), in call_memcpy() 947 name: ExternalName::LibCall(LibCall::Memset), in call_memset() 1045 name: ExternalName::LibCall(LibCall::Memmove), in call_memmove() 1081 name: ExternalName::LibCall(LibCall::Memcmp), in call_memcmp()
|
| /wasmtime-44.0.1/cranelift/object/src/ |
| H A D | backend.rs | 34 libcall_names: Box<dyn Fn(ir::LibCall) -> String + Send + Sync>, 50 libcall_names: Box<dyn Fn(ir::LibCall) -> String + Send + Sync>, in new() 150 libcalls: HashMap<ir::LibCall, SymbolId>, 151 libcall_names: Box<dyn Fn(ir::LibCall) -> String + Send + Sync>, 616 ModuleRelocTarget::LibCall(ref libcall) => { in get_symbol()
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/riscv64/ |
| H A D | abi.rs | 13 use crate::ir::LibCall; 417 ExternalName::LibCall(LibCall::Probestack), in gen_probestack() 574 dest: ExternalName::LibCall(LibCall::Memcpy),
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/x64/lower/ |
| H A D | isle.rs | 15 BlockCall, Inst, InstructionData, LibCall, MemFlags, Opcode, TrapCode, Value, ValueList, 667 fn libcall_1(&mut self, libcall: &LibCall, a: Reg) -> Reg { in libcall_1() argument 682 fn libcall_2(&mut self, libcall: &LibCall, a: Reg, b: Reg) -> Reg { in libcall_2() argument 697 fn libcall_3(&mut self, libcall: &LibCall, a: Reg, b: Reg, c: Reg) -> Reg { in libcall_3() argument
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/x64/inst/ |
| H A D | mod.rs | 6 use crate::ir::{ExternalName, LibCall, TrapCode, Type, types}; 983 debug_assert_ne!(*dest, ExternalName::LibCall(LibCall::Probestack)); in x64_get_operands() 1060 debug_assert_ne!(*dest, ExternalName::LibCall(LibCall::Probestack)); in x64_get_operands()
|
| /wasmtime-44.0.1/crates/cranelift/src/ |
| H A D | lib.rs | 299 FinalizedRelocTarget::ExternalName(ExternalName::LibCall(libcall)) => { in mach_reloc_to_reloc()
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/aarch64/ |
| H A D | abi.rs | 8 use crate::ir::{ExternalName, LibCall, Signature, dynamic_to_fixed}; 1089 dest: ExternalName::LibCall(LibCall::Memcpy),
|