Lines Matching refs:TMP2
475 #define TMP2 SLJIT_R2 macro
1504 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(SLJIT_SP), OVECTOR(offset + 1)); in init_frame()
1507 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), stackpos, TMP2, 0); in init_frame()
1679 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(STACK_TOP), stackptr); in copy_private_data()
1899 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), stackptr, TMP2, 0); in copy_private_data()
1902 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(SLJIT_SP), srcw[count]); in copy_private_data()
1924 OP1(SLJIT_MOV, SLJIT_MEM1(SLJIT_SP), srcw[count], TMP2, 0); in copy_private_data()
1928 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(STACK_TOP), stackptr); in copy_private_data()
1949 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), stackptr, TMP2, 0); in copy_private_data()
1957 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), stackptr, TMP2, 0); in copy_private_data()
2187 GET_LOCAL_BASE(TMP2, 0, OVECTOR_START + sizeof(sljit_sw)); in do_reset_match()
2190 OP1(SLJIT_MOVU, SLJIT_MEM1(TMP2), sizeof(sljit_sw), TMP1, 0); in do_reset_match()
2572 OP2(SLJIT_SUB, STR_PTR, 0, STR_PTR, 0, TMP2, 0); in peek_char()
2582 OP2(SLJIT_SUB, TMP2, 0, TMP1, 0, SLJIT_IMM, 0xd800); in peek_char()
2583 jump = CMP(SLJIT_GREATER, TMP2, 0, SLJIT_IMM, 0xdc00 - 0xd800 - 1); in peek_char()
2586 OP2(SLJIT_ADD, TMP2, 0, TMP2, 0, SLJIT_IMM, 0x40); in peek_char()
2587 OP2(SLJIT_SHL, TMP2, 0, TMP2, 0, SLJIT_IMM, 10); in peek_char()
2589 OP2(SLJIT_OR, TMP1, 0, TMP1, 0, TMP2, 0); in peek_char()
2624 OP1(MOV_UCHAR, TMP2, 0, SLJIT_MEM1(STR_PTR), 0); in read_char7_type()
2627 OP1(SLJIT_MOV_UB, TMP1, 0, SLJIT_MEM1(TMP2), common->ctypes); in read_char7_type()
2631 jump = CMP(SLJIT_LESS, TMP2, 0, SLJIT_IMM, 0xc0); in read_char7_type()
2632 OP1(SLJIT_MOV_UB, TMP2, 0, SLJIT_MEM1(TMP2), (sljit_sw)PRIV(utf8_table4) - 0xc0); in read_char7_type()
2633 OP2(SLJIT_ADD, STR_PTR, 0, STR_PTR, 0, TMP2, 0); in read_char7_type()
2669 OP2(SLJIT_SUB, TMP2, 0, TMP1, 0, SLJIT_IMM, 0xf0); in read_char_range()
2673 jump2 = CMP(SLJIT_GREATER, TMP2, 0, SLJIT_IMM, 0x7); in read_char_range()
2674 OP2(SLJIT_SHL, TMP2, 0, TMP2, 0, SLJIT_IMM, 6); in read_char_range()
2676 OP2(SLJIT_OR, TMP1, 0, TMP1, 0, TMP2, 0); in read_char_range()
2677 OP1(MOV_UCHAR, TMP2, 0, SLJIT_MEM1(STR_PTR), IN_UCHARS(1)); in read_char_range()
2679 OP2(SLJIT_AND, TMP2, 0, TMP2, 0, SLJIT_IMM, 0x3f); in read_char_range()
2680 OP2(SLJIT_OR, TMP1, 0, TMP1, 0, TMP2, 0); in read_char_range()
2681 OP1(MOV_UCHAR, TMP2, 0, SLJIT_MEM1(STR_PTR), IN_UCHARS(2)); in read_char_range()
2685 OP2(SLJIT_AND, TMP2, 0, TMP2, 0, SLJIT_IMM, 0x3f); in read_char_range()
2686 OP2(SLJIT_OR, TMP1, 0, TMP1, 0, TMP2, 0); in read_char_range()
2693 OP2(SLJIT_SUB, TMP2, 0, TMP1, 0, SLJIT_IMM, 0xe0); in read_char_range()
2697 jump2 = CMP(SLJIT_GREATER, TMP2, 0, SLJIT_IMM, 0xf); in read_char_range()
2698 OP2(SLJIT_SHL, TMP2, 0, TMP2, 0, SLJIT_IMM, 6); in read_char_range()
2700 OP2(SLJIT_OR, TMP1, 0, TMP1, 0, TMP2, 0); in read_char_range()
2701 OP1(MOV_UCHAR, TMP2, 0, SLJIT_MEM1(STR_PTR), IN_UCHARS(1)); in read_char_range()
2705 OP2(SLJIT_AND, TMP2, 0, TMP2, 0, SLJIT_IMM, 0x3f); in read_char_range()
2706 OP2(SLJIT_OR, TMP1, 0, TMP1, 0, TMP2, 0); in read_char_range()
2715 OP1(SLJIT_MOV_UB, TMP2, 0, SLJIT_MEM1(TMP1), (sljit_sw)PRIV(utf8_table4) - 0xc0); in read_char_range()
2716 OP2(SLJIT_ADD, STR_PTR, 0, STR_PTR, 0, TMP2, 0); in read_char_range()
2720 OP1(MOV_UCHAR, TMP2, 0, SLJIT_MEM1(STR_PTR), IN_UCHARS(0)); in read_char_range()
2727 OP2(SLJIT_AND, TMP2, 0, TMP2, 0, SLJIT_IMM, 0x3f); in read_char_range()
2728 OP2(SLJIT_OR, TMP1, 0, TMP1, 0, TMP2, 0); in read_char_range()
2741 OP2(SLJIT_SUB, TMP2, 0, TMP1, 0, SLJIT_IMM, 0xd800); in read_char_range()
2742 jump = CMP(SLJIT_GREATER, TMP2, 0, SLJIT_IMM, 0xdc00 - 0xd800 - 1); in read_char_range()
2745 OP2(SLJIT_ADD, TMP2, 0, TMP2, 0, SLJIT_IMM, 0x40); in read_char_range()
2746 OP2(SLJIT_SHL, TMP2, 0, TMP2, 0, SLJIT_IMM, 10); in read_char_range()
2749 OP2(SLJIT_OR, TMP1, 0, TMP1, 0, TMP2, 0); in read_char_range()
2757 OP2(SLJIT_SUB, TMP2, 0, TMP1, 0, SLJIT_IMM, 0xd800); in read_char_range()
2758 jump = CMP(SLJIT_GREATER, TMP2, 0, SLJIT_IMM, 0xdc00 - 0xd800 - 1); in read_char_range()
2786 OP1(MOV_UCHAR, TMP2, 0, SLJIT_MEM1(STR_PTR), 0); in read_char8_type()
2794 OP1(SLJIT_MOV_UB, TMP1, 0, SLJIT_MEM1(TMP2), common->ctypes); in read_char8_type()
2795 jump = CMP(SLJIT_LESS, TMP2, 0, SLJIT_IMM, 0xc0); in read_char8_type()
2800 OP2(SLJIT_AND, TMP2, 0, TMP2, 0, SLJIT_IMM, 0x3f); in read_char8_type()
2801 OP2(SLJIT_SHL, TMP2, 0, TMP2, 0, SLJIT_IMM, 6); in read_char8_type()
2803 OP2(SLJIT_OR, TMP2, 0, TMP2, 0, TMP1, 0); in read_char8_type()
2805 jump2 = CMP(SLJIT_GREATER, TMP2, 0, SLJIT_IMM, 255); in read_char8_type()
2806 OP1(SLJIT_MOV_UB, TMP1, 0, SLJIT_MEM1(TMP2), common->ctypes); in read_char8_type()
2819 jump = CMP(SLJIT_GREATER, TMP2, 0, SLJIT_IMM, 255); in read_char8_type()
2821 OP1(SLJIT_MOV_UB, TMP1, 0, SLJIT_MEM1(TMP2), common->ctypes); in read_char8_type()
2830 OP2(SLJIT_SUB, TMP2, 0, TMP2, 0, SLJIT_IMM, 0xd800); in read_char8_type()
2831 jump = CMP(SLJIT_GREATER, TMP2, 0, SLJIT_IMM, 0xdc00 - 0xd800 - 1); in read_char8_type()
2916 OP1(MOV_UCHAR, TMP2, 0, SLJIT_MEM1(STR_PTR), IN_UCHARS(0)); in do_utfreadchar()
2919 OP2(SLJIT_AND, TMP2, 0, TMP2, 0, SLJIT_IMM, 0x3f); in do_utfreadchar()
2920 OP2(SLJIT_OR, TMP1, 0, TMP1, 0, TMP2, 0); in do_utfreadchar()
2927 OP1(SLJIT_MOV, TMP2, 0, SLJIT_IMM, IN_UCHARS(2)); in do_utfreadchar()
2931 OP1(MOV_UCHAR, TMP2, 0, SLJIT_MEM1(STR_PTR), IN_UCHARS(1)); in do_utfreadchar()
2934 OP2(SLJIT_AND, TMP2, 0, TMP2, 0, SLJIT_IMM, 0x3f); in do_utfreadchar()
2935 OP2(SLJIT_OR, TMP1, 0, TMP1, 0, TMP2, 0); in do_utfreadchar()
2941 OP1(SLJIT_MOV, TMP2, 0, SLJIT_IMM, IN_UCHARS(3)); in do_utfreadchar()
2946 OP1(MOV_UCHAR, TMP2, 0, SLJIT_MEM1(STR_PTR), IN_UCHARS(2)); in do_utfreadchar()
2950 OP2(SLJIT_AND, TMP2, 0, TMP2, 0, SLJIT_IMM, 0x3f); in do_utfreadchar()
2951 OP2(SLJIT_OR, TMP1, 0, TMP1, 0, TMP2, 0); in do_utfreadchar()
2952 OP1(SLJIT_MOV, TMP2, 0, SLJIT_IMM, IN_UCHARS(4)); in do_utfreadchar()
2964 OP1(MOV_UCHAR, TMP2, 0, SLJIT_MEM1(STR_PTR), IN_UCHARS(0)); in do_utfreadchar16()
2967 OP2(SLJIT_AND, TMP2, 0, TMP2, 0, SLJIT_IMM, 0x3f); in do_utfreadchar16()
2968 OP2(SLJIT_OR, TMP1, 0, TMP1, 0, TMP2, 0); in do_utfreadchar16()
2979 OP_FLAGS(SLJIT_MOV, TMP2, 0, SLJIT_UNUSED, 0, SLJIT_NOT_ZERO); in do_utfreadchar16()
2981 OP2(SLJIT_ADD, STR_PTR, 0, STR_PTR, 0, TMP2, 0); in do_utfreadchar16()
2982 OP1(MOV_UCHAR, TMP2, 0, SLJIT_MEM1(STR_PTR), IN_UCHARS(1)); in do_utfreadchar16()
2985 OP2(SLJIT_AND, TMP2, 0, TMP2, 0, SLJIT_IMM, 0x3f); in do_utfreadchar16()
2986 OP2(SLJIT_OR, TMP1, 0, TMP1, 0, TMP2, 0); in do_utfreadchar16()
3002 OP2(SLJIT_AND | SLJIT_SET_E, SLJIT_UNUSED, 0, TMP2, 0, SLJIT_IMM, 0x20); in do_utfreadtype8()
3007 OP2(SLJIT_AND, TMP2, 0, TMP2, 0, SLJIT_IMM, 0x1f); in do_utfreadtype8()
3009 compare = CMP(SLJIT_GREATER, TMP2, 0, SLJIT_IMM, 0x3); in do_utfreadtype8()
3010 OP2(SLJIT_SHL, TMP2, 0, TMP2, 0, SLJIT_IMM, 6); in do_utfreadtype8()
3012 OP2(SLJIT_OR, TMP2, 0, TMP2, 0, TMP1, 0); in do_utfreadtype8()
3013 OP1(SLJIT_MOV_UB, TMP1, 0, SLJIT_MEM1(TMP2), common->ctypes); in do_utfreadtype8()
3022 OP1(SLJIT_MOV_UB, TMP2, 0, SLJIT_MEM1(TMP2), (sljit_sw)PRIV(utf8_table4) - 0xc0); in do_utfreadtype8()
3024 OP2(SLJIT_ADD, STR_PTR, 0, STR_PTR, 0, TMP2, 0); in do_utfreadtype8()
3047 OP2(SLJIT_LSHR, TMP2, 0, TMP1, 0, SLJIT_IMM, UCD_BLOCK_SHIFT); in do_getucd()
3048 OP1(SLJIT_MOV_UB, TMP2, 0, SLJIT_MEM1(TMP2), (sljit_sw)PRIV(ucd_stage1)); in do_getucd()
3050 OP2(SLJIT_SHL, TMP2, 0, TMP2, 0, SLJIT_IMM, UCD_BLOCK_SHIFT); in do_getucd()
3051 OP2(SLJIT_ADD, TMP1, 0, TMP1, 0, TMP2, 0); in do_getucd()
3052 OP1(SLJIT_MOV, TMP2, 0, SLJIT_IMM, (sljit_sw)PRIV(ucd_stage2)); in do_getucd()
3053 OP1(SLJIT_MOV_UH, TMP2, 0, SLJIT_MEM2(TMP2, TMP1), 1); in do_getucd()
3055 OP1(SLJIT_MOV_UB, TMP1, 0, SLJIT_MEM2(TMP1, TMP2), 3); in do_getucd()
3091 OP1(MOV_UCHAR, TMP2, 0, SLJIT_MEM1(STR_PTR), IN_UCHARS(0)); in mainloop_entry()
3093 CMPTO(SLJIT_NOT_EQUAL, TMP2, 0, SLJIT_IMM, common->newline & 0xff, mainloop); in mainloop_entry()
3739 OP1(MOV_UCHAR, TMP2, 0, SLJIT_MEM1(STR_PTR), IN_UCHARS(offsets[1])); in fast_forward_first_n_chars()
3751 OP2(SLJIT_OR, TMP2, 0, TMP2, 0, SLJIT_IMM, chars[5]); in fast_forward_first_n_chars()
3752 CMPTO(SLJIT_NOT_EQUAL, TMP2, 0, SLJIT_IMM, chars[4], start); in fast_forward_first_n_chars()
3821 OP2(SLJIT_OR, TMP2, 0, TMP1, 0, SLJIT_IMM, bit); in fast_forward_first_char()
3822 found = CMP(SLJIT_EQUAL, TMP2, 0, SLJIT_IMM, first_char | bit); in fast_forward_first_char()
3827 OP_FLAGS(SLJIT_MOV, TMP2, 0, SLJIT_UNUSED, 0, SLJIT_EQUAL); in fast_forward_first_char()
3829 OP_FLAGS(SLJIT_OR | SLJIT_SET_E, TMP2, 0, TMP2, 0, SLJIT_EQUAL); in fast_forward_first_char()
3865 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(TMP1), SLJIT_OFFSETOF(jit_arguments, str)); in fast_forward_newline()
3867 firstchar = CMP(SLJIT_LESS_EQUAL, STR_PTR, 0, TMP2, 0); in fast_forward_newline()
3871 OP_FLAGS(SLJIT_MOV, TMP2, 0, SLJIT_UNUSED, 0, SLJIT_GREATER_EQUAL); in fast_forward_newline()
3873 OP2(SLJIT_SHL, TMP2, 0, TMP2, 0, SLJIT_IMM, UCHAR_SHIFT); in fast_forward_newline()
3875 OP2(SLJIT_SUB, STR_PTR, 0, STR_PTR, 0, TMP2, 0); in fast_forward_newline()
3881 OP1(MOV_UCHAR, TMP2, 0, SLJIT_MEM1(STR_PTR), IN_UCHARS(-1)); in fast_forward_newline()
3883 CMPTO(SLJIT_NOT_EQUAL, TMP2, 0, SLJIT_IMM, common->newline & 0xff, loop); in fast_forward_newline()
3895 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(TMP1), SLJIT_OFFSETOF(jit_arguments, str)); in fast_forward_newline()
3896 firstchar = CMP(SLJIT_LESS_EQUAL, STR_PTR, 0, TMP2, 0); in fast_forward_newline()
3966 OP2(SLJIT_AND, TMP2, 0, TMP1, 0, SLJIT_IMM, 0x7); in fast_forward_start_bits()
3969 OP2(SLJIT_SHL, TMP2, 0, SLJIT_IMM, 1, TMP2, 0); in fast_forward_start_bits()
3970 OP2(SLJIT_AND | SLJIT_SET_E, SLJIT_UNUSED, 0, TMP1, 0, TMP2, 0); in fast_forward_start_bits()
4022 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(SLJIT_SP), common->req_char_ptr); in search_requested_char()
4025 alreadyfound = CMP(SLJIT_LESS, STR_PTR, 0, TMP2, 0); in search_requested_char()
4035 OP1(MOV_UCHAR, TMP2, 0, SLJIT_MEM1(TMP1), 0); in search_requested_char()
4046 found = CMP(SLJIT_EQUAL, TMP2, 0, SLJIT_IMM, req_char); in search_requested_char()
4052 OP2(SLJIT_OR, TMP2, 0, TMP2, 0, SLJIT_IMM, bit); in search_requested_char()
4053 found = CMP(SLJIT_EQUAL, TMP2, 0, SLJIT_IMM, req_char | bit); in search_requested_char()
4057 found = CMP(SLJIT_EQUAL, TMP2, 0, SLJIT_IMM, req_char); in search_requested_char()
4058 foundoc = CMP(SLJIT_EQUAL, TMP2, 0, SLJIT_IMM, oc); in search_requested_char()
4085 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(TMP1), 0); in do_revertframes()
4086 OP2(SLJIT_SUB | SLJIT_SET_S, SLJIT_UNUSED, 0, TMP2, 0, SLJIT_IMM, 0); in do_revertframes()
4089 OP2(SLJIT_ADD, TMP2, 0, TMP2, 0, TMP3, 0); in do_revertframes()
4090 OP1(SLJIT_MOV, SLJIT_MEM1(TMP2), 0, SLJIT_MEM1(TMP1), sizeof(sljit_sw)); in do_revertframes()
4091 OP1(SLJIT_MOV, SLJIT_MEM1(TMP2), sizeof(sljit_sw), SLJIT_MEM1(TMP1), 2 * sizeof(sljit_sw)); in do_revertframes()
4101 OP1(SLJIT_NEG, TMP2, 0, TMP2, 0); in do_revertframes()
4102 OP2(SLJIT_ADD, TMP2, 0, TMP2, 0, TMP3, 0); in do_revertframes()
4103 OP1(SLJIT_MOV, SLJIT_MEM1(TMP2), 0, SLJIT_MEM1(TMP1), sizeof(sljit_sw)); in do_revertframes()
4133 OP1(SLJIT_MOV, TMP2, 0, SLJIT_IMM, 1); in check_wordboundary()
4138 OP_FLAGS(SLJIT_MOV, TMP2, 0, SLJIT_UNUSED, 0, SLJIT_LESS_EQUAL); in check_wordboundary()
4141 OP_FLAGS(SLJIT_OR, TMP2, 0, TMP2, 0, SLJIT_LESS_EQUAL); in check_wordboundary()
4143 OP1(SLJIT_MOV, SLJIT_MEM1(SLJIT_SP), LOCALS1, TMP2, 0); in check_wordboundary()
4169 OP1(SLJIT_MOV, TMP2, 0, SLJIT_IMM, 0); in check_wordboundary()
4177 OP1(SLJIT_MOV, TMP2, 0, SLJIT_IMM, 1); in check_wordboundary()
4182 OP_FLAGS(SLJIT_MOV, TMP2, 0, SLJIT_UNUSED, 0, SLJIT_LESS_EQUAL); in check_wordboundary()
4185 OP_FLAGS(SLJIT_OR, TMP2, 0, TMP2, 0, SLJIT_LESS_EQUAL); in check_wordboundary()
4193 OP1(SLJIT_MOV, TMP2, 0, SLJIT_IMM, 0); in check_wordboundary()
4196 OP1(SLJIT_MOV, TMP2, 0, SLJIT_IMM, 0); in check_wordboundary()
4201 OP1(SLJIT_MOV_UB, TMP2, 0, SLJIT_MEM1(TMP1), common->ctypes); in check_wordboundary()
4202 OP2(SLJIT_LSHR, TMP2, 0, TMP2, 0, SLJIT_IMM, 4 /* ctype_word */); in check_wordboundary()
4203 OP2(SLJIT_AND, TMP2, 0, TMP2, 0, SLJIT_IMM, 1); in check_wordboundary()
4213 OP2(SLJIT_XOR | SLJIT_SET_E, SLJIT_UNUSED, 0, TMP2, 0, SLJIT_MEM1(SLJIT_SP), LOCALS1); in check_wordboundary()
4375 OP_FLAGS(SLJIT_MOV, TMP2, 0, SLJIT_UNUSED, 0, SLJIT_LESS_EQUAL); in check_anynewline()
4382 OP_FLAGS(SLJIT_OR, TMP2, 0, TMP2, 0, SLJIT_EQUAL); in check_anynewline()
4389 OP_FLAGS(SLJIT_OR | SLJIT_SET_E, TMP2, 0, TMP2, 0, SLJIT_EQUAL); in check_anynewline()
4401 OP_FLAGS(SLJIT_MOV, TMP2, 0, SLJIT_UNUSED, 0, SLJIT_EQUAL); in check_hspace()
4403 OP_FLAGS(SLJIT_OR, TMP2, 0, TMP2, 0, SLJIT_EQUAL); in check_hspace()
4410 OP_FLAGS(SLJIT_OR, TMP2, 0, TMP2, 0, SLJIT_EQUAL); in check_hspace()
4412 OP_FLAGS(SLJIT_OR, TMP2, 0, TMP2, 0, SLJIT_EQUAL); in check_hspace()
4414 OP_FLAGS(SLJIT_OR, TMP2, 0, TMP2, 0, SLJIT_EQUAL); in check_hspace()
4417 OP_FLAGS(SLJIT_OR, TMP2, 0, TMP2, 0, SLJIT_LESS_EQUAL); in check_hspace()
4419 OP_FLAGS(SLJIT_OR, TMP2, 0, TMP2, 0, SLJIT_EQUAL); in check_hspace()
4421 OP_FLAGS(SLJIT_OR, TMP2, 0, TMP2, 0, SLJIT_EQUAL); in check_hspace()
4427 OP_FLAGS(SLJIT_OR | SLJIT_SET_E, TMP2, 0, TMP2, 0, SLJIT_EQUAL); in check_hspace()
4441 OP_FLAGS(SLJIT_MOV, TMP2, 0, SLJIT_UNUSED, 0, SLJIT_LESS_EQUAL); in check_vspace()
4448 OP_FLAGS(SLJIT_OR | SLJIT_SET_E, TMP2, 0, TMP2, 0, SLJIT_EQUAL); in check_vspace()
4455 OP_FLAGS(SLJIT_OR | SLJIT_SET_E, TMP2, 0, TMP2, 0, SLJIT_EQUAL); in check_vspace()
4470 OP2(SLJIT_SUB, STR_PTR, 0, STR_PTR, 0, TMP2, 0); in do_casefulcmp()
4480 OP2(SLJIT_SUB | SLJIT_SET_E, TMP2, 0, TMP2, 0, SLJIT_IMM, IN_UCHARS(1)); in do_casefulcmp()
4499 OP2(SLJIT_SUB, STR_PTR, 0, STR_PTR, 0, TMP2, 0); in do_caselesscmp()
4524 OP2(SLJIT_SUB | SLJIT_SET_E, TMP2, 0, TMP2, 0, SLJIT_IMM, IN_UCHARS(1)); in do_caselesscmp()
4624 context->sourcereg = TMP2; in byte_sequence_compare()
4666 context->sourcereg = context->sourcereg == TMP1 ? TMP2 : TMP1; in byte_sequence_compare()
4703 context->sourcereg = context->sourcereg == TMP1 ? TMP2 : TMP1; in byte_sequence_compare()
4875 OP2(SLJIT_AND, TMP2, 0, TMP1, 0, SLJIT_IMM, 0x7); in compile_xclass_matchingpath()
4878 OP2(SLJIT_SHL, TMP2, 0, SLJIT_IMM, 1, TMP2, 0); in compile_xclass_matchingpath()
4879 OP2(SLJIT_AND | SLJIT_SET_E, SLJIT_UNUSED, 0, TMP1, 0, TMP2, 0); in compile_xclass_matchingpath()
4890 OP2(SLJIT_SUB, TMP2, 0, TMP1, 0, SLJIT_IMM, min); in compile_xclass_matchingpath()
4891 …add_jump(compiler, (cc[-1] & XCL_NOT) == 0 ? backtracks : &found, CMP(SLJIT_GREATER, TMP2, 0, SLJI… in compile_xclass_matchingpath()
4907 OP2(SLJIT_AND, TMP2, 0, TMP1, 0, SLJIT_IMM, 0x7); in compile_xclass_matchingpath()
4910 OP2(SLJIT_SHL, TMP2, 0, SLJIT_IMM, 1, TMP2, 0); in compile_xclass_matchingpath()
4911 OP2(SLJIT_AND | SLJIT_SET_E, SLJIT_UNUSED, 0, TMP1, 0, TMP2, 0); in compile_xclass_matchingpath()
4949 OP1(SLJIT_MOV_UB, scriptreg, 0, SLJIT_MEM2(scriptreg, TMP2), 3); in compile_xclass_matchingpath()
4953 OP2(SLJIT_SHL, TMP2, 0, TMP2, 0, SLJIT_IMM, 3); in compile_xclass_matchingpath()
4954 …OP2(SLJIT_ADD, TMP2, 0, TMP2, 0, SLJIT_IMM, (sljit_sw)PRIV(ucd_records) + SLJIT_OFFSETOF(ucd_recor… in compile_xclass_matchingpath()
4955 OP1(SLJIT_MOV_UB, scriptreg, 0, SLJIT_MEM1(TMP2), 0); in compile_xclass_matchingpath()
4982 …OP_FLAGS(numberofcmps == 0 ? SLJIT_MOV : SLJIT_OR, TMP2, 0, numberofcmps == 0 ? SLJIT_UNUSED : TMP… in compile_xclass_matchingpath()
4988 OP_FLAGS(SLJIT_OR | SLJIT_SET_E, TMP2, 0, TMP2, 0, SLJIT_EQUAL); in compile_xclass_matchingpath()
5008 …OP_FLAGS(numberofcmps == 0 ? SLJIT_MOV : SLJIT_OR, TMP2, 0, numberofcmps == 0 ? SLJIT_UNUSED : TMP… in compile_xclass_matchingpath()
5014 OP_FLAGS(SLJIT_OR | SLJIT_SET_E, TMP2, 0, TMP2, 0, SLJIT_LESS_EQUAL); in compile_xclass_matchingpath()
5045 OP_FLAGS(SLJIT_MOV, TMP2, 0, SLJIT_UNUSED, 0, SLJIT_EQUAL); in compile_xclass_matchingpath()
5047 OP_FLAGS(SLJIT_OR, TMP2, 0, TMP2, 0, SLJIT_EQUAL); in compile_xclass_matchingpath()
5049 OP_FLAGS(SLJIT_OR | SLJIT_SET_E, TMP2, 0, TMP2, 0, SLJIT_EQUAL); in compile_xclass_matchingpath()
5071 OP_FLAGS(SLJIT_MOV, TMP2, 0, SLJIT_UNUSED, 0, SLJIT_LESS_EQUAL); in compile_xclass_matchingpath()
5074 OP_FLAGS(SLJIT_OR | SLJIT_SET_E, TMP2, 0, TMP2, 0, SLJIT_EQUAL); in compile_xclass_matchingpath()
5077 OP_FLAGS(SLJIT_OR | SLJIT_SET_E, TMP2, 0, TMP2, 0, SLJIT_EQUAL); in compile_xclass_matchingpath()
5081 OP_FLAGS(SLJIT_OR | SLJIT_SET_E, TMP2, 0, TMP2, 0, SLJIT_LESS_EQUAL); in compile_xclass_matchingpath()
5087 OP_FLAGS(SLJIT_MOV, TMP2, 0, SLJIT_UNUSED, 0, SLJIT_EQUAL); in compile_xclass_matchingpath()
5093 …OP_FLAGS((*cc == PT_ALNUM) ? SLJIT_MOV : SLJIT_OR, TMP2, 0, (*cc == PT_ALNUM) ? SLJIT_UNUSED : TMP… in compile_xclass_matchingpath()
5096 OP_FLAGS(SLJIT_OR | SLJIT_SET_E, TMP2, 0, TMP2, 0, SLJIT_LESS_EQUAL); in compile_xclass_matchingpath()
5112 OP2(SLJIT_OR, TMP2, 0, TMP1, 0, SLJIT_IMM, other_cases[1] ^ other_cases[0]); in compile_xclass_matchingpath()
5115 OP2(SLJIT_ADD, TMP2, 0, TMP1, 0, SLJIT_IMM, (sljit_sw)charoffset); in compile_xclass_matchingpath()
5116 OP2(SLJIT_OR, TMP2, 0, TMP2, 0, SLJIT_IMM, other_cases[1] ^ other_cases[0]); in compile_xclass_matchingpath()
5118 OP2(SLJIT_SUB | SLJIT_SET_E, SLJIT_UNUSED, 0, TMP2, 0, SLJIT_IMM, other_cases[1]); in compile_xclass_matchingpath()
5119 OP_FLAGS(SLJIT_MOV, TMP2, 0, SLJIT_UNUSED, 0, SLJIT_EQUAL); in compile_xclass_matchingpath()
5125 OP2(SLJIT_OR, TMP2, 0, TMP1, 0, SLJIT_IMM, other_cases[2] ^ other_cases[1]); in compile_xclass_matchingpath()
5128 OP2(SLJIT_ADD, TMP2, 0, TMP1, 0, SLJIT_IMM, (sljit_sw)charoffset); in compile_xclass_matchingpath()
5129 OP2(SLJIT_OR, TMP2, 0, TMP2, 0, SLJIT_IMM, other_cases[1] ^ other_cases[0]); in compile_xclass_matchingpath()
5131 OP2(SLJIT_SUB | SLJIT_SET_E, SLJIT_UNUSED, 0, TMP2, 0, SLJIT_IMM, other_cases[2]); in compile_xclass_matchingpath()
5132 OP_FLAGS(SLJIT_MOV, TMP2, 0, SLJIT_UNUSED, 0, SLJIT_EQUAL); in compile_xclass_matchingpath()
5135 …OP_FLAGS(SLJIT_OR | ((other_cases[3] == NOTACHAR) ? SLJIT_SET_E : 0), TMP2, 0, TMP2, 0, SLJIT_EQUA… in compile_xclass_matchingpath()
5142 OP_FLAGS(SLJIT_MOV, TMP2, 0, SLJIT_UNUSED, 0, SLJIT_EQUAL); in compile_xclass_matchingpath()
5148 …OP_FLAGS(SLJIT_OR | ((*other_cases == NOTACHAR) ? SLJIT_SET_E : 0), TMP2, 0, TMP2, 0, SLJIT_EQUAL); in compile_xclass_matchingpath()
5155 OP_FLAGS(SLJIT_MOV, TMP2, 0, SLJIT_UNUSED, 0, SLJIT_EQUAL); in compile_xclass_matchingpath()
5157 OP_FLAGS(SLJIT_OR, TMP2, 0, TMP2, 0, SLJIT_EQUAL); in compile_xclass_matchingpath()
5159 OP_FLAGS(SLJIT_OR, TMP2, 0, TMP2, 0, SLJIT_EQUAL); in compile_xclass_matchingpath()
5163 OP_FLAGS(SLJIT_OR, TMP2, 0, TMP2, 0, SLJIT_LESS_EQUAL); in compile_xclass_matchingpath()
5166 OP_FLAGS(SLJIT_OR | SLJIT_SET_E, TMP2, 0, TMP2, 0, SLJIT_GREATER_EQUAL); in compile_xclass_matchingpath()
5174 OP_FLAGS(SLJIT_MOV, TMP2, 0, SLJIT_UNUSED, 0, SLJIT_GREATER); in compile_xclass_matchingpath()
5181 OP_FLAGS(SLJIT_MOV, TMP2, 0, SLJIT_UNUSED, 0, SLJIT_LESS_EQUAL); in compile_xclass_matchingpath()
5184 OP_FLAGS(SLJIT_OR, TMP2, 0, TMP2, 0, SLJIT_EQUAL); in compile_xclass_matchingpath()
5187 OP_FLAGS(SLJIT_OR, TMP2, 0, TMP2, 0, SLJIT_EQUAL); in compile_xclass_matchingpath()
5190 jump = CMP(SLJIT_ZERO ^ invertcmp, TMP2, 0, SLJIT_IMM, 0); in compile_xclass_matchingpath()
5197 OP_FLAGS(SLJIT_MOV, TMP2, 0, SLJIT_UNUSED, 0, SLJIT_GREATER); in compile_xclass_matchingpath()
5200 OP_FLAGS(SLJIT_AND, TMP2, 0, TMP2, 0, SLJIT_NOT_EQUAL); in compile_xclass_matchingpath()
5207 OP_FLAGS(SLJIT_MOV, TMP2, 0, SLJIT_UNUSED, 0, SLJIT_LESS_EQUAL); in compile_xclass_matchingpath()
5210 OP_FLAGS(SLJIT_OR, TMP2, 0, TMP2, 0, SLJIT_EQUAL); in compile_xclass_matchingpath()
5213 jump = CMP(SLJIT_ZERO ^ invertcmp, TMP2, 0, SLJIT_IMM, 0); in compile_xclass_matchingpath()
5219 OP_FLAGS(SLJIT_MOV, TMP2, 0, SLJIT_UNUSED, 0, SLJIT_LESS_EQUAL); in compile_xclass_matchingpath()
5223 OP_FLAGS(SLJIT_AND, TMP2, 0, TMP2, 0, SLJIT_LESS_EQUAL); in compile_xclass_matchingpath()
5227 OP_FLAGS(SLJIT_OR | SLJIT_SET_E, TMP2, 0, TMP2, 0, SLJIT_LESS_EQUAL); in compile_xclass_matchingpath()
5437 OP1(SLJIT_MOV_UB, STACK_TOP, 0, SLJIT_MEM2(TMP1, TMP2), 3); in compile_char1_matchingpath()
5445 OP1(SLJIT_MOV_UB, TMP2, 0, SLJIT_MEM2(TMP1, TMP2), 3); in compile_char1_matchingpath()
5449 OP1(SLJIT_MOV, STACK_TOP, 0, TMP2, 0); in compile_char1_matchingpath()
5450 OP2(SLJIT_SHL, TMP2, 0, SLJIT_IMM, 1, TMP2, 0); in compile_char1_matchingpath()
5451 OP2(SLJIT_AND | SLJIT_SET_E, SLJIT_UNUSED, 0, TMP1, 0, TMP2, 0); in compile_char1_matchingpath()
5473 OP2(SLJIT_ADD, TMP2, 0, STR_PTR, 0, SLJIT_IMM, IN_UCHARS(2)); in compile_char1_matchingpath()
5476 add_jump(compiler, backtracks, CMP(SLJIT_NOT_EQUAL, TMP2, 0, STR_END, 0)); in compile_char1_matchingpath()
5479 jump[1] = CMP(SLJIT_EQUAL, TMP2, 0, STR_END, 0); in compile_char1_matchingpath()
5480 OP2(SLJIT_SUB | SLJIT_SET_U, SLJIT_UNUSED, 0, TMP2, 0, STR_END, 0); in compile_char1_matchingpath()
5481 OP_FLAGS(SLJIT_MOV, TMP2, 0, SLJIT_UNUSED, 0, SLJIT_LESS); in compile_char1_matchingpath()
5483 OP_FLAGS(SLJIT_OR | SLJIT_SET_E, TMP2, 0, TMP2, 0, SLJIT_NOT_EQUAL); in compile_char1_matchingpath()
5489 OP1(MOV_UCHAR, TMP2, 0, SLJIT_MEM1(STR_PTR), IN_UCHARS(1)); in compile_char1_matchingpath()
5491 … add_jump(compiler, backtracks, CMP(SLJIT_NOT_EQUAL, TMP2, 0, SLJIT_IMM, common->newline & 0xff)); in compile_char1_matchingpath()
5495 OP2(SLJIT_ADD, TMP2, 0, STR_PTR, 0, SLJIT_IMM, IN_UCHARS(1)); in compile_char1_matchingpath()
5497 add_jump(compiler, backtracks, CMP(SLJIT_NOT_EQUAL, TMP2, 0, STR_END, 0)); in compile_char1_matchingpath()
5504 OP2(SLJIT_ADD, TMP2, 0, STR_PTR, 0, SLJIT_IMM, IN_UCHARS(2)); in compile_char1_matchingpath()
5505 OP2(SLJIT_SUB | SLJIT_SET_U, SLJIT_UNUSED, 0, TMP2, 0, STR_END, 0); in compile_char1_matchingpath()
5516 OP2(SLJIT_ADD, TMP2, 0, STR_PTR, 0, SLJIT_IMM, IN_UCHARS(1)); in compile_char1_matchingpath()
5517 add_jump(compiler, backtracks, CMP(SLJIT_LESS, TMP2, 0, STR_END, 0)); in compile_char1_matchingpath()
5542 OP1(SLJIT_MOV, TMP2, 0, ARGUMENTS, 0); in compile_char1_matchingpath()
5543 OP1(SLJIT_MOV, TMP1, 0, SLJIT_MEM1(TMP2), SLJIT_OFFSETOF(jit_arguments, begin)); in compile_char1_matchingpath()
5545 OP1(SLJIT_MOV_UB, TMP2, 0, SLJIT_MEM1(TMP2), SLJIT_OFFSETOF(jit_arguments, notbol)); in compile_char1_matchingpath()
5546 add_jump(compiler, backtracks, CMP(SLJIT_NOT_EQUAL, TMP2, 0, SLJIT_IMM, 0)); in compile_char1_matchingpath()
5550 OP1(SLJIT_MOV, TMP2, 0, ARGUMENTS, 0); in compile_char1_matchingpath()
5551 OP1(SLJIT_MOV, TMP1, 0, SLJIT_MEM1(TMP2), SLJIT_OFFSETOF(jit_arguments, begin)); in compile_char1_matchingpath()
5553 OP1(SLJIT_MOV_UB, TMP2, 0, SLJIT_MEM1(TMP2), SLJIT_OFFSETOF(jit_arguments, notbol)); in compile_char1_matchingpath()
5554 add_jump(compiler, backtracks, CMP(SLJIT_NOT_EQUAL, TMP2, 0, SLJIT_IMM, 0)); in compile_char1_matchingpath()
5561 OP2(SLJIT_SUB, TMP2, 0, STR_PTR, 0, SLJIT_IMM, IN_UCHARS(2)); in compile_char1_matchingpath()
5562 add_jump(compiler, backtracks, CMP(SLJIT_LESS, TMP2, 0, TMP1, 0)); in compile_char1_matchingpath()
5564 OP1(MOV_UCHAR, TMP2, 0, SLJIT_MEM1(STR_PTR), IN_UCHARS(-1)); in compile_char1_matchingpath()
5566 … add_jump(compiler, backtracks, CMP(SLJIT_NOT_EQUAL, TMP2, 0, SLJIT_IMM, common->newline & 0xff)); in compile_char1_matchingpath()
5578 OP1(SLJIT_MOV, TMP2, 0, ARGUMENTS, 0); in compile_char1_matchingpath()
5579 OP1(SLJIT_MOV_UB, TMP2, 0, SLJIT_MEM1(TMP2), SLJIT_OFFSETOF(jit_arguments, noteol)); in compile_char1_matchingpath()
5580 add_jump(compiler, backtracks, CMP(SLJIT_NOT_EQUAL, TMP2, 0, SLJIT_IMM, 0)); in compile_char1_matchingpath()
5593 OP1(SLJIT_MOV, TMP2, 0, ARGUMENTS, 0); in compile_char1_matchingpath()
5594 OP1(SLJIT_MOV_UB, TMP2, 0, SLJIT_MEM1(TMP2), SLJIT_OFFSETOF(jit_arguments, noteol)); in compile_char1_matchingpath()
5595 add_jump(compiler, backtracks, CMP(SLJIT_NOT_EQUAL, TMP2, 0, SLJIT_IMM, 0)); in compile_char1_matchingpath()
5602 OP2(SLJIT_ADD, TMP2, 0, STR_PTR, 0, SLJIT_IMM, IN_UCHARS(2)); in compile_char1_matchingpath()
5605 add_jump(compiler, backtracks, CMP(SLJIT_GREATER, TMP2, 0, STR_END, 0)); in compile_char1_matchingpath()
5608 jump[1] = CMP(SLJIT_LESS_EQUAL, TMP2, 0, STR_END, 0); in compile_char1_matchingpath()
5616 OP1(MOV_UCHAR, TMP2, 0, SLJIT_MEM1(STR_PTR), IN_UCHARS(1)); in compile_char1_matchingpath()
5618 … add_jump(compiler, backtracks, CMP(SLJIT_NOT_EQUAL, TMP2, 0, SLJIT_IMM, common->newline & 0xff)); in compile_char1_matchingpath()
5694 OP2(SLJIT_OR, TMP2, 0, TMP1, 0, SLJIT_IMM, 0x20); in compile_char1_matchingpath()
5695 add_jump(compiler, backtracks, CMP(SLJIT_EQUAL, TMP2, 0, SLJIT_IMM, c | 0x20)); in compile_char1_matchingpath()
5772 OP2(SLJIT_AND, TMP2, 0, TMP1, 0, SLJIT_IMM, 0x7); in compile_char1_matchingpath()
5775 OP2(SLJIT_SHL, TMP2, 0, SLJIT_IMM, 1, TMP2, 0); in compile_char1_matchingpath()
5776 OP2(SLJIT_AND | SLJIT_SET_E, SLJIT_UNUSED, 0, TMP1, 0, TMP2, 0); in compile_char1_matchingpath()
5801 OP1(SLJIT_MOV, TMP2, 0, SLJIT_IMM, length); in compile_char1_matchingpath()
5805 OP2(SLJIT_SUB | SLJIT_SET_E, TMP2, 0, TMP2, 0, SLJIT_IMM, 1); in compile_char1_matchingpath()
5937 GET_LOCAL_BASE(TMP2, 0, OVECTOR(offset)); in compile_dnref_search()
5943 GET_LOCAL_BASE(TMP2, 0, OVECTOR(offset)); in compile_dnref_search()
5968 OP1(SLJIT_MOV, TMP1, 0, SLJIT_MEM1(TMP2), 0); in compile_ref_matchingpath()
5973 SLJIT_ASSERT(TMP1 == SLJIT_R0 && STACK_TOP == SLJIT_R1 && TMP2 == SLJIT_R2); in compile_ref_matchingpath()
5975 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(SLJIT_SP), OVECTOR(offset + 1)); in compile_ref_matchingpath()
5977 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(TMP2), sizeof(sljit_sw)); in compile_ref_matchingpath()
5980 jump = CMP(SLJIT_EQUAL, TMP1, 0, TMP2, 0); in compile_ref_matchingpath()
6004 OP2(SLJIT_SUB | SLJIT_SET_E, TMP2, 0, SLJIT_MEM1(SLJIT_SP), OVECTOR(offset + 1), TMP1, 0); in compile_ref_matchingpath()
6006 OP2(SLJIT_SUB | SLJIT_SET_E, TMP2, 0, SLJIT_MEM1(TMP2), sizeof(sljit_sw), TMP1, 0); in compile_ref_matchingpath()
6011 OP2(SLJIT_ADD, STR_PTR, 0, STR_PTR, 0, TMP2, 0); in compile_ref_matchingpath()
6017 add_jump(compiler, backtracks, CMP(SLJIT_NOT_EQUAL, TMP2, 0, SLJIT_IMM, 0)); in compile_ref_matchingpath()
6024 OP2(SLJIT_SUB, TMP2, 0, TMP2, 0, STR_PTR, 0); in compile_ref_matchingpath()
6025 OP2(SLJIT_ADD, TMP2, 0, TMP2, 0, STR_END, 0); in compile_ref_matchingpath()
6026 partial = CMP(SLJIT_EQUAL, TMP2, 0, SLJIT_IMM, 0); in compile_ref_matchingpath()
6029 add_jump(compiler, backtracks, CMP(SLJIT_NOT_EQUAL, TMP2, 0, SLJIT_IMM, 0)); in compile_ref_matchingpath()
6119 OP1(SLJIT_MOV, TMP1, 0, SLJIT_MEM1(TMP2), 0); in compile_ref_iterator_matchingpath()
6120 OP1(SLJIT_MOV, SLJIT_MEM1(SLJIT_SP), POSSESSIVE1, TMP2, 0); in compile_ref_iterator_matchingpath()
6121 zerolength = CMP(SLJIT_EQUAL, TMP1, 0, SLJIT_MEM1(TMP2), sizeof(sljit_sw)); in compile_ref_iterator_matchingpath()
6140 OP1(SLJIT_MOV, TMP1, 0, SLJIT_MEM1(TMP2), 0); in compile_ref_iterator_matchingpath()
6141 OP1(SLJIT_MOV, SLJIT_MEM1(SLJIT_SP), POSSESSIVE1, TMP2, 0); in compile_ref_iterator_matchingpath()
6142 zerolength = CMP(SLJIT_EQUAL, TMP1, 0, SLJIT_MEM1(TMP2), sizeof(sljit_sw)); in compile_ref_iterator_matchingpath()
6151 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(SLJIT_SP), POSSESSIVE1); in compile_ref_iterator_matchingpath()
6202 OP1(SLJIT_MOV, TMP1, 0, SLJIT_MEM1(TMP2), 0); in compile_ref_iterator_matchingpath()
6203 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(2), TMP2, 0); in compile_ref_iterator_matchingpath()
6204 zerolength = CMP(SLJIT_EQUAL, TMP1, 0, SLJIT_MEM1(TMP2), sizeof(sljit_sw)); in compile_ref_iterator_matchingpath()
6220 OP1(SLJIT_MOV, TMP1, 0, SLJIT_MEM1(TMP2), 0); in compile_ref_iterator_matchingpath()
6221 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(2), TMP2, 0); in compile_ref_iterator_matchingpath()
6222 zerolength = CMP(SLJIT_EQUAL, TMP1, 0, SLJIT_MEM1(TMP2), sizeof(sljit_sw)); in compile_ref_iterator_matchingpath()
6231 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(STACK_TOP), STACK(2)); in compile_ref_iterator_matchingpath()
6300 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(SLJIT_SP), OVECTOR(0)); in compile_recurse_matchingpath()
6303 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(0), TMP2, 0); in compile_recurse_matchingpath()
6308 …OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(SLJIT_SP), common->has_set_som ? (int)(OVECTOR(0)) : common->ma… in compile_recurse_matchingpath()
6310 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(0), TMP2, 0); in compile_recurse_matchingpath()
6383 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(SLJIT_SP), common->capture_last_ptr); in compile_callout_matchingpath()
6386 OP1(SLJIT_MOV_SI, SLJIT_MEM1(STACK_TOP), CALLOUT_ARG_OFFSET(capture_last), TMP2, 0); in compile_callout_matchingpath()
6389 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(SLJIT_SP), OVECTOR(0)); in compile_callout_matchingpath()
6391 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), CALLOUT_ARG_OFFSET(subject), TMP2, 0); in compile_callout_matchingpath()
6394 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(TMP1), SLJIT_OFFSETOF(jit_arguments, mark_ptr)); in compile_callout_matchingpath()
6397 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), CALLOUT_ARG_OFFSET(mark), (common->mark_ptr != 0) ? TMP2 : SL… in compile_callout_matchingpath()
6495 OP2(SLJIT_SUB, TMP2, 0, STACK_TOP, 0, SLJIT_IMM, (framesize + extrasize) * sizeof(sljit_sw)); in compile_assert_matchingpath()
6496 OP1(SLJIT_MOV, SLJIT_MEM1(SLJIT_SP), private_data_ptr, TMP2, 0); in compile_assert_matchingpath()
6498 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(SLJIT_SP), common->control_head_ptr); in compile_assert_matchingpath()
6503 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(1), TMP2, 0); in compile_assert_matchingpath()
6841 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(STACK_TOP), 0); in match_once_common()
6858 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(STACK_TOP), STACK(0)); in match_once_common()
6879 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(SLJIT_SP), OVECTOR(offset + 1)); in match_capture_common()
6882 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(stacksize + 1), TMP2, 0); in match_capture_common()
7125 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(SLJIT_SP), common->control_head_ptr); in compile_bracket_matchingpath()
7136 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(SLJIT_SP), private_data_ptr); in compile_bracket_matchingpath()
7153 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(0), TMP2, 0); in compile_bracket_matchingpath()
7159 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(SLJIT_SP), private_data_ptr); in compile_bracket_matchingpath()
7163 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(stacksize + 1), TMP2, 0); in compile_bracket_matchingpath()
7177 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(0), TMP2, 0); in compile_bracket_matchingpath()
7180 OP2(SLJIT_SUB, TMP2, 0, STACK_TOP, 0, SLJIT_IMM, stacksize * sizeof(sljit_sw)); in compile_bracket_matchingpath()
7186 OP1(SLJIT_MOV, SLJIT_MEM1(SLJIT_SP), private_data_ptr, TMP2, 0); in compile_bracket_matchingpath()
7192 OP1(SLJIT_MOV, SLJIT_MEM1(SLJIT_SP), private_data_ptr, TMP2, 0); in compile_bracket_matchingpath()
7206 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(SLJIT_SP), private_data_ptr + sizeof(sljit_sw)); in compile_bracket_matchingpath()
7209 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(1), TMP2, 0); in compile_bracket_matchingpath()
7213 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(SLJIT_SP), private_data_ptr); in compile_bracket_matchingpath()
7216 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(0), TMP2, 0); in compile_bracket_matchingpath()
7222 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(SLJIT_SP), private_data_ptr); in compile_bracket_matchingpath()
7225 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(0), TMP2, 0); in compile_bracket_matchingpath()
7252 … OP2(SLJIT_SUB | SLJIT_SET_E, TMP2, 0, SLJIT_MEM1(SLJIT_SP), OVECTOR(GET2(slot, 0) << 1), TMP1, 0); in compile_bracket_matchingpath()
7258 OP2(SLJIT_OR | SLJIT_SET_E, TMP2, 0, TMP2, 0, STR_PTR, 0); in compile_bracket_matchingpath()
7347 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(SLJIT_SP), repeat_ptr); in compile_bracket_matchingpath()
7369 OP2(SLJIT_SUB, SLJIT_MEM1(STACK_TOP), STACK(stacksize), TMP2, 0, SLJIT_IMM, 1); in compile_bracket_matchingpath()
7426 CMPTO(SLJIT_NOT_EQUAL, TMP2, 0, STR_PTR, 0, rmax_label); in compile_bracket_matchingpath()
7442 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(SLJIT_SP), repeat_ptr); in compile_bracket_matchingpath()
7444 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(0), TMP2, 0); in compile_bracket_matchingpath()
7564 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(SLJIT_SP), OVECTOR(offset + 1)); in compile_bracketpos_matchingpath()
7568 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(1), TMP2, 0); in compile_bracketpos_matchingpath()
7570 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(SLJIT_SP), common->control_head_ptr); in compile_bracketpos_matchingpath()
7580 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(SLJIT_SP), common->control_head_ptr); in compile_bracketpos_matchingpath()
7592 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(stack), TMP2, 0); in compile_bracketpos_matchingpath()
7609 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(SLJIT_SP), common->control_head_ptr); in compile_bracketpos_matchingpath()
7620 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(stack), TMP2, 0); in compile_bracketpos_matchingpath()
7688 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(SLJIT_SP), private_data_ptr); in compile_bracketpos_matchingpath()
7689 OP2(SLJIT_ADD, STACK_TOP, 0, TMP2, 0, SLJIT_IMM, stacksize * sizeof(sljit_sw)); in compile_bracketpos_matchingpath()
7691 OP1(SLJIT_MOV, TMP1, 0, SLJIT_MEM1(TMP2), (framesize + 1) * sizeof(sljit_sw)); in compile_bracketpos_matchingpath()
7692 OP1(SLJIT_MOV, SLJIT_MEM1(TMP2), (framesize + 1) * sizeof(sljit_sw), STR_PTR, 0); in compile_bracketpos_matchingpath()
7731 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(SLJIT_SP), private_data_ptr); in compile_bracketpos_matchingpath()
7736 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(SLJIT_SP), private_data_ptr); in compile_bracketpos_matchingpath()
7737 OP1(SLJIT_MOV, STR_PTR, 0, SLJIT_MEM1(TMP2), (framesize + 1) * sizeof(sljit_sw)); in compile_bracketpos_matchingpath()
7754 …add_jump(compiler, &backtrack->topbacktracks, CMP(SLJIT_NOT_EQUAL, SLJIT_MEM1(TMP2), (stacksize - … in compile_bracketpos_matchingpath()
8135 OP1(SLJIT_MOV_UB, TMP2, 0, SLJIT_MEM1(TMP1), SLJIT_OFFSETOF(jit_arguments, notempty)); in compile_fail_accept_matchingpath()
8136 add_jump(compiler, &backtrack->topbacktracks, CMP(SLJIT_NOT_EQUAL, TMP2, 0, SLJIT_IMM, 0)); in compile_fail_accept_matchingpath()
8137 OP1(SLJIT_MOV_UB, TMP2, 0, SLJIT_MEM1(TMP1), SLJIT_OFFSETOF(jit_arguments, notempty_atstart)); in compile_fail_accept_matchingpath()
8139 add_jump(compiler, &common->accept, CMP(SLJIT_EQUAL, TMP2, 0, SLJIT_IMM, 0)); in compile_fail_accept_matchingpath()
8141 CMPTO(SLJIT_EQUAL, TMP2, 0, SLJIT_IMM, 0, common->accept_label); in compile_fail_accept_matchingpath()
8142 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(TMP1), SLJIT_OFFSETOF(jit_arguments, str)); in compile_fail_accept_matchingpath()
8144 add_jump(compiler, &common->accept, CMP(SLJIT_NOT_EQUAL, TMP2, 0, STR_PTR, 0)); in compile_fail_accept_matchingpath()
8146 CMPTO(SLJIT_NOT_EQUAL, TMP2, 0, STR_PTR, 0, common->accept_label); in compile_fail_accept_matchingpath()
8192 OP1(SLJIT_MOV, TMP2, 0, SLJIT_IMM, (sljit_sw)(cc + 2)); in compile_control_verb_matchingpath()
8193 OP1(SLJIT_MOV, SLJIT_MEM1(SLJIT_SP), common->mark_ptr, TMP2, 0); in compile_control_verb_matchingpath()
8194 OP1(SLJIT_MOV, SLJIT_MEM1(TMP1), SLJIT_OFFSETOF(jit_arguments, mark_ptr), TMP2, 0); in compile_control_verb_matchingpath()
8218 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(SLJIT_SP), common->control_head_ptr); in compile_then_trap_matchingpath()
8226 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(size - 3), TMP2, 0); in compile_then_trap_matchingpath()
8290 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(SLJIT_SP), OVECTOR(0)); in compile_matchingpath()
8293 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(0), TMP2, 0); in compile_matchingpath()
8480 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(SLJIT_SP), common->mark_ptr); in compile_matchingpath()
8483 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(common->has_skip_arg ? 4 : 0), TMP2, 0); in compile_matchingpath()
8484 OP1(SLJIT_MOV, TMP2, 0, SLJIT_IMM, (sljit_sw)(cc + 2)); in compile_matchingpath()
8485 OP1(SLJIT_MOV, SLJIT_MEM1(SLJIT_SP), common->mark_ptr, TMP2, 0); in compile_matchingpath()
8486 OP1(SLJIT_MOV, SLJIT_MEM1(TMP1), SLJIT_OFFSETOF(jit_arguments, mark_ptr), TMP2, 0); in compile_matchingpath()
8738 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(STACK_TOP), STACK(0)); in compile_recurse_backtrackingpath()
8741 OP1(SLJIT_MOV, SLJIT_MEM1(SLJIT_SP), OVECTOR(0), TMP2, 0); in compile_recurse_backtrackingpath()
8746 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(STACK_TOP), STACK(0)); in compile_recurse_backtrackingpath()
8748 …IT_MOV, SLJIT_MEM1(SLJIT_SP), common->has_set_som ? (int)(OVECTOR(0)) : common->mark_ptr, TMP2, 0); in compile_recurse_backtrackingpath()
8956 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(STACK_TOP), STACK(1)); in compile_bracket_backtrackingpath()
8960 OP1(SLJIT_MOV, SLJIT_MEM1(SLJIT_SP), OVECTOR(offset), TMP2, 0); in compile_bracket_backtrackingpath()
8966 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(STACK_TOP), STACK(1)); in compile_bracket_backtrackingpath()
8969 OP1(SLJIT_MOV, SLJIT_MEM1(SLJIT_SP), OVECTOR(offset + 1), TMP2, 0); in compile_bracket_backtrackingpath()
9085 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(SLJIT_SP), repeat_ptr); in compile_bracket_backtrackingpath()
9107 OP2(SLJIT_SUB, SLJIT_MEM1(STACK_TOP), STACK(stacksize), TMP2, 0, SLJIT_IMM, 1); in compile_bracket_backtrackingpath()
9188 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(STACK_TOP), STACK(1)); in compile_bracket_backtrackingpath()
9191 OP1(SLJIT_MOV, SLJIT_MEM1(SLJIT_SP), OVECTOR(offset + 1), TMP2, 0); in compile_bracket_backtrackingpath()
9291 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(STACK_TOP), STACK(1)); in compile_bracketpos_backtrackingpath()
9295 OP1(SLJIT_MOV, SLJIT_MEM1(SLJIT_SP), OVECTOR(offset + 1), TMP2, 0); in compile_bracketpos_backtrackingpath()
9357 OP1(SLJIT_MOV, TMP2, 0, SLJIT_IMM, common->then_trap->start); in compile_control_verb_backtrackingpath()
9364 CMPTO(SLJIT_NOT_EQUAL, SLJIT_MEM1(STACK_TOP), -(int)(3 * sizeof(sljit_sw)), TMP2, 0, loop); in compile_control_verb_backtrackingpath()
9576 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(STACK_TOP), STACK(0)); in compile_backtrackingpath()
9580 OP1(SLJIT_MOV, SLJIT_MEM1(SLJIT_SP), common->control_head_ptr, TMP2, 0); in compile_backtrackingpath()
9649 sljit_emit_fast_enter(compiler, TMP2, 0); in compile_recurse()
9651 …T_MOV, SLJIT_MEM1(STACK_TOP), STACK(private_data_size + framesize + alternativesize - 1), TMP2, 0); in compile_recurse()
9732 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(STACK_TOP), sizeof(sljit_sw)); in compile_recurse()
9735 OP1(SLJIT_MOV, SLJIT_MEM1(SLJIT_SP), common->control_head_ptr, TMP2, 0); in compile_recurse()
9739 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(STACK_TOP), sizeof(sljit_sw)); in compile_recurse()
9741 OP1(SLJIT_MOV, SLJIT_MEM1(SLJIT_SP), common->recursive_head_ptr, TMP2, 0); in compile_recurse()
9991 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(TMP1), SLJIT_OFFSETOF(jit_arguments, stack)); in PRIV()
9993 OP1(SLJIT_MOV, STACK_TOP, 0, SLJIT_MEM1(TMP2), SLJIT_OFFSETOF(struct sljit_stack, base)); in PRIV()
9994 OP1(SLJIT_MOV, STACK_LIMIT, 0, SLJIT_MEM1(TMP2), SLJIT_OFFSETOF(struct sljit_stack, limit)); in PRIV()
10028 OP2(SLJIT_ADD, TMP2, 0, STR_PTR, 0, SLJIT_IMM, IN_UCHARS(study->minlength)); in PRIV()
10029 minlength_check_failed = CMP(SLJIT_GREATER, TMP2, 0, STR_END, 0); in PRIV()
10165 OP1(SLJIT_MOV_UB, TMP2, 0, SLJIT_MEM1(TMP1), SLJIT_OFFSETOF(jit_arguments, notempty)); in PRIV()
10166 CMPTO(SLJIT_NOT_EQUAL, TMP2, 0, SLJIT_IMM, 0, empty_match_backtrack_label); in PRIV()
10167 OP1(SLJIT_MOV_UB, TMP2, 0, SLJIT_MEM1(TMP1), SLJIT_OFFSETOF(jit_arguments, notempty_atstart)); in PRIV()
10168 CMPTO(SLJIT_EQUAL, TMP2, 0, SLJIT_IMM, 0, empty_match_found_label); in PRIV()
10169 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(TMP1), SLJIT_OFFSETOF(jit_arguments, str)); in PRIV()
10170 CMPTO(SLJIT_NOT_EQUAL, TMP2, 0, STR_PTR, 0, empty_match_found_label); in PRIV()
10200 OP1(SLJIT_MOV, SLJIT_MEM1(SLJIT_SP), LOCALS1, TMP2, 0); in PRIV()
10204 OP2(SLJIT_ADD, TMP2, 0, SLJIT_MEM1(TMP1), SLJIT_OFFSETOF(struct sljit_stack, limit), SLJIT_IMM, STA… in PRIV()
10212 OP1(SLJIT_MOV, TMP2, 0, SLJIT_MEM1(SLJIT_SP), LOCALS1); in PRIV()