Lines Matching refs:jump

191   struct sljit_jump *jump;  member
529 #define JUMPHERE(jump) \ argument
530 sljit_set_label((jump), sljit_emit_label(compiler))
531 #define SET_LABEL(jump, label) \ argument
532 sljit_set_label((jump), (label))
2044 SET_LABEL(list->jump, label); in set_jumps()
2049 …IT_INLINE void add_jump(struct sljit_compiler *compiler, jump_list **list, struct sljit_jump *jump) in add_jump() argument
2055 list_item->jump = jump; in add_jump()
2305 struct sljit_jump *jump; in return_with_partial_match() local
2320 jump = CMP(SLJIT_SIG_LESS, SLJIT_R2, 0, SLJIT_IMM, 3); in return_with_partial_match()
2326 JUMPHERE(jump); in return_with_partial_match()
2348 struct sljit_jump *jump; in check_start_used_ptr() local
2356 jump = CMP(SLJIT_LESS_EQUAL, TMP1, 0, STR_PTR, 0); in check_start_used_ptr()
2358 JUMPHERE(jump); in check_start_used_ptr()
2362 jump = CMP(SLJIT_LESS_EQUAL, SLJIT_MEM1(SLJIT_SP), common->start_used_ptr, STR_PTR, 0); in check_start_used_ptr()
2364 JUMPHERE(jump); in check_start_used_ptr()
2491 struct sljit_jump *jump = NULL; in check_partial() local
2499 jump = CMP(SLJIT_GREATER_EQUAL, SLJIT_MEM1(SLJIT_SP), common->start_used_ptr, STR_PTR, 0); in check_partial()
2501 jump = CMP(SLJIT_EQUAL, SLJIT_MEM1(SLJIT_SP), common->start_used_ptr, SLJIT_IMM, -1); in check_partial()
2513 if (jump != NULL) in check_partial()
2514 JUMPHERE(jump); in check_partial()
2521 struct sljit_jump *jump; in check_str_end() local
2529 jump = CMP(SLJIT_LESS, STR_PTR, 0, STR_END, 0); in check_str_end()
2544 JUMPHERE(jump); in check_str_end()
2550 struct sljit_jump *jump; in detect_partial_match() local
2559 jump = CMP(SLJIT_LESS, STR_PTR, 0, STR_END, 0); in detect_partial_match()
2573 JUMPHERE(jump); in detect_partial_match()
2582 struct sljit_jump *jump; in peek_char() local
2593 jump = CMP(SLJIT_LESS, TMP1, 0, SLJIT_IMM, 0xc0); in peek_char()
2597 JUMPHERE(jump); in peek_char()
2607 jump = CMP(SLJIT_GREATER, TMP2, 0, SLJIT_IMM, 0xdc00 - 0xd800 - 1); in peek_char()
2614 JUMPHERE(jump); in peek_char()
2644 struct sljit_jump *jump; in read_char7_type() local
2655 jump = CMP(SLJIT_LESS, TMP2, 0, SLJIT_IMM, 0xc0); in read_char7_type()
2658 JUMPHERE(jump); in read_char7_type()
2671 struct sljit_jump *jump; in read_char_range() local
2690 jump = CMP(SLJIT_LESS, TMP1, 0, SLJIT_IMM, 0xc0); in read_char_range()
2756 JUMPHERE(jump); in read_char_range()
2766 jump = CMP(SLJIT_GREATER, TMP2, 0, SLJIT_IMM, 0xdc00 - 0xd800 - 1); in read_char_range()
2774 JUMPHERE(jump); in read_char_range()
2782 jump = CMP(SLJIT_GREATER, TMP2, 0, SLJIT_IMM, 0xdc00 - 0xd800 - 1); in read_char_range()
2787 JUMPHERE(jump); in read_char_range()
2802 struct sljit_jump *jump; in read_char8_type() local
2819 jump = CMP(SLJIT_LESS, TMP2, 0, SLJIT_IMM, 0xc0); in read_char8_type()
2835 JUMPHERE(jump); in read_char8_type()
2843 jump = CMP(SLJIT_GREATER, TMP2, 0, SLJIT_IMM, 255); in read_char8_type()
2847 JUMPHERE(jump); in read_char8_type()
2855 jump = CMP(SLJIT_GREATER, TMP2, 0, SLJIT_IMM, 0xdc00 - 0xd800 - 1); in read_char8_type()
2857 JUMPHERE(jump); in read_char8_type()
2901 struct sljit_jump *jump; in check_newlinechar() local
2917 jump = CMP(SLJIT_EQUAL, TMP1, 0, SLJIT_IMM, CHAR_CR); in check_newlinechar()
2919 JUMPHERE(jump); in check_newlinechar()
2937 struct sljit_jump *jump; in do_utfreadchar() local
2948 jump = JUMP(SLJIT_NOT_ZERO); in do_utfreadchar()
2954 JUMPHERE(jump); in do_utfreadchar()
2962 jump = JUMP(SLJIT_NOT_ZERO); in do_utfreadchar()
2969 JUMPHERE(jump); in do_utfreadchar()
2985 struct sljit_jump *jump; in do_utfreadchar16() local
2996 jump = JUMP(SLJIT_NOT_ZERO); in do_utfreadchar16()
3001 JUMPHERE(jump); in do_utfreadchar16()
3021 struct sljit_jump *jump; in do_utfreadtype8() local
3027 jump = JUMP(SLJIT_NOT_ZERO); in do_utfreadtype8()
3045 JUMPHERE(jump); in do_utfreadtype8()
3972 struct sljit_jump *jump; in fast_forward_start_bits() local
3993 jump = CMP(SLJIT_LESS, TMP1, 0, SLJIT_IMM, 255); in fast_forward_start_bits()
3995 JUMPHERE(jump); in fast_forward_start_bits()
4107 struct sljit_jump *jump; in do_revertframes() local
4118 jump = JUMP(SLJIT_SIG_LESS_EQUAL); in do_revertframes()
4126 JUMPHERE(jump); in do_revertframes()
4127 jump = JUMP(SLJIT_SIG_LESS); in do_revertframes()
4131 JUMPHERE(jump); in do_revertframes()
4145 struct sljit_jump *jump; in check_wordboundary() local
4165 jump = CMP(SLJIT_EQUAL, TMP1, 0, SLJIT_IMM, CHAR_UNDERSCORE); in check_wordboundary()
4173 JUMPHERE(jump); in check_wordboundary()
4180 jump = CMP(SLJIT_GREATER, TMP1, 0, SLJIT_IMM, 255); in check_wordboundary()
4183 jump = NULL; in check_wordboundary()
4185 jump = CMP(SLJIT_GREATER, TMP1, 0, SLJIT_IMM, 255); in check_wordboundary()
4192 JUMPHERE(jump); in check_wordboundary()
4194 if (jump != NULL) in check_wordboundary()
4195 JUMPHERE(jump); in check_wordboundary()
4209 jump = CMP(SLJIT_EQUAL, TMP1, 0, SLJIT_IMM, CHAR_UNDERSCORE); in check_wordboundary()
4217 JUMPHERE(jump); in check_wordboundary()
4225 jump = CMP(SLJIT_GREATER, TMP1, 0, SLJIT_IMM, 255); in check_wordboundary()
4228 jump = NULL; in check_wordboundary()
4230 jump = CMP(SLJIT_GREATER, TMP1, 0, SLJIT_IMM, 255); in check_wordboundary()
4236 JUMPHERE(jump); in check_wordboundary()
4238 if (jump != NULL) in check_wordboundary()
4239 JUMPHERE(jump); in check_wordboundary()
4499 struct sljit_jump *jump; in do_casefulcmp() local
4512 jump = CMP(SLJIT_NOT_EQUAL, CHAR1, 0, CHAR2, 0); in do_casefulcmp()
4516 JUMPHERE(jump); in do_casefulcmp()
4528 struct sljit_jump *jump; in do_caselesscmp() local
4545 jump = CMP(SLJIT_GREATER, CHAR1, 0, SLJIT_IMM, 255); in do_caselesscmp()
4549 JUMPHERE(jump); in do_caselesscmp()
4550 jump = CMP(SLJIT_GREATER, CHAR2, 0, SLJIT_IMM, 255); in do_caselesscmp()
4554 JUMPHERE(jump); in do_caselesscmp()
4556 jump = CMP(SLJIT_NOT_EQUAL, CHAR1, 0, CHAR2, 0); in do_caselesscmp()
4560 JUMPHERE(jump); in do_caselesscmp()
4786 struct sljit_jump *jump = NULL; in compile_xclass_matchingpath() local
4905 jump = CMP(SLJIT_GREATER, TMP1, 0, SLJIT_IMM, 255); in compile_xclass_matchingpath()
4917 JUMPHERE(jump); in compile_xclass_matchingpath()
4936 jump = NULL; in compile_xclass_matchingpath()
4939 jump = CMP(SLJIT_GREATER, TMP1, 0, SLJIT_IMM, 255); in compile_xclass_matchingpath()
4951 JUMPHERE(jump); in compile_xclass_matchingpath()
5009 jump = NULL; in compile_xclass_matchingpath()
5026 jump = JUMP(SLJIT_NOT_ZERO ^ invertcmp); in compile_xclass_matchingpath()
5031 jump = CMP(SLJIT_EQUAL ^ invertcmp, TMP1, 0, SLJIT_IMM, (sljit_sw)(c - charoffset)); in compile_xclass_matchingpath()
5052 jump = JUMP(SLJIT_NOT_ZERO ^ invertcmp); in compile_xclass_matchingpath()
5057 jump = CMP(SLJIT_LESS_EQUAL ^ invertcmp, TMP1, 0, SLJIT_IMM, (sljit_sw)(c - charoffset)); in compile_xclass_matchingpath()
5077 jump = JUMP(SLJIT_JUMP); in compile_xclass_matchingpath()
5087 jump = JUMP(SLJIT_NOT_ZERO ^ invertcmp); in compile_xclass_matchingpath()
5093jump = CMP(SLJIT_LESS_EQUAL ^ invertcmp, typereg, 0, SLJIT_IMM, PRIV(ucp_typerange)[(int)cc[1] * 2… in compile_xclass_matchingpath()
5097 jump = CMP(SLJIT_EQUAL ^ invertcmp, typereg, 0, SLJIT_IMM, (int)cc[1] - typeoffset); in compile_xclass_matchingpath()
5101 jump = CMP(SLJIT_EQUAL ^ invertcmp, scriptreg, 0, SLJIT_IMM, (int)cc[1]); in compile_xclass_matchingpath()
5119 jump = JUMP(SLJIT_NOT_ZERO ^ invertcmp); in compile_xclass_matchingpath()
5134 jump = JUMP(SLJIT_NOT_ZERO ^ invertcmp); in compile_xclass_matchingpath()
5187 jump = JUMP(SLJIT_NOT_ZERO ^ invertcmp); in compile_xclass_matchingpath()
5204 jump = JUMP(SLJIT_NOT_ZERO ^ invertcmp); in compile_xclass_matchingpath()
5213 jump = CMP(SLJIT_NOT_EQUAL, typereg, 0, SLJIT_IMM, ucp_Cf - ucp_Ll); in compile_xclass_matchingpath()
5226 JUMPHERE(jump); in compile_xclass_matchingpath()
5227 jump = CMP(SLJIT_ZERO ^ invertcmp, TMP2, 0, SLJIT_IMM, 0); in compile_xclass_matchingpath()
5239 jump = CMP(SLJIT_NOT_EQUAL, typereg, 0, SLJIT_IMM, ucp_Cf - ucp_Ll); in compile_xclass_matchingpath()
5249 JUMPHERE(jump); in compile_xclass_matchingpath()
5250 jump = CMP(SLJIT_ZERO ^ invertcmp, TMP2, 0, SLJIT_IMM, 0); in compile_xclass_matchingpath()
5265 jump = JUMP(SLJIT_NOT_ZERO ^ invertcmp); in compile_xclass_matchingpath()
5272 if (jump != NULL) in compile_xclass_matchingpath()
5273 add_jump(compiler, compares > 0 ? list : backtracks, jump); in compile_xclass_matchingpath()
5291 struct sljit_jump *jump[4]; in compile_char1_matchingpath() local
5366 jump[0] = CMP(SLJIT_NOT_EQUAL, TMP1, 0, SLJIT_IMM, (common->newline >> 8) & 0xff); in compile_char1_matchingpath()
5376 JUMPHERE(jump[0]); in compile_char1_matchingpath()
5391 jump[0] = CMP(SLJIT_LESS, TMP1, 0, SLJIT_IMM, 0xc0); in compile_char1_matchingpath()
5395 jump[0] = CMP(SLJIT_LESS, TMP1, 0, SLJIT_IMM, 0xd800); in compile_char1_matchingpath()
5402 JUMPHERE(jump[0]); in compile_char1_matchingpath()
5432 jump[0] = CMP(SLJIT_NOT_EQUAL, TMP1, 0, SLJIT_IMM, CHAR_CR); in compile_char1_matchingpath()
5440 jump[1] = CMP(SLJIT_NOT_EQUAL, TMP1, 0, SLJIT_IMM, CHAR_NL); in compile_char1_matchingpath()
5442 jump[2] = JUMP(SLJIT_JUMP); in compile_char1_matchingpath()
5443 JUMPHERE(jump[0]); in compile_char1_matchingpath()
5446 JUMPHERE(jump[1]); in compile_char1_matchingpath()
5447 JUMPHERE(jump[2]); in compile_char1_matchingpath()
5477 jump[0] = CMP(SLJIT_GREATER_EQUAL, STR_PTR, 0, STR_END, 0); in compile_char1_matchingpath()
5492 JUMPHERE(jump[0]); in compile_char1_matchingpath()
5497 jump[0] = CMP(SLJIT_LESS, STR_PTR, 0, STR_END, 0); in compile_char1_matchingpath()
5500 JUMPHERE(jump[0]); in compile_char1_matchingpath()
5507 jump[0] = CMP(SLJIT_GREATER_EQUAL, STR_PTR, 0, STR_END, 0); in compile_char1_matchingpath()
5516 jump[1] = CMP(SLJIT_EQUAL, TMP2, 0, STR_END, 0); in compile_char1_matchingpath()
5524 JUMPHERE(jump[1]); in compile_char1_matchingpath()
5540 jump[1] = CMP(SLJIT_NOT_EQUAL, TMP1, 0, SLJIT_IMM, CHAR_CR); in compile_char1_matchingpath()
5543 jump[2] = JUMP(SLJIT_GREATER); in compile_char1_matchingpath()
5547 jump[3] = CMP(SLJIT_EQUAL, TMP1, 0, SLJIT_IMM, CHAR_NL); in compile_char1_matchingpath()
5550 JUMPHERE(jump[1]); in compile_char1_matchingpath()
5566 JUMPHERE(jump[2]); in compile_char1_matchingpath()
5567 JUMPHERE(jump[3]); in compile_char1_matchingpath()
5569 JUMPHERE(jump[0]); in compile_char1_matchingpath()
5589 jump[1] = CMP(SLJIT_GREATER, STR_PTR, 0, TMP1, 0); in compile_char1_matchingpath()
5592 jump[0] = JUMP(SLJIT_JUMP); in compile_char1_matchingpath()
5593 JUMPHERE(jump[1]); in compile_char1_matchingpath()
5611 JUMPHERE(jump[0]); in compile_char1_matchingpath()
5629 jump[1] = CMP(SLJIT_LESS, STR_PTR, 0, STR_END, 0); in compile_char1_matchingpath()
5634 jump[0] = JUMP(SLJIT_JUMP); in compile_char1_matchingpath()
5635 JUMPHERE(jump[1]); in compile_char1_matchingpath()
5645 jump[1] = CMP(SLJIT_LESS_EQUAL, TMP2, 0, STR_END, 0); in compile_char1_matchingpath()
5650 JUMPHERE(jump[1]); in compile_char1_matchingpath()
5662 JUMPHERE(jump[0]); in compile_char1_matchingpath()
5709 jump[0] = CMP(SLJIT_EQUAL, TMP1, 0, SLJIT_IMM, c); in compile_char1_matchingpath()
5711 JUMPHERE(jump[0]); in compile_char1_matchingpath()
5736 jump[0] = CMP(SLJIT_LESS, TMP1, 0, SLJIT_IMM, 0xc0); in compile_char1_matchingpath()
5739 JUMPHERE(jump[0]); in compile_char1_matchingpath()
5790 jump[0] = NULL; in compile_char1_matchingpath()
5793 jump[0] = CMP(SLJIT_GREATER, TMP1, 0, SLJIT_IMM, bit); in compile_char1_matchingpath()
5796 add_jump(compiler, backtracks, jump[0]); in compile_char1_matchingpath()
5797 jump[0] = NULL; in compile_char1_matchingpath()
5801 jump[0] = CMP(SLJIT_GREATER, TMP1, 0, SLJIT_IMM, 255); in compile_char1_matchingpath()
5804 add_jump(compiler, backtracks, jump[0]); in compile_char1_matchingpath()
5805 jump[0] = NULL; in compile_char1_matchingpath()
5817 if (jump[0] != NULL) in compile_char1_matchingpath()
5818 JUMPHERE(jump[0]); in compile_char1_matchingpath()
5992 struct sljit_jump *jump = NULL; in compile_ref_matchingpath() local
6017 jump = CMP(SLJIT_EQUAL, TMP1, 0, TMP2, 0); in compile_ref_matchingpath()
6046 jump = JUMP(SLJIT_ZERO); in compile_ref_matchingpath()
6074 if (jump != NULL) in compile_ref_matchingpath()
6077 add_jump(compiler, backtracks, jump); in compile_ref_matchingpath()
6079 JUMPHERE(jump); in compile_ref_matchingpath()
6092 struct sljit_jump *jump = NULL; in compile_ref_iterator_matchingpath() local
6200 jump = CMP(SLJIT_GREATER_EQUAL, TMP1, 0, SLJIT_IMM, max); in compile_ref_iterator_matchingpath()
6204 JUMPHERE(jump); in compile_ref_iterator_matchingpath()
6245 jump = JUMP(SLJIT_JUMP); in compile_ref_iterator_matchingpath()
6282 if (jump != NULL) in compile_ref_iterator_matchingpath()
6283 JUMPHERE(jump); in compile_ref_iterator_matchingpath()
6481 struct sljit_jump *jump; in compile_assert_matchingpath() local
6681 jump = JUMP(SLJIT_JUMP); in compile_assert_matchingpath()
6692 JUMPHERE(jump); in compile_assert_matchingpath()
6729 jump = JUMP(SLJIT_JUMP); in compile_assert_matchingpath()
6731 add_jump(compiler, target, jump); in compile_assert_matchingpath()
6781 SET_LABEL(jump, backtrack->matchingpath); in compile_assert_matchingpath()
6999 struct sljit_jump *jump; in compile_bracket_matchingpath() local
7111 jump = CMP(SLJIT_NOT_EQUAL, STR_PTR, 0, SLJIT_IMM, 0); in compile_bracket_matchingpath()
7115 JUMPHERE(jump); in compile_bracket_matchingpath()
7132 jump = CMP(SLJIT_NOT_EQUAL, STR_PTR, 0, SLJIT_IMM, 0); in compile_bracket_matchingpath()
7134 JUMPHERE(jump); in compile_bracket_matchingpath()
7912 struct sljit_jump *jump = NULL; in compile_iterator_matchingpath() local
7996 jump = CMP(SLJIT_GREATER_EQUAL, TMP1, 0, SLJIT_IMM, max); in compile_iterator_matchingpath()
8004 if (jump != NULL) in compile_iterator_matchingpath()
8005 JUMPHERE(jump); in compile_iterator_matchingpath()
8606 struct sljit_jump *jump = NULL; in compile_iterator_backtrackingpath() local
8636 jump = CMP(SLJIT_LESS_EQUAL, STR_PTR, 0, base, offset1); in compile_iterator_backtrackingpath()
8642 jump = CMP(SLJIT_LESS_EQUAL, TMP1, 0, SLJIT_IMM, min + 1); in compile_iterator_backtrackingpath()
8650 JUMPHERE(jump); in compile_iterator_backtrackingpath()
8703 jump = JUMP(SLJIT_JUMP); in compile_iterator_backtrackingpath()
8708 JUMPHERE(jump); in compile_iterator_backtrackingpath()
8716 jump = CMP(SLJIT_EQUAL, STR_PTR, 0, SLJIT_IMM, 0); in compile_iterator_backtrackingpath()
8720 JUMPHERE(jump); in compile_iterator_backtrackingpath()
9324 struct sljit_jump *jump; in compile_bracketpos_backtrackingpath() local
9350 jump = JUMP(SLJIT_JUMP); in compile_bracketpos_backtrackingpath()
9354 JUMPHERE(jump); in compile_bracketpos_backtrackingpath()
9388 struct sljit_jump *jump; in compile_control_verb_backtrackingpath() local
9399 jump = JUMP(SLJIT_JUMP); in compile_control_verb_backtrackingpath()
9403 JUMPHERE(jump); in compile_control_verb_backtrackingpath()
9449 struct sljit_jump *jump; in compile_then_trap_backtrackingpath() local
9463 jump = JUMP(SLJIT_JUMP); in compile_then_trap_backtrackingpath()
9472 JUMPHERE(jump); in compile_then_trap_backtrackingpath()
9675 struct sljit_jump *jump; in compile_recurse() local
9739 jump = JUMP(SLJIT_JUMP); in compile_recurse()
9766 JUMPHERE(jump); in compile_recurse()
9813 struct sljit_jump *jump; in PRIV() local
10095 jump = CMP(SLJIT_NOT_EQUAL, SLJIT_MEM1(SLJIT_SP), common->hit_start, SLJIT_IMM, -1); in PRIV()
10098 JUMPHERE(jump); in PRIV()
10159 jump = CMP(SLJIT_NOT_EQUAL, SLJIT_MEM1(SLJIT_SP), common->hit_start, SLJIT_IMM, 0); in PRIV()
10163 JUMPHERE(jump); in PRIV()
10250 jump = CMP(SLJIT_NOT_EQUAL, SLJIT_RETURN_REG, 0, SLJIT_IMM, 0); in PRIV()
10259 JUMPHERE(jump); in PRIV()