Lines Matching refs:stack_size

629 	sljit_sw stack_size = 0;  in call_get_stack_size()  local
637 stack_size += SSIZE_OF(f64); in call_get_stack_size()
640 stack_size += SSIZE_OF(f32); in call_get_stack_size()
644 stack_size += SSIZE_OF(sw); in call_get_stack_size()
654 if (stack_size <= 4 * SSIZE_OF(sw)) in call_get_stack_size()
657 return ((stack_size - (4 * SSIZE_OF(sw)) + 0xf) & ~0xf); in call_get_stack_size()
661 sljit_s32 arg_types, sljit_sw stack_size, sljit_s32 word_arg_count, sljit_s32 keep_tmp1) in call_with_args() argument
675 if (stack_size > 0) in call_with_args()
676 BINARY_IMM32(SUB, stack_size, SLJIT_SP, 0); in call_with_args()
699 EMIT_MOV(compiler, SLJIT_R0, 0, SLJIT_MEM1(SLJIT_SP), 2 * SSIZE_OF(sw) + stack_size); in call_with_args()
712 sljit_s32 arg_types, sljit_s32 stack_size) in post_call_with_args() argument
717 if (stack_size > 0) in post_call_with_args()
718 BINARY_IMM32(ADD, stack_size, SLJIT_SP, 0); in post_call_with_args()
741 sljit_sw stack_size, prev_stack_size, min_size, offset; in tail_call_with_args() local
781 stack_size = args_size + SSIZE_OF(sw) + saved_regs_size; in tail_call_with_args()
783 offset = stack_size + compiler->local_size; in tail_call_with_args()
837 stack_size = args_size + SSIZE_OF(sw); in tail_call_with_args()
841 stack_size += SSIZE_OF(sw); in tail_call_with_args()
845 stack_size += SSIZE_OF(sw); in tail_call_with_args()
852 if (stack_size > min_size) { in tail_call_with_args()
853 BINARY_IMM32(SUB, stack_size - min_size, SLJIT_SP, 0); in tail_call_with_args()
855 srcw += stack_size - min_size; in tail_call_with_args()
856 word_arg4_offset += stack_size - min_size; in tail_call_with_args()
859 stack_size = min_size; in tail_call_with_args()
877 offset = stack_size - 2 * SSIZE_OF(sw); in tail_call_with_args()
894 offset = stack_size - SSIZE_OF(sw); in tail_call_with_args()
1000 sljit_sw stack_size = 0; in sljit_emit_call() local
1015 stack_size = type; in sljit_emit_call()
1016 PTR_FAIL_IF(tail_call_with_args(compiler, &stack_size, arg_types, SLJIT_IMM, 0)); in sljit_emit_call()
1020 if (stack_size == 0) in sljit_emit_call()
1026 PTR_FAIL_IF(emit_tail_call_end(compiler, stack_size)); in sljit_emit_call()
1035 stack_size = call_get_stack_size(arg_types, &word_arg_count); in sljit_emit_call()
1036 PTR_FAIL_IF(call_with_args(compiler, arg_types, stack_size, word_arg_count, 0)); in sljit_emit_call()
1042 PTR_FAIL_IF(post_call_with_args(compiler, arg_types, stack_size)); in sljit_emit_call()
1050 sljit_sw stack_size = 0; in sljit_emit_icall() local
1075 stack_size = type; in sljit_emit_icall()
1076 FAIL_IF(tail_call_with_args(compiler, &stack_size, arg_types, src, srcw)); in sljit_emit_icall()
1085 if (stack_size == 0) in sljit_emit_icall()
1089 return emit_tail_call_end(compiler, stack_size); in sljit_emit_icall()
1106 stack_size = call_get_stack_size(arg_types, &word_arg_count); in sljit_emit_icall()
1107 FAIL_IF(call_with_args(compiler, arg_types, stack_size, word_arg_count, src == TMP_REG1)); in sljit_emit_icall()
1109 if (stack_size > 0 && src == SLJIT_MEM1(SLJIT_SP)) in sljit_emit_icall()
1110 srcw += stack_size; in sljit_emit_icall()
1115 return post_call_with_args(compiler, arg_types, stack_size); in sljit_emit_icall()