Lines Matching refs:local_size

893 	sljit_s32 fscratches, sljit_s32 fsaveds, sljit_s32 local_size)  in sljit_emit_enter()  argument
899 …ljit_emit_enter(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds, local_size)); in sljit_emit_enter()
900 set_emit_enter(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds, local_size); in sljit_emit_enter()
902 local_size += GET_SAVED_REGISTERS_SIZE(scratches, saveds - saved_arg_count, 1); in sljit_emit_enter()
903 local_size += GET_SAVED_FLOAT_REGISTERS_SIZE(fscratches, fsaveds, f64); in sljit_emit_enter()
905 local_size = (local_size + SLJIT_LOCALS_OFFSET + 15) & ~0xf; in sljit_emit_enter()
906 compiler->local_size = local_size; in sljit_emit_enter()
908 if (local_size <= STACK_MAX_DISTANCE) { in sljit_emit_enter()
910 FAIL_IF(push_inst(compiler, ADDI_D | RD(SLJIT_SP) | RJ(SLJIT_SP) | IMM_I12(-local_size))); in sljit_emit_enter()
911 offset = local_size - SSIZE_OF(sw); in sljit_emit_enter()
912 local_size = 0; in sljit_emit_enter()
915 local_size -= STACK_MAX_DISTANCE; in sljit_emit_enter()
917 if (local_size > STACK_MAX_DISTANCE) in sljit_emit_enter()
918 FAIL_IF(load_immediate(compiler, TMP_REG1, local_size)); in sljit_emit_enter()
946 if (local_size > STACK_MAX_DISTANCE) in sljit_emit_enter()
948 else if (local_size > 0) in sljit_emit_enter()
949 FAIL_IF(push_inst(compiler, ADDI_D | RD(SLJIT_SP) | RJ(SLJIT_SP) | IMM_I12(-local_size))); in sljit_emit_enter()
977 sljit_s32 fscratches, sljit_s32 fsaveds, sljit_s32 local_size) in sljit_set_context() argument
980 …jit_set_context(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds, local_size)); in sljit_set_context()
981 set_set_context(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds, local_size); in sljit_set_context()
983 local_size += GET_SAVED_REGISTERS_SIZE(scratches, saveds - SLJIT_KEPT_SAVEDS_COUNT(options), 1); in sljit_set_context()
984 local_size += GET_SAVED_FLOAT_REGISTERS_SIZE(fscratches, fsaveds, f64); in sljit_set_context()
986 compiler->local_size = (local_size + SLJIT_LOCALS_OFFSET + 15) & ~0xf; in sljit_set_context()
996 sljit_s32 local_size = compiler->local_size; in emit_stack_frame_release() local
998 if (local_size > STACK_MAX_DISTANCE) { in emit_stack_frame_release()
999 local_size -= STACK_MAX_DISTANCE; in emit_stack_frame_release()
1001 if (local_size > STACK_MAX_DISTANCE) { in emit_stack_frame_release()
1002 FAIL_IF(load_immediate(compiler, TMP_REG2, local_size)); in emit_stack_frame_release()
1005 FAIL_IF(push_inst(compiler, ADDI_D | RD(SLJIT_SP) | RJ(SLJIT_SP) | IMM_I12(local_size))); in emit_stack_frame_release()
1007 local_size = STACK_MAX_DISTANCE; in emit_stack_frame_release()
1010 SLJIT_ASSERT(local_size > 0); in emit_stack_frame_release()
1012 offset = local_size - SSIZE_OF(sw); in emit_stack_frame_release()
1038 return push_inst(compiler, ADDI_D | RD(SLJIT_SP) | RJ(SLJIT_SP) | IMM_I12(local_size)); in emit_stack_frame_release()
2181 …ompiler, WORD_DATA | LOAD_DATA, dst_r, SLJIT_MEM1(SLJIT_SP), compiler->local_size - SSIZE_OF(sw))); in sljit_emit_op_dst()