Lines Matching refs:used_stack
8456 int32_t used_stack = 0;
8470 used_stack += IR_MAX(sizeof(void*), ir_type_size[type]);
8480 used_stack += IR_MAX(sizeof(void*), ir_type_size[type]);
8491 used_stack += IR_SHADOW_ARGS;
8493 return used_stack;
8512 int32_t used_stack, stack_offset = IR_SHADOW_ARGS;
8543 used_stack = 0;
8545 used_stack = ir_call_used_stack(ctx, insn);
8548 && used_stack == IR_SHADOW_ARGS) {
8549 used_stack = 0;
8552 && used_stack <= ctx->fixed_call_stack_size
8557 used_stack = 0;
8560 int32_t aligned_stack = IR_ALIGNED_SIZE(used_stack, 16);
8767 return used_stack;
8770 static void ir_emit_call_ex(ir_ctx *ctx, ir_ref def, ir_insn *insn, int32_t used_stack)
8820 if (used_stack) {
8821 int32_t aligned_stack = IR_ALIGNED_SIZE(used_stack, 16);
8825 aligned_stack -= used_stack;
8898 int32_t used_stack = ir_emit_arguments(ctx, def, insn, ctx->regs[def][1]);
8899 ir_emit_call_ex(ctx, def, insn, used_stack);
8906 int32_t used_stack = ir_emit_arguments(ctx, def, insn, ctx->regs[def][1]);
8908 if (used_stack != 0) {
8909 ir_emit_call_ex(ctx, def, insn, used_stack);