Home
last modified time | relevance | path

Searched refs:saveds (Results 1 – 13 of 13) sorted by relevance

/php-src/ext/pcre/pcre2lib/sljit/
H A DsljitNativeX86_32.c395 size = (scratches > 9 ? (scratches - 9) : 0) + (saveds <= 3 ? saveds : 3) - kept_saveds_count; in sljit_emit_enter()
572saveds = (1 + (scratches > 9 ? (scratches - 9) : 0) + (saveds <= 3 ? saveds : 3) - SLJIT_KEPT_SAVE… in sljit_set_context()
576 saveds += SSIZE_OF(sw); in sljit_set_context()
585 sljit_s32 local_size, saveds; in emit_stack_frame_release() local
590 (compiler->saveds <= 3 ? compiler->saveds : 3) - kept_saveds_count); in emit_stack_frame_release()
612 saveds = compiler->saveds; in emit_stack_frame_release()
796 + (compiler->saveds <= 3 ? compiler->saveds : 3) - kept_saveds_count) * SSIZE_OF(sw); in tail_call_with_args()
1233 sljit_s32 saveds = compiler->saveds; in sljit_emit_get_return_address() local
1236saveds = ((scratches > 9 ? (scratches - 9) : 0) + (saveds <= 3 ? saveds : 3) - SLJIT_KEPT_SAVEDS_C… in sljit_emit_get_return_address()
1240 saveds += SSIZE_OF(sw); in sljit_emit_get_return_address()
[all …]
H A DsljitNativeX86_64.c457 sljit_s32 options, sljit_s32 arg_types, sljit_s32 scratches, sljit_s32 saveds, in sljit_emit_enter() argument
472 …CHECK(check_sljit_emit_enter(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds,… in sljit_emit_enter()
473 set_emit_enter(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds, local_size); in sljit_emit_enter()
484 saved_regs_size = GET_SAVED_REGISTERS_SIZE(scratches, saveds - saved_arg_count, 1); in sljit_emit_enter()
486 tmp = SLJIT_S0 - saveds; in sljit_emit_enter()
633 sljit_s32 options, sljit_s32 arg_types, sljit_s32 scratches, sljit_s32 saveds, in sljit_set_context() argument
642 …CHECK(check_sljit_set_context(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds… in sljit_set_context()
643 set_set_context(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds, local_size); in sljit_set_context()
656 …saved_regs_size = GET_SAVED_REGISTERS_SIZE(scratches, saveds - SLJIT_KEPT_SAVEDS_COUNT(options), 1… in sljit_set_context()
716 for (i = SLJIT_S0 + 1 - compiler->saveds; i <= tmp; i++) { in emit_stack_frame_release()
[all …]
H A DsljitSerialize.c56 sljit_s32 saveds; member
188 serialized_compiler->saveds = compiler->saveds; in sljit_serialize_compiler()
328 compiler->saveds = serialized_compiler->saveds; in sljit_deserialize_compiler()
H A DsljitLir.c304 #define GET_SAVED_REGISTERS_SIZE(scratches, saveds, extra) \ argument
306 (saveds) + (sljit_s32)(extra)) * (sljit_s32)sizeof(sljit_sw))
501 compiler->saveds = -1; in sljit_create_compiler()
764 compiler->saveds = saveds; in set_emit_enter()
782 compiler->saveds = saveds; in set_set_context()
890 if (saveds == -1) in function_check_arguments()
898 || ((r) > (SLJIT_S0 - compiler->saveds) && (r) <= SLJIT_S0) \
1268 CHECK_ARGUMENT(saveds >= 0 && saveds <= SLJIT_NUMBER_OF_SAVED_REGISTERS); in check_sljit_emit_enter()
1311 scratches, saveds, fscratches, fsaveds, local_size); in check_sljit_emit_enter()
1331 CHECK_ARGUMENT(saveds >= 0 && saveds <= SLJIT_NUMBER_OF_SAVED_REGISTERS); in check_sljit_set_context()
[all …]
H A DsljitNativeS390X.c1677 if (saveds + scratches >= SLJIT_NUMBER_OF_REGISTERS) { in sljit_emit_enter()
1695 if (saveds == 0) { in sljit_emit_enter()
1700 offset += (saveds + 1) * SSIZE_OF(sw); in sljit_emit_enter()
1702 } else if (saveds > saved_arg_count) { in sljit_emit_enter()
1703 if (saveds == saved_arg_count + 1) { in sljit_emit_enter()
1774 sljit_s32 saveds = compiler->saveds; in emit_stack_frame_release() local
1804 if (saveds == 0) { in emit_stack_frame_release()
1808 } else if (saveds == 1 && last_reg == r13) { in emit_stack_frame_release()
1813 offset += (saveds + 1) * SSIZE_OF(sw); in emit_stack_frame_release()
1815 } else if (saveds > kept_saveds_count) { in emit_stack_frame_release()
[all …]
H A DsljitLir.h481 sljit_s32 saveds; member
820 sljit_s32 options, sljit_s32 arg_types, sljit_s32 scratches, sljit_s32 saveds,
837 sljit_s32 options, sljit_s32 arg_types, sljit_s32 scratches, sljit_s32 saveds,
H A DsljitNativePPC_common.c848 sljit_s32 options, sljit_s32 arg_types, sljit_s32 scratches, sljit_s32 saveds, in sljit_emit_enter() argument
859 …CHECK(check_sljit_emit_enter(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds,… 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()
911 tmp = SLJIT_S0 - saveds; in sljit_emit_enter()
965 sljit_s32 options, sljit_s32 arg_types, sljit_s32 scratches, sljit_s32 saveds, in sljit_set_context() argument
969 …CHECK(check_sljit_set_context(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds… 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()
1021 tmp = SLJIT_S0 - compiler->saveds; in emit_stack_frame_release()
H A DsljitNativeARM_64.c1211 sljit_s32 options, sljit_s32 arg_types, sljit_s32 scratches, sljit_s32 saveds, in sljit_emit_enter() argument
1219 …CHECK(check_sljit_emit_enter(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds,… in sljit_emit_enter()
1220 set_emit_enter(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds, local_size); in sljit_emit_enter()
1222 saved_regs_size = GET_SAVED_REGISTERS_SIZE(scratches, saveds - saved_arg_count, 2); in sljit_emit_enter()
1244 tmp = SLJIT_S0 - saveds; in sljit_emit_enter()
1386 sljit_s32 options, sljit_s32 arg_types, sljit_s32 scratches, sljit_s32 saveds, in sljit_set_context() argument
1392 …CHECK(check_sljit_set_context(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds… in sljit_set_context()
1393 set_set_context(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds, local_size); in sljit_set_context()
1395 …saved_regs_size = GET_SAVED_REGISTERS_SIZE(scratches, saveds - SLJIT_KEPT_SAVEDS_COUNT(options), 2… in sljit_set_context()
1439 tmp = SLJIT_S0 - compiler->saveds; in emit_stack_frame_release()
H A DsljitNativeARM_T2_32.c1370 sljit_s32 options, sljit_s32 arg_types, sljit_s32 scratches, sljit_s32 saveds, in sljit_emit_enter() argument
1386 …CHECK(check_sljit_emit_enter(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds,… in sljit_emit_enter()
1387 set_emit_enter(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds, local_size); in sljit_emit_enter()
1389 tmp = SLJIT_S0 - saveds; in sljit_emit_enter()
1402 size = GET_SAVED_REGISTERS_SIZE(scratches, saveds - saved_arg_count, 1); in sljit_emit_enter()
1580 sljit_s32 options, sljit_s32 arg_types, sljit_s32 scratches, sljit_s32 saveds, in sljit_set_context() argument
1586 …CHECK(check_sljit_set_context(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds… in sljit_set_context()
1587 set_set_context(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds, local_size); in sljit_set_context()
1589 size = GET_SAVED_REGISTERS_SIZE(scratches, saveds - SLJIT_KEPT_SAVEDS_COUNT(options), 1); in sljit_set_context()
1645 local_size = GET_SAVED_REGISTERS_SIZE(compiler->scratches, compiler->saveds, 1) & 0x7; in emit_stack_frame_release()
[all …]
H A DsljitNativeARM_32.c1228 sljit_s32 options, sljit_s32 arg_types, sljit_s32 scratches, sljit_s32 saveds, in sljit_emit_enter() argument
1243 …CHECK(check_sljit_emit_enter(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds,… in sljit_emit_enter()
1244 set_emit_enter(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds, local_size); in sljit_emit_enter()
1248 tmp = SLJIT_S0 - saveds; in sljit_emit_enter()
1266 size = GET_SAVED_REGISTERS_SIZE(scratches, saveds - saved_arg_count, 1); in sljit_emit_enter()
1394 sljit_s32 options, sljit_s32 arg_types, sljit_s32 scratches, sljit_s32 saveds, in sljit_set_context() argument
1400 …CHECK(check_sljit_set_context(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds… in sljit_set_context()
1401 set_set_context(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds, local_size); in sljit_set_context()
1403 size = GET_SAVED_REGISTERS_SIZE(scratches, saveds - SLJIT_KEPT_SAVEDS_COUNT(options), 1); in sljit_set_context()
1449 local_size = GET_SAVED_REGISTERS_SIZE(compiler->scratches, compiler->saveds, 1) & 0x7; in emit_stack_frame_release()
[all …]
H A DsljitNativeRISCV_common.c727 sljit_s32 options, sljit_s32 arg_types, sljit_s32 scratches, sljit_s32 saveds, in sljit_emit_enter() argument
734 …CHECK(check_sljit_emit_enter(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds,… in sljit_emit_enter()
735 set_emit_enter(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds, local_size); in sljit_emit_enter()
737 local_size += GET_SAVED_REGISTERS_SIZE(scratches, saveds - saved_arg_count, 1); in sljit_emit_enter()
766 tmp = SLJIT_S0 - saveds; in sljit_emit_enter()
824 sljit_s32 options, sljit_s32 arg_types, sljit_s32 scratches, sljit_s32 saveds, in sljit_set_context() argument
828 …CHECK(check_sljit_set_context(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds… in sljit_set_context()
829 set_set_context(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds, local_size); in sljit_set_context()
831 local_size += GET_SAVED_REGISTERS_SIZE(scratches, saveds - SLJIT_KEPT_SAVEDS_COUNT(options), 1); in sljit_set_context()
871 tmp = SLJIT_S0 - compiler->saveds; in emit_stack_frame_release()
H A DsljitNativeMIPS_common.c931 sljit_s32 options, sljit_s32 arg_types, sljit_s32 scratches, sljit_s32 saveds, in sljit_emit_enter() argument
940 …CHECK(check_sljit_emit_enter(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds,… 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()
999 tmp = SLJIT_S0 - saveds; in sljit_emit_enter()
1141 sljit_s32 options, sljit_s32 arg_types, sljit_s32 scratches, sljit_s32 saveds, in sljit_set_context() argument
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()
1169 sljit_s32 saveds = compiler->saveds; in emit_stack_frame_release() local
1179 tmp = GET_SAVED_REGISTERS_SIZE(scratches, saveds - kept_saveds_count, 1); in emit_stack_frame_release()
[all …]
H A DsljitNativeLOONGARCH_64.c892 sljit_s32 options, sljit_s32 arg_types, sljit_s32 scratches, sljit_s32 saveds, in sljit_emit_enter() argument
899 …CHECK(check_sljit_emit_enter(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds,… 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()
924 tmp = SLJIT_S0 - saveds; in sljit_emit_enter()
976 sljit_s32 options, sljit_s32 arg_types, sljit_s32 scratches, sljit_s32 saveds, in sljit_set_context() argument
980 …CHECK(check_sljit_set_context(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds… 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()
1016 tmp = SLJIT_S0 - compiler->saveds; in emit_stack_frame_release()

Completed in 183 milliseconds