Lines Matching refs:local_size

932 	sljit_s32 fscratches, sljit_s32 fsaveds, sljit_s32 local_size)  in sljit_emit_enter()  argument
940 …ljit_emit_enter(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds, local_size)); in sljit_emit_enter()
941 set_emit_enter(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds, local_size); in sljit_emit_enter()
943 local_size += GET_SAVED_REGISTERS_SIZE(scratches, saveds - saved_arg_count, 1); in sljit_emit_enter()
946 if ((local_size & SSIZE_OF(sw)) != 0) in sljit_emit_enter()
947 local_size += SSIZE_OF(sw); in sljit_emit_enter()
948 local_size += GET_SAVED_FLOAT_REGISTERS_SIZE(fscratches, fsaveds, f64); in sljit_emit_enter()
951 local_size = (local_size + SLJIT_LOCALS_OFFSET + 15) & ~0xf; in sljit_emit_enter()
953 local_size += GET_SAVED_FLOAT_REGISTERS_SIZE(fscratches, fsaveds, f64); in sljit_emit_enter()
954 local_size = (local_size + SLJIT_LOCALS_OFFSET + 31) & ~0x1f; in sljit_emit_enter()
956 compiler->local_size = local_size; in sljit_emit_enter()
981 if (local_size + offset <= -SIMM_MIN) { in sljit_emit_enter()
983 …FAIL_IF(push_inst(compiler, ADDIU_W | S(SLJIT_SP) | T(SLJIT_SP) | IMM(-local_size), DR(SLJIT_SP))); in sljit_emit_enter()
985 offset = local_size - SSIZE_OF(sw); in sljit_emit_enter()
987 FAIL_IF(load_immediate(compiler, OTHER_FLAG, local_size)); in sljit_emit_enter()
993 local_size = 0; in sljit_emit_enter()
1065 …FAIL_IF(push_inst(compiler, LDC1 | base | FT(float_arg_count) | IMM(local_size + (arg_count << 2))… in sljit_emit_enter()
1077 …FAIL_IF(push_inst(compiler, LWC1 | base | FT(float_arg_count) | IMM(local_size + (arg_count << 2))… in sljit_emit_enter()
1093 FAIL_IF(push_inst(compiler, LW | base | T(tmp) | IMM(local_size + (arg_count << 2)), DR(tmp))); in sljit_emit_enter()
1142 sljit_s32 fscratches, sljit_s32 fsaveds, sljit_s32 local_size) in sljit_set_context() argument
1145 …jit_set_context(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds, local_size)); in sljit_set_context()
1146 set_set_context(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds, local_size); in sljit_set_context()
1148 local_size += GET_SAVED_REGISTERS_SIZE(scratches, saveds - SLJIT_KEPT_SAVEDS_COUNT(options), 1); in sljit_set_context()
1151 if ((local_size & SSIZE_OF(sw)) != 0) in sljit_set_context()
1152 local_size += SSIZE_OF(sw); in sljit_set_context()
1153 local_size += GET_SAVED_FLOAT_REGISTERS_SIZE(fscratches, fsaveds, f64); in sljit_set_context()
1156 compiler->local_size = (local_size + SLJIT_LOCALS_OFFSET + 15) & ~0xf; in sljit_set_context()
1158 local_size += GET_SAVED_FLOAT_REGISTERS_SIZE(fscratches, fsaveds, f64); in sljit_set_context()
1159 compiler->local_size = (local_size + SLJIT_LOCALS_OFFSET + 31) & ~0x1f; in sljit_set_context()
1166 sljit_s32 local_size, i, tmp, offset; in emit_stack_frame_release() local
1177 local_size = compiler->local_size; in emit_stack_frame_release()
1190 if (local_size <= SIMM_MAX) { in emit_stack_frame_release()
1191 if (local_size < frame_size) { in emit_stack_frame_release()
1192 …FAIL_IF(push_inst(compiler, ADDIU_W | S(SLJIT_SP) | T(SLJIT_SP) | IMM(local_size - frame_size), DR… in emit_stack_frame_release()
1193 local_size = frame_size; in emit_stack_frame_release()
1199 FAIL_IF(load_immediate(compiler, DR(TMP_REG2), local_size - tmp)); in emit_stack_frame_release()
1201 local_size = tmp; in emit_stack_frame_release()
1204 SLJIT_ASSERT(local_size >= frame_size); in emit_stack_frame_release()
1206 offset = local_size - SSIZE_OF(sw); in emit_stack_frame_release()
1238 if (local_size > frame_size) in emit_stack_frame_release()
1239 *ins_ptr = ADDIU_W | S(SLJIT_SP) | T(SLJIT_SP) | IMM(local_size - frame_size); in emit_stack_frame_release()
2799 …mpiler, WORD_DATA | LOAD_DATA, dst_ar, SLJIT_MEM1(SLJIT_SP), compiler->local_size - SSIZE_OF(sw))); in sljit_emit_op_dst()