| /wasmtime-44.0.1/cranelift/codegen/src/ir/ |
| H A D | extname.rs | 136 pub enum ExternalName { enum 148 impl Default for ExternalName { implementation 154 impl ExternalName { implementation 195 name: &'a ExternalName, 202 ExternalName::User(func_ref) => { in fmt() 218 impl FromStr for ExternalName { implementation 239 use super::ExternalName; 262 ExternalName::testcase("longname12345678") in display_testcase() 268 ExternalName::testcase("longname123456789") in display_testcase() 329 Ok(ExternalName::LibCall(LibCall::FloorF32)) in parsing() [all …]
|
| H A D | globalvalue.rs | 4 use crate::ir::{ExternalName, GlobalValue, MemFlags, Type}; 59 name: ExternalName, 88 pub fn symbol_name(&self) -> &ExternalName { in symbol_name() argument
|
| H A D | libcall.rs | 4 ir::{AbiParam, ExternalName, FuncRef, Function, Signature, Type, types}, 199 ExternalName::LibCall(lc) => { in find_funcref()
|
| H A D | extfunc.rs | 8 use crate::ir::{ExternalName, SigRef, Type}; 299 pub name: ExternalName,
|
| H A D | mod.rs | 49 pub use crate::ir::extname::{ExternalName, UserExternalName, UserFuncName};
|
| /wasmtime-44.0.1/cranelift/filetests/src/ |
| H A D | test_inline.rs | 132 ir::ExternalName::User(name) => match caller in inline() 144 ir::ExternalName::TestCase(name) => { in inline() 153 ir::ExternalName::LibCall(_) | ir::ExternalName::KnownSymbol(_) => { in inline()
|
| H A D | function_runner.rs | 8 ExternalName, Function, InstBuilder, InstructionData, LibCall, Opcode, Signature, 225 ExternalName::TestCase(tc) => UserFuncName::Testcase(tc.clone()), in apply_func_rename() 226 ExternalName::User(username) => { in apply_func_rename() 248 func.dfg.ext_funcs[ext_ref].name = ExternalName::User(new_name_ref); in apply_func_rename() 294 ExternalName::TestCase(tc) if tc.raw() == b"__cranelift_throw" => { in replace_hostcall_references() 314 func.dfg.ext_funcs[to_remove].name = ExternalName::LibCall(LibCall::Probestack); in replace_hostcall_references()
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/x64/inst/ |
| H A D | emit_tests.rs | 97 ExternalName::User(UserExternalNameRef::new(0)), in test_x64_emit() 139 name: Box::new(ExternalName::User(UserExternalNameRef::new(0))), in test_x64_emit() 149 name: Box::new(ExternalName::User(UserExternalNameRef::new(0))), in test_x64_emit() 159 name: Box::new(ExternalName::User(UserExternalNameRef::new(0))), in test_x64_emit() 318 symbol: ExternalName::User(UserExternalNameRef::new(0)), in test_x64_emit() 327 symbol: ExternalName::User(UserExternalNameRef::new(0)), in test_x64_emit() 336 symbol: ExternalName::User(UserExternalNameRef::new(0)), in test_x64_emit()
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/pulley_shared/lower/ |
| H A D | isle.rs | 34 type BoxCallIndirectHostInfo = Box<CallInfo<ExternalName>>; 35 type BoxReturnCallInfo = Box<ReturnCallInfo<ExternalName>>; 37 type BoxExternalName = Box<ExternalName>; 78 name: ExternalName, in gen_call_info() argument 147 dest: ExternalName, in gen_call_host_info() argument 167 dest: ExternalName, in gen_return_call_info() argument
|
| /wasmtime-44.0.1/cranelift/module/src/ |
| H A D | module.rs | 13 use cranelift_codegen::ir::ExternalName; 46 FinalizedRelocTarget::ExternalName(ExternalName::User(reff)) => { in from_mach_reloc() 50 FinalizedRelocTarget::ExternalName(ExternalName::TestCase(_)) => unimplemented!(), in from_mach_reloc() 51 FinalizedRelocTarget::ExternalName(ExternalName::LibCall(libcall)) => { in from_mach_reloc() 54 FinalizedRelocTarget::ExternalName(ExternalName::KnownSymbol(ks)) => { in from_mach_reloc() 913 name: ir::ExternalName::user(user_name_ref), in declare_func_in_func() 931 name: ir::ExternalName::user(user_name_ref), in declare_data_in_func()
|
| /wasmtime-44.0.1/crates/cranelift/src/ |
| H A D | lib.rs | 20 ir::{self, AbiParam, ArgumentPurpose, ExternalName, InstBuilder, Signature, TrapCode}, 295 FinalizedRelocTarget::ExternalName(ExternalName::User(user_func_ref)) => { in mach_reloc_to_reloc() 299 FinalizedRelocTarget::ExternalName(ExternalName::LibCall(libcall)) => { in mach_reloc_to_reloc()
|
| /wasmtime-44.0.1/cranelift/frontend/src/frontend/ |
| H A D | safepoints.rs | 821 name: ir::ExternalName::user(name), in needs_stack_map_and_loop() 888 name: ir::ExternalName::user(name), in needs_stack_map_simple() 981 name: ir::ExternalName::user(name), in needs_stack_map_and_post_order_early_return() 1084 name: ir::ExternalName::user(name), in needs_stack_map_conditional_branches_and_liveness() 1174 name: ir::ExternalName::user(name), in needs_stack_map_conditional_branches_and_liveness() 1244 name: ir::ExternalName::user(name), in needs_stack_map_and_tail_calls() 1332 name: ir::ExternalName::user(name), in needs_stack_map_and_tail_calls() 1400 name: ir::ExternalName::user(name), in needs_stack_map_and_cfg_diamond() 1542 name: ir::ExternalName::user(name), in needs_stack_map_and_heterogeneous_types() 1628 name: ir::ExternalName::user(name), in series_of_non_overlapping_live_ranges_needs_stack_map() [all …]
|
| /wasmtime-44.0.1/cranelift/interpreter/src/ |
| H A D | state.rs | 8 ExternalName, FuncRef, Function, GlobalValue, LibCall, MemFlags, Signature, StackSlot, Type, 73 name: &ExternalName, in function_address() argument
|
| H A D | interpreter.rs | 14 ArgumentPurpose, Block, Endianness, ExternalName, FuncRef, Function, GlobalValue, 396 name: &ExternalName, in function_address() argument 400 ExternalName::User(username) => { in function_address() 409 ExternalName::TestCase(testname) => { in function_address() 415 ExternalName::LibCall(libcall) => { in function_address()
|
| /wasmtime-44.0.1/cranelift/umbrella/src/ |
| H A D | lib.rs | 30 AbiParam, Block, ExtFuncData, ExternalName, GlobalValueData, InstBuilder, JumpTableData,
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/riscv64/lower/ |
| H A D | isle.rs | 18 AtomicRmwOp, BlockCall, ExternalName, Inst, InstructionData, MemFlags, Opcode, TrapCode, 29 type BoxCallInfo = Box<CallInfo<ExternalName>>; 31 type BoxReturnCallInfo = Box<ReturnCallInfo<ExternalName>>; 33 type BoxExternalName = Box<ExternalName>; 69 dest: ExternalName, in gen_call_info() argument 110 dest: ExternalName, in gen_return_call_info() argument
|
| /wasmtime-44.0.1/cranelift/codegen/src/machinst/ |
| H A D | buffer.rs | 175 use crate::ir::{DebugTag, ExceptionTag, ExternalName, RelSourceLoc, SourceLoc, TrapCode}; 1613 RelocTarget::ExternalName(name) => { in finish() 1614 FinalizedRelocTarget::ExternalName(name.clone()) in finish() 2127 ExternalName(ExternalName), enumerator 2136 impl From<ExternalName> for RelocTarget { 2137 fn from(name: ExternalName) -> Self { in from() 2138 Self::ExternalName(name) in from() 2156 ExternalName(ExternalName), enumerator 2166 FinalizedRelocTarget::ExternalName(name) => format!("{}", name.display(params)), in display() 2927 &ExternalName::User(UserExternalNameRef::new(0)), in metadata_records() [all …]
|
| H A D | isle.rs | 28 pub type BoxExternalName = Box<ExternalName>; 335 ) -> (SigRef, ExternalName, RelocDistance, bool) { 356 fn box_external_name(&mut self, extname: ExternalName) -> BoxExternalName { 364 ) -> Option<(ExternalName, RelocDistance, i64)> {
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/aarch64/lower/ |
| H A D | isle.rs | 23 AtomicRmwOp, BlockCall, ExternalName, Inst, InstructionData, MemFlags, TrapCode, Value, 39 type BoxCallInfo = Box<CallInfo<ExternalName>>; 41 type BoxReturnCallInfo = Box<ReturnCallInfo<ExternalName>>; 44 type BoxExternalName = Box<ExternalName>; 82 dest: ExternalName, in gen_call_info() argument 123 dest: ExternalName, in gen_return_call_info() argument
|
| /wasmtime-44.0.1/fuzz/fuzz_targets/ |
| H A D | cranelift-icache.rs | 8 self, ExternalName, Function, LibCall, Signature, UserExternalName, UserFuncName, 132 if let ExternalName::User(user_ext_ref) = &data.name {
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/s390x/lower/ |
| H A D | isle.rs | 7 use crate::ir::ExternalName; 35 type BoxExternalName = Box<ExternalName>; 70 fn call_inst_dest_direct(&mut self, name: ExternalName) -> CallInstDest { in call_inst_dest_direct() 772 fn memarg_symbol(&mut self, name: ExternalName, offset: i32, flags: MemFlags) -> MemArg { in memarg_symbol() argument 783 name: Box::new(ExternalName::KnownSymbol(KnownSymbol::ElfGlobalOffsetTable)), in memarg_got()
|
| /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, 169 let extname = ExternalName::LibCall(libcall); in emit_vm_call()
|
| /wasmtime-44.0.1/cranelift/frontend/src/ |
| H A D | frontend.rs | 12 ExternalName, FuncRef, Function, GlobalValue, GlobalValueData, Inst, InstBuilder, 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() 1211 AbiParam, BlockCall, ExceptionTableData, ExtFuncData, ExternalName, Function, InstBuilder, 1964 name: ExternalName::User(name), in try_call()
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/s390x/inst/ |
| H A D | args.rs | 40 name: Box<ExternalName>,
|
| /wasmtime-44.0.1/cranelift/codegen/src/ |
| H A D | inline.rs | 1487 ir::ExternalName::User(name_ref) => { in create_func_refs() 1488 ir::ExternalName::User(allocs.user_external_name_refs[*name_ref].expect( in create_func_refs() 1493 ir::ExternalName::TestCase(_) in create_func_refs() 1494 | ir::ExternalName::LibCall(_) in create_func_refs() 1495 | ir::ExternalName::KnownSymbol(_) => name.clone(), in create_func_refs()
|