Lines Matching refs:stack_size

677 	sljit_sw stack_size = 0;  in call_get_stack_size()  local
685 stack_size += SSIZE_OF(f64); in call_get_stack_size()
688 stack_size += SSIZE_OF(f32); in call_get_stack_size()
692 stack_size += SSIZE_OF(sw); in call_get_stack_size()
702 if (stack_size <= 4 * SSIZE_OF(sw)) in call_get_stack_size()
705 return ((stack_size - (4 * SSIZE_OF(sw)) + 0xf) & ~0xf); in call_get_stack_size()
709 sljit_s32 arg_types, sljit_sw stack_size, sljit_s32 word_arg_count, sljit_s32 keep_tmp1) in call_with_args() argument
723 if (stack_size > 0) in call_with_args()
724 BINARY_IMM32(SUB, stack_size, SLJIT_SP, 0); in call_with_args()
747 EMIT_MOV(compiler, SLJIT_R0, 0, SLJIT_MEM1(SLJIT_SP), 2 * SSIZE_OF(sw) + stack_size); in call_with_args()
760 sljit_s32 arg_types, sljit_s32 stack_size) in post_call_with_args() argument
765 if (stack_size > 0) in post_call_with_args()
766 BINARY_IMM32(ADD, stack_size, SLJIT_SP, 0); in post_call_with_args()
789 sljit_sw stack_size, prev_stack_size, min_size, offset; in tail_call_with_args() local
829 stack_size = args_size + SSIZE_OF(sw) + saved_regs_size; in tail_call_with_args()
831 offset = stack_size + compiler->local_size; in tail_call_with_args()
885 stack_size = args_size + SSIZE_OF(sw); in tail_call_with_args()
889 stack_size += SSIZE_OF(sw); in tail_call_with_args()
893 stack_size += SSIZE_OF(sw); in tail_call_with_args()
900 if (stack_size > min_size) { in tail_call_with_args()
901 BINARY_IMM32(SUB, stack_size - min_size, SLJIT_SP, 0); in tail_call_with_args()
903 srcw += stack_size - min_size; in tail_call_with_args()
904 word_arg4_offset += stack_size - min_size; in tail_call_with_args()
907 stack_size = min_size; in tail_call_with_args()
925 offset = stack_size - 2 * SSIZE_OF(sw); in tail_call_with_args()
942 offset = stack_size - SSIZE_OF(sw); in tail_call_with_args()
1042 sljit_sw stack_size = 0; in sljit_emit_call() local
1057 stack_size = type; in sljit_emit_call()
1058 PTR_FAIL_IF(tail_call_with_args(compiler, &stack_size, arg_types, SLJIT_IMM, 0)); in sljit_emit_call()
1062 if (stack_size == 0) in sljit_emit_call()
1068 PTR_FAIL_IF(emit_tail_call_end(compiler, stack_size)); in sljit_emit_call()
1077 stack_size = call_get_stack_size(arg_types, &word_arg_count); in sljit_emit_call()
1078 PTR_FAIL_IF(call_with_args(compiler, arg_types, stack_size, word_arg_count, 0)); in sljit_emit_call()
1084 PTR_FAIL_IF(post_call_with_args(compiler, arg_types, stack_size)); in sljit_emit_call()
1092 sljit_sw stack_size = 0; in sljit_emit_icall() local
1117 stack_size = type; in sljit_emit_icall()
1118 FAIL_IF(tail_call_with_args(compiler, &stack_size, arg_types, src, srcw)); in sljit_emit_icall()
1127 if (stack_size == 0) in sljit_emit_icall()
1131 return emit_tail_call_end(compiler, stack_size); in sljit_emit_icall()
1148 stack_size = call_get_stack_size(arg_types, &word_arg_count); in sljit_emit_icall()
1149 FAIL_IF(call_with_args(compiler, arg_types, stack_size, word_arg_count, src == TMP_REG1)); in sljit_emit_icall()
1151 if (stack_size > 0 && src == SLJIT_MEM1(SLJIT_SP)) in sljit_emit_icall()
1152 srcw += stack_size; in sljit_emit_icall()
1157 return post_call_with_args(compiler, arg_types, stack_size); in sljit_emit_icall()