Lines Matching refs:local_size

849 	sljit_s32 fscratches, sljit_s32 fsaveds, sljit_s32 local_size)  in sljit_emit_enter()  argument
859 …ljit_emit_enter(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds, local_size)); in sljit_emit_enter()
860 set_emit_enter(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds, local_size); in sljit_emit_enter()
862 local_size += GET_SAVED_REGISTERS_SIZE(scratches, saveds - saved_arg_count, 0) in sljit_emit_enter()
866 local_size += SSIZE_OF(sw); in sljit_emit_enter()
868 local_size = (local_size + SLJIT_LOCALS_OFFSET + 15) & ~0xf; in sljit_emit_enter()
869 compiler->local_size = local_size; in sljit_emit_enter()
874 offset = local_size; in sljit_emit_enter()
876 if (local_size <= STACK_MAX_DISTANCE) { in sljit_emit_enter()
878 FAIL_IF(push_inst(compiler, STWU | S(SLJIT_SP) | A(SLJIT_SP) | IMM(-local_size))); in sljit_emit_enter()
880 FAIL_IF(push_inst(compiler, STDU | S(SLJIT_SP) | A(SLJIT_SP) | IMM(-local_size))); in sljit_emit_enter()
885 FAIL_IF(load_immediate(compiler, TMP_REG2, -local_size)); in sljit_emit_enter()
891 local_size = 0; in sljit_emit_enter()
922 FAIL_IF(push_inst(compiler, STACK_STORE | S(0) | A(base) | IMM(local_size + LR_SAVE_OFFSET))); in sljit_emit_enter()
966 sljit_s32 fscratches, sljit_s32 fsaveds, sljit_s32 local_size) in sljit_set_context() argument
969 …jit_set_context(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds, local_size)); in sljit_set_context()
970 set_set_context(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds, local_size); in sljit_set_context()
972 local_size += GET_SAVED_REGISTERS_SIZE(scratches, saveds - SLJIT_KEPT_SAVEDS_COUNT(options), 0) in sljit_set_context()
976 local_size += SSIZE_OF(sw); in sljit_set_context()
978 compiler->local_size = (local_size + SLJIT_LOCALS_OFFSET + 15) & ~0xf; in sljit_set_context()
985 sljit_s32 local_size = compiler->local_size; in emit_stack_frame_release() local
990 if (local_size > STACK_MAX_DISTANCE) { in emit_stack_frame_release()
992 if (local_size > 2 * STACK_MAX_DISTANCE + LR_SAVE_OFFSET) { in emit_stack_frame_release()
994 local_size = 0; in emit_stack_frame_release()
996 …FAIL_IF(push_inst(compiler, ADDI | D(TMP_REG2) | A(SLJIT_SP) | IMM(local_size - STACK_MAX_DISTANCE… in emit_stack_frame_release()
997 local_size = STACK_MAX_DISTANCE; in emit_stack_frame_release()
1001 offset = local_size; in emit_stack_frame_release()
1035 if (local_size > 0) in emit_stack_frame_release()
1036 return push_inst(compiler, ADDI | D(SLJIT_SP) | A(base) | IMM(local_size)); in emit_stack_frame_release()
2140 …ompiler, WORD_DATA | LOAD_DATA, dst_r, SLJIT_MEM1(SLJIT_SP), compiler->local_size + LR_SAVE_OFFSET… in sljit_emit_op_dst()