Home
last modified time | relevance | path

Searched refs:next_stack (Results 1 – 8 of 8) sorted by relevance

/wasmtime-44.0.1/winch/codegen/src/frame/
H A Dmod.rs52 let mut next_stack: u32 = 0; in new() localVariable
66 next_stack = align_to(next_stack, ty_size as u32) + (ty_size as u32); in new()
67 slots.push(LocalSlot::new(ty, next_stack)); in new()
73 stack_size: next_stack, in new()
211 let mut next_stack = 0u32; in compute_arg_slots() localVariable
220 .map(|arg| Self::abi_arg_slot(&arg, &mut next_stack, arg_base_offset)) in compute_arg_slots()
225 .map(|arg| Self::abi_arg_slot(&arg, &mut next_stack, arg_base_offset)) in compute_arg_slots()
229 .map(|arg| Self::abi_arg_slot(&arg, &mut next_stack, arg_base_offset)) in compute_arg_slots()
232 Ok(([callee_vmctx, caller_vmctx], slots, next_stack)) in compute_arg_slots()
240 *next_stack = align_to(*next_stack, *size) + *size; in abi_arg_slot()
[all …]
/wasmtime-44.0.1/cranelift/codegen/src/isa/x64/
H A Dabi.rs106 let mut next_stack: u32 = 0; in compute_arg_locs() localVariable
115 next_stack = 32; in compute_arg_locs()
160 next_stack += size; in compute_arg_locs()
237 next_stack = align_to(next_stack, 8) + 8; in compute_arg_locs()
284 next_stack = align_to(next_stack, size); in compute_arg_locs()
364 next_stack = align_to(next_stack, size); in compute_arg_locs()
373 next_stack += size; in compute_arg_locs()
390 next_stack = align_to(next_stack, 16); in compute_arg_locs()
392 next_stack += 16; in compute_arg_locs()
409 next_stack = align_to(next_stack, 16); in compute_arg_locs()
[all …]
/wasmtime-44.0.1/cranelift/codegen/src/isa/
H A Dwinch.rs5 pub(super) fn reverse_stack(mut args: ArgsAccumulator, next_stack: u32, uses_extension: bool) { in reverse_stack()
15 *offset = i64::from(next_stack) - *offset - size; in reverse_stack()
/wasmtime-44.0.1/cranelift/codegen/src/isa/s390x/
H A Dabi.rs319 let mut next_stack: u32 = 0; in compute_arg_locs() localVariable
406 next_stack = align_to(next_stack, slot_align); in compute_arg_locs()
415 let offset = (next_stack + offset) as i64; in compute_arg_locs()
416 next_stack += slot_size; in compute_arg_locs()
443 next_stack = align_to(next_stack, 8); in compute_arg_locs()
458 *offset = next_stack as i64; in compute_arg_locs()
459 next_stack += (ty_bits(*ty) / 8) as u32; in compute_arg_locs()
471 if call_conv == isa::CallConv::Tail && args_or_rets == ArgsOrRets::Args && next_stack != 0 { in compute_arg_locs()
472 next_stack += REG_SAVE_AREA_SIZE; in compute_arg_locs()
475 Ok((next_stack, extra_arg)) in compute_arg_locs()
/wasmtime-44.0.1/cranelift/codegen/src/isa/aarch64/
H A Dabi.rs150 let mut next_stack: u32 = 0; in compute_arg_locs() localVariable
365 next_stack = align_to(next_stack, size); in compute_arg_locs()
372 .scan(next_stack, |next_stack, ty| { in compute_arg_locs()
373 let slot_offset = *next_stack as i64; in compute_arg_locs()
374 *next_stack += (ty_bits(ty) / 8) as u32; in compute_arg_locs()
390 next_stack += size; in compute_arg_locs()
401 winch::reverse_stack(args, next_stack, false); in compute_arg_locs()
404 next_stack = align_to(next_stack, 16); in compute_arg_locs()
406 Ok((next_stack, extra_arg)) in compute_arg_locs()
/wasmtime-44.0.1/cranelift/codegen/src/isa/riscv64/
H A Dabi.rs111 let mut next_stack: u32 = 0; in compute_arg_locs() localVariable
170 next_stack = align_to(next_stack, size); in compute_arg_locs()
172 offset: next_stack as i64, in compute_arg_locs()
176 next_stack += size; in compute_arg_locs()
191 next_stack = align_to(next_stack, Self::stack_align(call_conv)); in compute_arg_locs()
193 Ok((next_stack, pos)) in compute_arg_locs()
/wasmtime-44.0.1/cranelift/codegen/src/isa/pulley_shared/
H A Dabi.rs76 let mut next_stack: u32 = 0; in compute_arg_locs() localVariable
136 next_stack = align_to(next_stack, size); in compute_arg_locs()
139 offset: i64::from(next_stack), in compute_arg_locs()
144 next_stack += size; in compute_arg_locs()
161 next_stack = align_to(next_stack, Self::stack_align(call_conv)); in compute_arg_locs()
163 Ok((next_stack, pos)) in compute_arg_locs()
/wasmtime-44.0.1/winch/codegen/src/isa/aarch64/
H A Dabi.rs181 let next_stack = if params_or_returns == ParamsOrReturns::Params { in to_abi_operand() localVariable
188 (arg, next_stack) in to_abi_operand()