Lines Matching refs:used_stack
4617 int32_t used_stack = 0;
4628 used_stack += IR_MAX(sizeof(void*), ir_type_size[type]);
4633 used_stack += IR_MAX(sizeof(void*), ir_type_size[type]);
4639 used_stack += IR_MAX(sizeof(void*), ir_type_size[type]);
4645 return used_stack;
4664 int32_t used_stack, stack_offset = 0;
4681 used_stack = 0;
4683 used_stack = ir_call_used_stack(ctx, insn);
4685 used_stack = IR_ALIGNED_SIZE(used_stack, 16);
4686 if (ctx->fixed_call_stack_size && used_stack <= ctx->fixed_call_stack_size) {
4687 used_stack = 0;
4689 ctx->call_stack_size += used_stack;
4690 if (used_stack) {
4696 | sub sp, sp, #used_stack
4839 return used_stack;
4842 static void ir_emit_call_ex(ir_ctx *ctx, ir_ref def, ir_insn *insn, int32_t used_stack)
4868 if (used_stack) {
4869 | add sp, sp, #used_stack
4870 ctx->call_stack_size -= used_stack;
4905 int32_t used_stack = ir_emit_arguments(ctx, def, insn, ctx->regs[def][1]);
4906 ir_emit_call_ex(ctx, def, insn, used_stack);
4913 int32_t used_stack = ir_emit_arguments(ctx, def, insn, ctx->regs[def][1]);
4915 if (used_stack != 0) {
4916 ir_emit_call_ex(ctx, def, insn, used_stack);