Home
last modified time | relevance | path

Searched refs:stack_offset (Results 1 – 6 of 6) sorted by relevance

/wasmtime-44.0.1/cranelift/codegen/src/isa/unwind/
H A Dwinarm64.rs23 stack_offset: u16,
29 stack_offset: u16,
34 stack_offset: u16,
95 fn encode_stack_offset<const BITS: u8>(stack_offset: u16) -> u16 { in emit()
96 let encoded = (stack_offset / 8) - 1; in emit()
108 stack_offset, in emit()
128 stack_offset, in emit()
146 &UnwindCode::SaveFpLrPair { stack_offset } => { in emit()
147 if stack_offset == 0 { in emit()
267 stack_offset: stack_offset.try_into().unwrap(), in create_unwind_info_from_insts()
[all …]
H A Dwinx64.rs34 stack_offset: u32,
39 stack_offset: u32,
74 stack_offset, in emit()
79 stack_offset, in emit()
94 let scaled_stack_offset = stack_offset / 16; in emit()
100 writer.write_u16_le(*stack_offset as u16); in emit()
101 writer.write_u16_le((stack_offset >> 16) as u16); in emit()
143 Self::SaveXmm { stack_offset, .. } | Self::SaveReg { stack_offset, .. } => { in node_count()
144 if *stack_offset <= core::u16::MAX as u32 { in node_count()
276 stack_offset: clobber_offset, in create_unwind_info_from_insts()
[all …]
/wasmtime-44.0.1/winch/codegen/src/isa/aarch64/
H A Dabi.rs89 ABIParams::from::<_, Self>(params, 0, results.on_stack(), |ty, stack_offset| { in sig_from()
92 stack_offset, in sig_from()
111 ABIResults::from(returns, call_conv, |ty, stack_offset| { in abi_results()
114 stack_offset, in abi_results()
146 stack_offset: u32, in to_abi_operand()
172 let arg = ABIOperand::stack_offset(stack_offset, *ty, ty_size as u32); in to_abi_operand()
182 align_to(stack_offset, slot_size as u32) + (slot_size as u32) in to_abi_operand()
184 stack_offset + (ty_size as u32) in to_abi_operand()
186 align_to(stack_offset, ty_size as u32) + (ty_size as u32) in to_abi_operand()
191 (ABIOperand::reg(reg, *ty, ty_size as u32), stack_offset) in to_abi_operand()
/wasmtime-44.0.1/cranelift/filetests/filetests/runtests/
H A Dstack.clif28 function %stack_offset(i64) -> i64 {
36 ; run: %stack_offset(0) == 0
37 ; run: %stack_offset(1) == 1
38 ; run: %stack_offset(-1) == -1
/wasmtime-44.0.1/winch/codegen/src/isa/x64/
H A Dabi.rs68 |ty, stack_offset| { in sig_from()
71 stack_offset, in sig_from()
131 stack_offset: u32, in to_abi_operand()
165 let offset = align_to(stack_offset, u32::from(alignment)); in to_abi_operand()
166 let arg = ABIOperand::stack_offset(offset, *ty, u32::from(ty_size)); in to_abi_operand()
174 let arg = ABIOperand::stack_offset(stack_offset, *ty, u32::from(ty_size)); in to_abi_operand()
175 (arg, stack_offset + (ty_size as u32)) in to_abi_operand()
177 let offset = align_to(stack_offset, u32::from(ty_size)); in to_abi_operand()
179 ABIOperand::stack_offset(offset, *ty, u32::from(ty_size)), in to_abi_operand()
187 (ABIOperand::reg(reg, *ty, ty_size as u32), stack_offset) in to_abi_operand()
/wasmtime-44.0.1/winch/codegen/src/abi/
H A Dmod.rs185 pub fn stack_offset(offset: u32, ty: WasmValType, size: u32) -> Self { in stack_offset() method