Home
last modified time | relevance | path

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

/php-src/ext/pcre/pcre2lib/sljit/
H A DsljitNativeX86_32.c398 size = (scratches > 9 ? (scratches - 9) : 0) + (saveds <= 3 ? saveds : 3) - kept_saveds_count; in sljit_emit_enter()
575saveds = (1 + (scratches > 9 ? (scratches - 9) : 0) + (saveds <= 3 ? saveds : 3) - SLJIT_KEPT_SAVE… in sljit_set_context()
579 saveds += SSIZE_OF(sw); in sljit_set_context()
588 sljit_s32 local_size, saveds; in emit_stack_frame_release() local
593 (compiler->saveds <= 3 ? compiler->saveds : 3) - kept_saveds_count); in emit_stack_frame_release()
615 saveds = compiler->saveds; in emit_stack_frame_release()
799 + (compiler->saveds <= 3 ? compiler->saveds : 3) - kept_saveds_count) * SSIZE_OF(sw); in tail_call_with_args()
1236 sljit_s32 saveds = compiler->saveds; in sljit_emit_get_return_address() local
1239saveds = ((scratches > 9 ? (scratches - 9) : 0) + (saveds <= 3 ? saveds : 3) - SLJIT_KEPT_SAVEDS_C… in sljit_emit_get_return_address()
1243 saveds += SSIZE_OF(sw); in sljit_emit_get_return_address()
[all …]
H A DsljitNativeX86_64.c453 sljit_s32 options, sljit_s32 arg_types, sljit_s32 scratches, sljit_s32 saveds, in sljit_emit_enter() argument
468 …CHECK(check_sljit_emit_enter(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds,… in sljit_emit_enter()
469 set_emit_enter(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds, local_size); in sljit_emit_enter()
480 saved_regs_size = GET_SAVED_REGISTERS_SIZE(scratches, saveds - saved_arg_count, 1); in sljit_emit_enter()
482 tmp = SLJIT_S0 - saveds; in sljit_emit_enter()
629 sljit_s32 options, sljit_s32 arg_types, sljit_s32 scratches, sljit_s32 saveds, in sljit_set_context() argument
638 …CHECK(check_sljit_set_context(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds… in sljit_set_context()
639 set_set_context(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds, local_size); in sljit_set_context()
652 …saved_regs_size = GET_SAVED_REGISTERS_SIZE(scratches, saveds - SLJIT_KEPT_SAVEDS_COUNT(options), 1… in sljit_set_context()
712 for (i = SLJIT_S0 + 1 - compiler->saveds; i <= tmp; i++) { in emit_stack_frame_release()
[all …]
H A DsljitLir.c275 #define GET_SAVED_REGISTERS_SIZE(scratches, saveds, extra) \ argument
277 (saveds) + (sljit_s32)(extra)) * (sljit_s32)sizeof(sljit_sw))
464 compiler->saveds = -1; in sljit_create_compiler()
719 compiler->saveds = saveds; in set_emit_enter()
737 compiler->saveds = saveds; in set_set_context()
843 if (saveds == -1) in function_check_arguments()
851 || ((r) > (SLJIT_S0 - compiler->saveds) && (r) <= SLJIT_S0) \
1211 CHECK_ARGUMENT(saveds >= 0 && saveds <= SLJIT_NUMBER_OF_SAVED_REGISTERS); in check_sljit_emit_enter()
1248 scratches, saveds, fscratches, fsaveds, local_size); in check_sljit_emit_enter()
1268 CHECK_ARGUMENT(saveds >= 0 && saveds <= SLJIT_NUMBER_OF_SAVED_REGISTERS); in check_sljit_set_context()
[all …]
H A DsljitNativeS390X.c1710 if (saveds + scratches >= SLJIT_NUMBER_OF_REGISTERS) { in sljit_emit_enter()
1728 if (saveds == 0) { in sljit_emit_enter()
1733 offset += (saveds + 1) * SSIZE_OF(sw); in sljit_emit_enter()
1735 } else if (saveds > saved_arg_count) { in sljit_emit_enter()
1736 if (saveds == saved_arg_count + 1) { in sljit_emit_enter()
1807 sljit_s32 saveds = compiler->saveds; in emit_stack_frame_release() local
1837 if (saveds == 0) { in emit_stack_frame_release()
1841 } else if (saveds == 1 && last_reg == r13) { in emit_stack_frame_release()
1846 offset += (saveds + 1) * SSIZE_OF(sw); in emit_stack_frame_release()
1848 } else if (saveds > kept_saveds_count) { in emit_stack_frame_release()
[all …]
H A DsljitLir.h479 sljit_s32 saveds; member
793 sljit_s32 options, sljit_s32 arg_types, sljit_s32 scratches, sljit_s32 saveds,
810 sljit_s32 options, sljit_s32 arg_types, sljit_s32 scratches, sljit_s32 saveds,
H A DsljitNativePPC_common.c801 sljit_s32 options, sljit_s32 arg_types, sljit_s32 scratches, sljit_s32 saveds, in sljit_emit_enter() argument
812 …CHECK(check_sljit_emit_enter(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds,… in sljit_emit_enter()
813 set_emit_enter(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds, local_size); in sljit_emit_enter()
815 local_size += GET_SAVED_REGISTERS_SIZE(scratches, saveds - saved_arg_count, 0) in sljit_emit_enter()
864 tmp = SLJIT_S0 - saveds; in sljit_emit_enter()
918 sljit_s32 options, sljit_s32 arg_types, sljit_s32 scratches, sljit_s32 saveds, in sljit_set_context() argument
922 …CHECK(check_sljit_set_context(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds… in sljit_set_context()
923 set_set_context(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds, local_size); in sljit_set_context()
925 local_size += GET_SAVED_REGISTERS_SIZE(scratches, saveds - SLJIT_KEPT_SAVEDS_COUNT(options), 0) in sljit_set_context()
972 tmp = SLJIT_S0 - compiler->saveds; in emit_stack_frame_release()
H A DsljitNativeARM_T2_32.c1232 sljit_s32 options, sljit_s32 arg_types, sljit_s32 scratches, sljit_s32 saveds, in sljit_emit_enter() argument
1248 …CHECK(check_sljit_emit_enter(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds,… in sljit_emit_enter()
1249 set_emit_enter(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds, local_size); in sljit_emit_enter()
1251 tmp = SLJIT_S0 - saveds; in sljit_emit_enter()
1264 size = GET_SAVED_REGISTERS_SIZE(scratches, saveds - saved_arg_count, 1); in sljit_emit_enter()
1442 sljit_s32 options, sljit_s32 arg_types, sljit_s32 scratches, sljit_s32 saveds, in sljit_set_context() argument
1448 …CHECK(check_sljit_set_context(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds… in sljit_set_context()
1449 set_set_context(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds, local_size); in sljit_set_context()
1451 size = GET_SAVED_REGISTERS_SIZE(scratches, saveds - SLJIT_KEPT_SAVEDS_COUNT(options), 1); in sljit_set_context()
1507 local_size = GET_SAVED_REGISTERS_SIZE(compiler->scratches, compiler->saveds, 1) & 0x7; in emit_stack_frame_release()
[all …]
H A DsljitNativeARM_64.c1054 sljit_s32 options, sljit_s32 arg_types, sljit_s32 scratches, sljit_s32 saveds, in sljit_emit_enter() argument
1062 …CHECK(check_sljit_emit_enter(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds,… in sljit_emit_enter()
1063 set_emit_enter(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds, local_size); in sljit_emit_enter()
1065 saved_regs_size = GET_SAVED_REGISTERS_SIZE(scratches, saveds - saved_arg_count, 2); in sljit_emit_enter()
1087 tmp = SLJIT_S0 - saveds; in sljit_emit_enter()
1229 sljit_s32 options, sljit_s32 arg_types, sljit_s32 scratches, sljit_s32 saveds, in sljit_set_context() argument
1235 …CHECK(check_sljit_set_context(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds… in sljit_set_context()
1236 set_set_context(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds, local_size); in sljit_set_context()
1238 …saved_regs_size = GET_SAVED_REGISTERS_SIZE(scratches, saveds - SLJIT_KEPT_SAVEDS_COUNT(options), 2… in sljit_set_context()
1282 tmp = SLJIT_S0 - compiler->saveds; in emit_stack_frame_release()
H A DsljitNativeARM_32.c1133 sljit_s32 options, sljit_s32 arg_types, sljit_s32 scratches, sljit_s32 saveds, in sljit_emit_enter() argument
1148 …CHECK(check_sljit_emit_enter(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds,… in sljit_emit_enter()
1149 set_emit_enter(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds, local_size); in sljit_emit_enter()
1153 tmp = SLJIT_S0 - saveds; in sljit_emit_enter()
1171 size = GET_SAVED_REGISTERS_SIZE(scratches, saveds - saved_arg_count, 1); in sljit_emit_enter()
1299 sljit_s32 options, sljit_s32 arg_types, sljit_s32 scratches, sljit_s32 saveds, in sljit_set_context() argument
1305 …CHECK(check_sljit_set_context(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds… in sljit_set_context()
1306 set_set_context(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds, local_size); in sljit_set_context()
1308 size = GET_SAVED_REGISTERS_SIZE(scratches, saveds - SLJIT_KEPT_SAVEDS_COUNT(options), 1); in sljit_set_context()
1354 local_size = GET_SAVED_REGISTERS_SIZE(compiler->scratches, compiler->saveds, 1) & 0x7; in emit_stack_frame_release()
[all …]
H A DsljitNativeRISCV_common.c622 sljit_s32 options, sljit_s32 arg_types, sljit_s32 scratches, sljit_s32 saveds, in sljit_emit_enter() argument
629 …CHECK(check_sljit_emit_enter(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds,… in sljit_emit_enter()
630 set_emit_enter(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds, local_size); in sljit_emit_enter()
632 local_size += GET_SAVED_REGISTERS_SIZE(scratches, saveds - saved_arg_count, 1); in sljit_emit_enter()
661 tmp = SLJIT_S0 - saveds; in sljit_emit_enter()
719 sljit_s32 options, sljit_s32 arg_types, sljit_s32 scratches, sljit_s32 saveds, in sljit_set_context() argument
723 …CHECK(check_sljit_set_context(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds… in sljit_set_context()
724 set_set_context(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds, local_size); in sljit_set_context()
726 local_size += GET_SAVED_REGISTERS_SIZE(scratches, saveds - SLJIT_KEPT_SAVEDS_COUNT(options), 1); in sljit_set_context()
766 tmp = SLJIT_S0 - compiler->saveds; in emit_stack_frame_release()
H A DsljitNativeLOONGARCH_64.c738 sljit_s32 options, sljit_s32 arg_types, sljit_s32 scratches, sljit_s32 saveds, in sljit_emit_enter() argument
745 …CHECK(check_sljit_emit_enter(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds,… in sljit_emit_enter()
746 set_emit_enter(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds, local_size); in sljit_emit_enter()
748 local_size += GET_SAVED_REGISTERS_SIZE(scratches, saveds - saved_arg_count, 1); in sljit_emit_enter()
770 tmp = SLJIT_S0 - saveds; in sljit_emit_enter()
822 sljit_s32 options, sljit_s32 arg_types, sljit_s32 scratches, sljit_s32 saveds, in sljit_set_context() argument
826 …CHECK(check_sljit_set_context(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds… in sljit_set_context()
827 set_set_context(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds, local_size); in sljit_set_context()
829 local_size += GET_SAVED_REGISTERS_SIZE(scratches, saveds - SLJIT_KEPT_SAVEDS_COUNT(options), 1); in sljit_set_context()
862 tmp = SLJIT_S0 - compiler->saveds; in emit_stack_frame_release()
H A DsljitNativeMIPS_common.c947 sljit_s32 options, sljit_s32 arg_types, sljit_s32 scratches, sljit_s32 saveds, in sljit_emit_enter() argument
956 …CHECK(check_sljit_emit_enter(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds,… in sljit_emit_enter()
957 set_emit_enter(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds, local_size); in sljit_emit_enter()
959 local_size += GET_SAVED_REGISTERS_SIZE(scratches, saveds - saved_arg_count, 1); in sljit_emit_enter()
1015 tmp = SLJIT_S0 - saveds; in sljit_emit_enter()
1157 sljit_s32 options, sljit_s32 arg_types, sljit_s32 scratches, sljit_s32 saveds, in sljit_set_context() argument
1162 set_set_context(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds, local_size); in sljit_set_context()
1164 local_size += GET_SAVED_REGISTERS_SIZE(scratches, saveds - SLJIT_KEPT_SAVEDS_COUNT(options), 1); in sljit_set_context()
1185 sljit_s32 saveds = compiler->saveds; in emit_stack_frame_release() local
1195 tmp = GET_SAVED_REGISTERS_SIZE(scratches, saveds - kept_saveds_count, 1); in emit_stack_frame_release()
[all …]

Completed in 114 milliseconds