Home
last modified time | relevance | path

Searched refs:libcall (Results 1 – 25 of 26) sorted by relevance

12

/wasmtime-44.0.1/cranelift/codegen/src/ir/
H A Dlibcall.rs194 fn find_funcref(libcall: LibCall, func: &Function) -> Option<FuncRef> { in find_funcref()
200 if lc == libcall { in find_funcref()
228 for &libcall in LibCall::all_libcalls() { in all_libcalls_to_from_string()
229 assert_eq!(libcall.to_string().parse(), Ok(libcall)); in all_libcalls_to_from_string()
H A Dmod.rs21 pub(crate) mod libcall; module
58 pub use crate::ir::libcall::{LibCall, get_probestack_funcref};
/wasmtime-44.0.1/cranelift/module/src/
H A Dlib.rs40 Box::new(move |libcall| match libcall { in default_libcall_names()
H A Dmodule.rs51 FinalizedRelocTarget::ExternalName(ExternalName::LibCall(libcall)) => { in from_mach_reloc()
52 ModuleRelocTarget::LibCall(libcall) in from_mach_reloc()
/wasmtime-44.0.1/cranelift/filetests/src/
H A Dtest_interpret.rs90 .with_libcall_handler(|libcall: LibCall, args: LibCallValues| { in run_test()
92 Ok(smallvec![match (libcall, &args[..]) { in run_test()
/wasmtime-44.0.1/cranelift/filetests/filetests/isa/x64/
H A Dpreserve-all.clif40 fn0 = %libcall(i64) system_v
76 ; load_ext_name %libcall+0, %rdx
139 ; movabsq $0, %rdx ; reloc_external Abs8 %libcall 0
/wasmtime-44.0.1/cranelift/codegen/src/isa/x64/
H A Dlower.rs166 libcall: LibCall, in emit_vm_call()
169 let extname = ExternalName::LibCall(libcall); in emit_vm_call()
173 let sig = libcall.signature(call_conv, types::I64); in emit_vm_call()
H A Dlower.isle4317 ;; the appropriate libcall and sequence to call that.
4338 (libcall LibCall (round_libcall $F32 imm))
4339 (result Xmm (libcall_1 libcall a))
4340 (a1 Xmm (libcall_1 libcall (x64_pshufd a 1)))
4342 (a2 Xmm (libcall_1 libcall (x64_pshufd a 2)))
4344 (a3 Xmm (libcall_1 libcall (x64_pshufd a 3)))
4350 (libcall LibCall (round_libcall $F64 imm))
4351 (result Xmm (libcall_1 libcall a))
4352 (a1 Xmm (libcall_1 libcall (x64_pshufd a 0b00_00_11_10)))
4722 ;; A helper function to generate either the `pshufb` instruction or a libcall to
[all …]
H A Dinst.isle289 ;; A call to the `ElfTlsGetAddr` libcall. Returns address of TLS symbol
/wasmtime-44.0.1/cranelift/filetests/filetests/isa/s390x/
H A Dpreserve-all.clif38 fn0 = %libcall(i64) system_v
81 ; bras %r1, 12 ; data %libcall + 0 ; lg %r3, 0(%r1)
158 ; .byte 0x00, 0x00 ; reloc_external Abs8 %libcall 0
/wasmtime-44.0.1/cranelift/filetests/filetests/isa/aarch64/
H A Dpreserve-all.clif38 fn0 = %libcall(i64) system_v
89 ; load_ext_name_far x2, TestCase(%libcall)+0
183 ; .byte 0x00, 0x00, 0x00, 0x00 ; reloc_external Abs8 %libcall 0
/wasmtime-44.0.1/cranelift/interpreter/src/
H A Dinterpreter.rs415 ExternalName::LibCall(libcall) => { in function_address()
420 .position(|lc| lc == libcall) in function_address()
948 fn libcall() { in libcall() function
962 .with_libcall_handler(|libcall, args| { in libcall()
963 Ok(smallvec![match (libcall, &args[..]) { in libcall()
H A Dstep.rs315 InterpreterFunctionRef::LibCall(libcall) => { in step()
326 let res = libcall_handler(libcall, args); in step()
415 ExternalName::LibCall(libcall) => InterpreterFunctionRef::LibCall(libcall), in step()
/wasmtime-44.0.1/cranelift/codegen/src/isa/x64/lower/
H A Disle.rs667 fn libcall_1(&mut self, libcall: &LibCall, a: Reg) -> Reg { in libcall_1()
672 *libcall, in libcall_1()
682 fn libcall_2(&mut self, libcall: &LibCall, a: Reg, b: Reg) -> Reg { in libcall_2()
687 *libcall, in libcall_2()
697 fn libcall_3(&mut self, libcall: &LibCall, a: Reg, b: Reg, c: Reg) -> Reg { in libcall_3()
702 *libcall, in libcall_3()
/wasmtime-44.0.1/fuzz/fuzz_targets/
H A Dcranelift-fuzzgen.rs316 .with_libcall_handler(|libcall: LibCall, args: LibCallValues| { in build_interpreter()
318 Ok(smallvec![match (libcall, &args[..]) { in build_interpreter()
/wasmtime-44.0.1/cranelift/object/src/
H A Dbackend.rs616 ModuleRelocTarget::LibCall(ref libcall) => { in get_symbol()
617 let name = (self.libcall_names)(*libcall); in get_symbol()
620 } else if let Some(symbol) = self.libcalls.get(libcall) { in get_symbol()
633 self.libcalls.insert(*libcall, symbol); in get_symbol()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/
H A Dlibcalls.rs103 macro_rules! libcall { macro
122 $( $pname : libcall!(@ty $param), )*
123 ) $(-> libcall!(@ty $result))? {
147 $( $pname : libcall!(@ty $param), )*
148 ) $( -> libcall!(@ty $result))? = $name;
166 wasmtime_environ::foreach_builtin_function!(libcall);
/wasmtime-44.0.1/crates/cranelift/src/
H A Dfunc_environ.rs2549 let libcall = match ty.top() { in translate_table_fill() localVariable
2567 builder.ins().call(libcall, &args); in translate_table_fill()
2734 let libcall = gc::builtins::array_new_data(self, builder.func)?; in translate_array_new_data() localVariable
2742 libcall, in translate_array_new_data()
2758 let libcall = gc::builtins::array_new_elem(self, builder.func)?; in translate_array_new_elem() localVariable
2766 libcall, in translate_array_new_elem()
2785 let libcall = gc::builtins::array_copy(self, builder.func)?; in translate_array_copy() localVariable
2788 libcall, in translate_array_copy()
2816 let libcall = gc::builtins::array_init_data(self, builder.func)?; in translate_array_init_data() localVariable
2824 libcall, in translate_array_init_data()
[all …]
H A Dlib.rs299 FinalizedRelocTarget::ExternalName(ExternalName::LibCall(libcall)) => { in mach_reloc_to_reloc()
/wasmtime-44.0.1/cranelift/jit/src/
H A Dbackend.rs246 ModuleRelocTarget::LibCall(libcall) => { in get_address()
247 let sym = (self.libcall_names)(*libcall); in get_address()
/wasmtime-44.0.1/cranelift/filetests/filetests/isa/riscv64/
H A Dpreserve-all.clif46 fn0 = %libcall(i64) system_v
128 ; load_ext_name_far a1,%libcall+0
317 ; .byte 0x00, 0x00, 0x00, 0x00 ; reloc_external Abs8 %libcall 0
/wasmtime-44.0.1/cranelift/filetests/filetests/isa/pulley64/
H A Dpreserve-all.clif34 fn0 = %libcall(i64) system_v
123 ; indirect_call_host CallInfo { dest: TestCase(%libcall), uses: [CallArgPair { vreg: p0i, preg: p…
/wasmtime-44.0.1/cranelift/filetests/filetests/isa/pulley32/
H A Dpreserve-all.clif34 fn0 = %libcall(i64) system_v
123 ; indirect_call_host CallInfo { dest: TestCase(%libcall), uses: [CallArgPair { vreg: p0i, preg: p…
/wasmtime-44.0.1/cranelift/fuzzgen/src/
H A Dfunction_generator.rs1601 .map(|libcall| { in generate_funcrefs()
1606 let signature = libcall.signature(lib_callconv, pointer_type); in generate_funcrefs()
1607 let name = ExternalName::LibCall(*libcall); in generate_funcrefs()
/wasmtime-44.0.1/cranelift/codegen/src/isa/s390x/
H A Dinst.isle1033 ;; Pseudo-instruction used for `tls_value` to call the libcall of the same

12