| /wasmtime-44.0.1/cranelift/codegen/src/ir/ |
| H A D | libcall.rs | 128 pub fn signature(&self, call_conv: CallConv, pointer_type: Type) -> Signature { in signature() 152 sig.params.push(AbiParam::new(pointer_type)); in signature() 153 sig.params.push(AbiParam::new(pointer_type)); in signature() 154 sig.params.push(AbiParam::new(pointer_type)); in signature() 155 sig.returns.push(AbiParam::new(pointer_type)); in signature() 159 sig.params.push(AbiParam::new(pointer_type)); in signature() 161 sig.params.push(AbiParam::new(pointer_type)); in signature() 162 sig.returns.push(AbiParam::new(pointer_type)); in signature() 166 sig.params.push(AbiParam::new(pointer_type)); in signature() 167 sig.params.push(AbiParam::new(pointer_type)); in signature() [all …]
|
| H A D | globalvalue.rs | 98 Self::VMContext { .. } | Self::Symbol { .. } => isa.pointer_type(), in global_type() 100 Self::DynScaleTargetConst { .. } => isa.pointer_type(), in global_type()
|
| /wasmtime-44.0.1/crates/cranelift/src/ |
| H A D | lib.rs | 82 let pointer_type = isa.pointer_type(); in blank_sig() localVariable 86 pointer_type, in blank_sig() 89 sig.params.push(ir::AbiParam::new(pointer_type)); in blank_sig() 164 sig.params.push(ir::AbiParam::new(isa.pointer_type())); in array_call_signature() 165 sig.params.push(ir::AbiParam::new(isa.pointer_type())); in array_call_signature() 213 WasmHeapTopType::Func => pointer_type, in reference_type() 316 pointer_type: ir::Type, field 326 pointer_type: compiler.isa().pointer_type(), in new() 334 AbiParam::special(self.pointer_type, ArgumentPurpose::VMContext) in vmctx() 338 AbiParam::new(self.pointer_type) in pointer() [all …]
|
| H A D | bounds_checks.rs | 160 env.pointer_type(), in bounds_check_and_compute_addr() 180 let pointer_bit_width = u16::try_from(env.pointer_type().bits()).unwrap(); in bounds_check_field_access() 204 env.pointer_type(), in bounds_check_field_access() 313 env.pointer_type(), in bounds_check_field_access() 325 env.pointer_type(), in bounds_check_field_access() 357 .iconst(env.pointer_type(), adjusted_bound as i64); in bounds_check_field_access() 451 let adjustment_value = builder.ins().iconst(env.pointer_type(), adjustment); in bounds_check_field_access() 475 .iconst(env.pointer_type(), offset_and_size as i64); in bounds_check_field_access() 500 Some(max_size) => builder.ins().iconst(env.pointer_type(), max_size as i64), in get_dynamic_heap_bound() 503 _ => builder.ins().global_value(env.pointer_type(), heap.bound), in get_dynamic_heap_bound() [all …]
|
| H A D | func_environ.rs | 337 let pointer_type = self.pointer_type(); in get_global_location() localVariable 661 let pointer_type = self.pointer_type(); in epoch_ptr() localVariable 793 let pointer_type = self.pointer_type(); in convert_pointer_to_index_type() localVariable 842 let pointer_type = self.pointer_type(); in get_or_init_func_ref_table_elem() localVariable 1043 let pointer_type = self.pointer_type(); in module_interned_to_shared_ty() localVariable 1318 let pointer_type = self.pointer_type(); in vmctx_val() localVariable 1510 let pointer_type = self.pointer_type(); in make_heap() localVariable 1580 let pointer_type = self.pointer_type(); in make_heap_base() localVariable 1597 let pointer_type = self.pointer_type(); in make_table() localVariable 1710 let pointer_type = self.pointer_type(); in get_instance_and_tag() localVariable [all …]
|
| H A D | compiler.rs | 383 let pointer_type = isa.pointer_type(); in compile_wasm_to_array_trampoline() localVariable 406 pointer_type, in compile_wasm_to_array_trampoline() 422 pointer_type, in compile_wasm_to_array_trampoline() 746 let pointer_type = isa.pointer_type(); in compile_wasm_to_builtin() localVariable 773 pointer_type, in compile_wasm_to_builtin() 1067 let pointer_type = isa.pointer_type(); in allocate_stack_array_and_spill_args() localVariable 1242 let pointer_type = isa.pointer_type(); in call_builtin() localVariable 1249 pointer_type, in call_builtin() 1323 let pointer_type = isa.pointer_type(); in array_to_wasm_trampoline() localVariable 1357 pointer_type, in array_to_wasm_trampoline() [all …]
|
| /wasmtime-44.0.1/crates/cranelift/src/compiler/ |
| H A D | component.rs | 893 let pointer_type = self.isa.pointer_type(); in store_wasm_arguments() localVariable 941 let pointer_type = self.isa.pointer_type(); in translate_hostcall() localVariable 1076 let pointer_type = self.isa.pointer_type(); in translate_resource_drop() localVariable 1347 let pointer_type = self.isa.pointer_type(); in load_callback() localVariable 1364 let pointer_type = self.isa.pointer_type(); in load_post_return() localVariable 1385 let pointer_type = self.isa.pointer_type(); in load_libcall() localVariable 1427 let pointer_type = self.isa.pointer_type(); in raise_if_transcode_trapped() localVariable 1630 let pointer_type = self.isa.pointer_type(); in compile_trampoline() localVariable 1807 let pointer_type = self.isa.pointer_type(); in translate_transcode() localVariable 1944 let pointer_type = self.isa.pointer_type(); in cast_to_pointer() localVariable [all …]
|
| /wasmtime-44.0.1/cranelift/frontend/src/ |
| H A D | frontend.rs | 834 let pointer_type = config.pointer_type(); in call_memcpy() localVariable 837 s.params.push(AbiParam::new(pointer_type)); in call_memcpy() 838 s.params.push(AbiParam::new(pointer_type)); in call_memcpy() 839 s.params.push(AbiParam::new(pointer_type)); in call_memcpy() 936 let pointer_type = config.pointer_type(); in call_memset() localVariable 939 s.params.push(AbiParam::new(pointer_type)); in call_memset() 941 s.params.push(AbiParam::new(pointer_type)); in call_memset() 1034 let pointer_type = config.pointer_type(); in call_memmove() localVariable 1037 s.params.push(AbiParam::new(pointer_type)); in call_memmove() 1069 let pointer_type = config.pointer_type(); in call_memcmp() localVariable [all …]
|
| /wasmtime-44.0.1/crates/cranelift/src/func_environ/stack_switching/ |
| H A D | instructions.rs | 252 self.get(builder, env.pointer_type(), offset) in get_data() 518 pointer_type: ir::Type, in load() 733 env.pointer_type(), in write_limits_to_vmcontext() 778 env.pointer_type(), in load_limits_from_vmcontext() 917 let pointer_type = env.pointer_type(); in tag_address() localVariable 924 pointer_type, in tag_address() 945 env.pointer_type(), in vmctx_load_stack_chain() 956 env.pointer_type(), in vmctx_load_stack_chain() 973 env.pointer_type(), in vmctx_store_stack_chain() 999 let pointer_type = env.pointer_type(); in vmctx_load_vm_runtime_limits_ptr() localVariable [all …]
|
| H A D | fatpointer.rs | 11 let ptr_bits = env.pointer_type().bits(); in fatpointer_type() 24 let ptr_ty = env.pointer_type(); in deconstruct() 42 let ptr_ty = env.pointer_type(); in construct()
|
| /wasmtime-44.0.1/crates/cranelift/src/func_environ/gc/enabled/ |
| H A D | null.rs | 72 let pointer_type = func_env.pointer_type(); in emit_inline_alloc() localVariable 75 pointer_type, in emit_inline_alloc() 107 let uext_end_of_object = uextend_i32_to_pointer_type(builder, pointer_type, end_of_object); in emit_inline_alloc() 125 let bytes_needed = match func_env.pointer_type() { in emit_inline_alloc() 146 let uext_aligned = uextend_i32_to_pointer_type(builder, pointer_type, aligned); in emit_inline_alloc() 194 let ptr_ty = func_env.pointer_type(); in alloc_array()
|
| H A D | drc.rs | 135 let ptr_ty = func_env.pointer_type(); in load_over_approximated_stack_roots_head() 394 let ptr_ty = func_env.pointer_type(); in alloc_array() 424 uextend_i32_to_pointer_type(builder, func_env.pointer_type(), array_ref); in alloc_array() 483 uextend_i32_to_pointer_type(builder, func_env.pointer_type(), struct_ref); in alloc_struct() 537 uextend_i32_to_pointer_type(builder, func_env.pointer_type(), exn_ref); in alloc_exn()
|
| /wasmtime-44.0.1/cranelift/codegen/src/legalizer/ |
| H A D | globalvalue.rs | 58 pos.func.dfg.replace(inst).iconst(isa.pointer_type(), scale); in const_vector_scale() 124 let ptr_ty = isa.pointer_type(); in load_addr() 150 let ptr_ty = isa.pointer_type(); in symbol()
|
| H A D | mod.rs | 311 let addr_ty = isa.pointer_type(); in expand_dynamic_stack_store() 336 let addr_ty = isa.pointer_type(); in expand_dynamic_stack_load() 358 let addr_ty = isa.pointer_type(); in expand_stack_store() 382 let addr_ty = isa.pointer_type(); in expand_stack_load()
|
| /wasmtime-44.0.1/crates/cranelift/src/func_environ/gc/ |
| H A D | enabled.rs | 249 let null = builder.ins().iconst(func_env.pointer_type(), 0); in write_func_ref_at_addr() 680 let pointer_type = func_env.pointer_type(); in initialize() localVariable 681 let elem_size = builder.ins().iconst(pointer_type, i64::from(elem_size)); in initialize() 730 let pointer_ty = func_env.pointer_type(); in emit_array_fill_impl() 1309 pointer_type: ir::Type, in uextend_i32_to_pointer_type() 1313 match pointer_type { in uextend_i32_to_pointer_type() 1464 global_type: self.pointer_type(), in get_gc_heap_base_global() 1476 builder.ins().global_value(self.pointer_type(), global) in get_gc_heap_base() 1488 global_type: self.pointer_type(), in get_gc_heap_bound_global() 1499 builder.ins().global_value(self.pointer_type(), global) in get_gc_heap_bound() [all …]
|
| /wasmtime-44.0.1/crates/wiggle/generate/src/types/ |
| H A D | mod.rs | 62 pointer_type: TokenStream, in define_witx_pointer() 68 quote!(pub type #ident<'a> = #pointer_type<'a, #pointee_type>;) in define_witx_pointer()
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/ |
| H A D | mod.rs | 266 pub fn pointer_type(self) -> ir::Type { in pointer_type() method 463 pub fn pointer_type(&self) -> ir::Type { in pointer_type() method
|
| /wasmtime-44.0.1/cranelift/filetests/src/ |
| H A D | function_runner.rs | 547 let pointer_type = isa.pointer_type(); in make_trampoline() localVariable 549 wrapper_sig.params.push(ir::AbiParam::new(pointer_type)); // Add the `callee_address` parameter. in make_trampoline() 550 wrapper_sig.params.push(ir::AbiParam::new(pointer_type)); // Add the `values_vec` parameter. in make_trampoline()
|
| H A D | test_run.rs | 188 build_vmctx_struct(context.isa.unwrap().pointer_type()); in run_test()
|
| /wasmtime-44.0.1/crates/cranelift/src/translate/ |
| H A D | table.rs | 68 let addr_ty = env.pointer_type(); in prepare_table_addr()
|
| H A D | code_translator.rs | 4452 let (exn_payload_wasm_ty, exn_payload_ty) = match environ.pointer_type().bits() { in create_catch_block()
|
| /wasmtime-44.0.1/cranelift/object/tests/ |
| H A D | basic.rs | 194 let int = module.target_config().pointer_type(); in libcall_function() 299 let ptr = module.target_config().pointer_type(); in aarch64_colocated_data_symbol_reloc()
|
| /wasmtime-44.0.1/cranelift/jit/tests/ |
| H A D | basic.rs | 175 let int = module.target_config().pointer_type(); in libcall_function()
|
| /wasmtime-44.0.1/cranelift/codegen/src/verifier/ |
| H A D | mod.rs | 394 let pointer_type = isa.pointer_type(); in verify_global_values() localVariable 395 if base_type != pointer_type { in verify_global_values() 1563 .exception_payload_types(isa.pointer_type()) in block_call_arg_ty()
|
| /wasmtime-44.0.1/cranelift/fuzzgen/src/ |
| H A D | function_generator.rs | 87 let addr_ty = fgen.isa.pointer_type(); in insert_call_to_function() 1602 let pointer_type = Type::int_with_byte_size( in generate_funcrefs() localVariable 1606 let signature = libcall.signature(lib_callconv, pointer_type); in generate_funcrefs()
|