Lines Matching refs:local_size

1371 	sljit_s32 fscratches, sljit_s32 fsaveds, sljit_s32 local_size)  in sljit_emit_enter()  argument
1386 …ljit_emit_enter(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds, local_size)); in sljit_emit_enter()
1387 set_emit_enter(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds, local_size); in sljit_emit_enter()
1420 local_size = ((size + local_size + 0x7) & ~0x7) - size; in sljit_emit_enter()
1421 compiler->local_size = local_size; in sljit_emit_enter()
1528 if (local_size >= 4096) { in sljit_emit_enter()
1534 if (local_size < 4 * 4096) { in sljit_emit_enter()
1535 if (local_size > 2 * 4096) { in sljit_emit_enter()
1536 if (local_size > 3 * 4096) { in sljit_emit_enter()
1545 FAIL_IF(load_immediate(compiler, TMP_REG2, ((sljit_uw)local_size >> 12) - 1)); in sljit_emit_enter()
1553 local_size &= 0xfff; in sljit_emit_enter()
1556 if (local_size >= 256) { in sljit_emit_enter()
1557 SLJIT_ASSERT(local_size < 4096); in sljit_emit_enter()
1559 if (local_size <= (127 << 2)) in sljit_emit_enter()
1560 FAIL_IF(push_inst16(compiler, SUB_SP_I | ((sljit_uw)local_size >> 2))); in sljit_emit_enter()
1562 FAIL_IF(emit_op_imm(compiler, SLJIT_SUB | ARG2_IMM, SLJIT_SP, SLJIT_SP, (sljit_uw)local_size)); in sljit_emit_enter()
1565 } else if (local_size > 0) in sljit_emit_enter()
1566 …FAIL_IF(push_inst32(compiler, LDRI | 0x500 | RT4(TMP_REG1) | RN4(SLJIT_SP) | (sljit_uw)local_size)… in sljit_emit_enter()
1568 if (local_size > 0) { in sljit_emit_enter()
1569 if (local_size <= (127 << 2)) in sljit_emit_enter()
1570 FAIL_IF(push_inst16(compiler, SUB_SP_I | ((sljit_uw)local_size >> 2))); in sljit_emit_enter()
1572 FAIL_IF(emit_op_imm(compiler, SLJIT_SUB | ARG2_IMM, SLJIT_SP, SLJIT_SP, (sljit_uw)local_size)); in sljit_emit_enter()
1581 sljit_s32 fscratches, sljit_s32 fsaveds, sljit_s32 local_size) in sljit_set_context() argument
1586 …jit_set_context(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds, local_size)); in sljit_set_context()
1587 set_set_context(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds, local_size); in sljit_set_context()
1595 compiler->local_size = ((size + local_size + 0x7) & ~0x7) - size; in sljit_set_context()
1621 sljit_s32 local_size, fscratches, fsaveds, i, tmp; in emit_stack_frame_release() local
1628 local_size = compiler->local_size; in emit_stack_frame_release()
1633 if (local_size > 0) in emit_stack_frame_release()
1634 FAIL_IF(emit_add_sp(compiler, (sljit_uw)local_size)); in emit_stack_frame_release()
1645 local_size = GET_SAVED_REGISTERS_SIZE(compiler->scratches, compiler->saveds, 1) & 0x7; in emit_stack_frame_release()
1685 if (local_size <= 0xfff) { in emit_stack_frame_release()
1686 if (local_size == 0) { in emit_stack_frame_release()
1694 if (reg_map[restored_reg] <= 7 && local_size <= 0x3fc) in emit_stack_frame_release()
1695 …FAIL_IF(push_inst16(compiler, STR_SP | 0x800 | RDN3(restored_reg) | (sljit_ins)(local_size >> 2))); in emit_stack_frame_release()
1697 … FAIL_IF(push_inst32(compiler, LDR | RT4(restored_reg) | RN4(SLJIT_SP) | (sljit_ins)local_size)); in emit_stack_frame_release()
1706 local_size += SSIZE_OF(sw); in emit_stack_frame_release()
1710 local_size += SSIZE_OF(sw); in emit_stack_frame_release()
1712 if (frame_size > local_size) in emit_stack_frame_release()
1713 FAIL_IF(push_inst16(compiler, SUB_SP_I | ((sljit_ins)(frame_size - local_size) >> 2))); in emit_stack_frame_release()
1714 else if (frame_size < local_size) in emit_stack_frame_release()
1715 FAIL_IF(emit_add_sp(compiler, (sljit_uw)(local_size - frame_size))); in emit_stack_frame_release()
1735 if (local_size > 0) in emit_stack_frame_release()
1736 FAIL_IF(emit_add_sp(compiler, (sljit_uw)local_size)); in emit_stack_frame_release()
2184 SLJIT_ASSERT(((compiler->local_size + size + SSIZE_OF(sw)) & 0x7) == 0); in sljit_emit_op_dst()
2187 …FAIL_IF(emit_op_mem(compiler, WORD_SIZE, dst_r, SLJIT_MEM1(SLJIT_SP), compiler->local_size + size,… in sljit_emit_op_dst()