/third_party/pcre2/pcre2/src/ |
D | pcre2_jit_compile.c | 2153 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), stackpos, SLJIT_IMM, -OVECTOR(0)); in init_frame() 2170 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), stackpos, SLJIT_IMM, -common->mark_ptr); in init_frame() 2183 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), stackpos, SLJIT_IMM, -OVECTOR(0)); in init_frame() 2192 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), stackpos, SLJIT_IMM, -common->mark_ptr); in init_frame() 2201 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), stackpos, SLJIT_IMM, -common->capture_last_ptr); in init_frame() 2217 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), stackpos, SLJIT_IMM, -common->capture_last_ptr); in init_frame() 2224 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), stackpos, SLJIT_IMM, OVECTOR(offset)); in init_frame() 2242 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), stackpos, SLJIT_IMM, 0); in init_frame() 3137 OP2(SLJIT_SUB | SLJIT_SET_Z, COUNT_MATCH, 0, COUNT_MATCH, 0, SLJIT_IMM, 1); in count_match() 3147 OP2(SLJIT_SUB, STACK_TOP, 0, STACK_TOP, 0, SLJIT_IMM, size * SSIZE_OF(sw)); in allocate_stack() [all …]
|
D | pcre2_jit_simd_inc.h | 70 OP2(SLJIT_AND, reg, 0, reg, 0, SLJIT_IMM, 0xc0); in jump_if_utf_char_start() 71 return CMP(SLJIT_NOT_EQUAL, reg, 0, SLJIT_IMM, 0x80); in jump_if_utf_char_start() 73 OP2(SLJIT_AND, reg, 0, reg, 0, SLJIT_IMM, 0xfc00); in jump_if_utf_char_start() 74 return CMP(SLJIT_NOT_EQUAL, reg, 0, SLJIT_IMM, 0xdc00); in jump_if_utf_char_start() 245 OP1(SLJIT_MOV, TMP1, 0, SLJIT_IMM, character_to_int32(char1 | bit)); in fast_forward_char_simd() 258 OP1(SLJIT_MOV, TMP1, 0, SLJIT_IMM, character_to_int32(bit != 0 ? bit : char2)); in fast_forward_char_simd() 285 OP2(SLJIT_AND, STR_PTR, 0, STR_PTR, 0, SLJIT_IMM, ~0xf); in fast_forward_char_simd() 286 OP2(SLJIT_AND, TMP2, 0, TMP2, 0, SLJIT_IMM, 0xf); in fast_forward_char_simd() 302 quit = CMP(SLJIT_NOT_ZERO, TMP1, 0, SLJIT_IMM, 0); in fast_forward_char_simd() 309 OP2(SLJIT_ADD, STR_PTR, 0, STR_PTR, 0, SLJIT_IMM, 16); in fast_forward_char_simd() [all …]
|
/third_party/pcre2/pcre2/src/sljit/ |
D | sljitNativeX86_common.c | 811 inst = emit_x86_instruction(compiler, 1 | EX86_BIN_INS, SLJIT_IMM, immw, arg, argw); \ 988 EMIT_MOV(compiler, TMP_REG1, 0, SLJIT_IMM, 1); in adjust_shadow_stack() 1027 if (src & SLJIT_IMM) { in emit_mov() 1051 inst = emit_x86_instruction(compiler, 1, SLJIT_IMM, srcw, dst, dstw); in emit_mov() 1241 if (src & SLJIT_IMM) { in emit_mov_byte() 1246 inst = emit_x86_instruction(compiler, 1, SLJIT_IMM, srcw, dst, 0); in emit_mov_byte() 1252 …inst = emit_x86_instruction(compiler, 1 | EX86_BYTE_ARG | EX86_NO_REXW, SLJIT_IMM, srcw, dst, dstw… in emit_mov_byte() 1288 inst = emit_x86_instruction(compiler, 1 | EX86_SHIFT_INS, SLJIT_IMM, 24, dst, 0); in emit_mov_byte() 1292 inst = emit_x86_instruction(compiler, 1 | EX86_SHIFT_INS, SLJIT_IMM, 24, dst, 0); in emit_mov_byte() 1297 inst = emit_x86_instruction(compiler, 1 | EX86_BIN_INS, SLJIT_IMM, 0xff, dst, 0); in emit_mov_byte() [all …]
|
D | sljitNativeX86_64.c | 75 SLJIT_ASSERT(!(a & SLJIT_IMM) || compiler->mode32 || IS_HALFWORD(imma)); in emit_x86_instruction() 83 SLJIT_ASSERT(!(a & SLJIT_IMM) || !(flags & EX86_SSE2)); in emit_x86_instruction() 151 if (a & SLJIT_IMM) { in emit_x86_instruction() 203 if ((flags & EX86_BIN_INS) && (a & SLJIT_IMM)) in emit_x86_instruction() 206 if (a & SLJIT_IMM) in emit_x86_instruction() 214 if (a & SLJIT_IMM) { in emit_x86_instruction() 272 if (a & SLJIT_IMM) { in emit_x86_instruction() 506 EMIT_MOV(compiler, TMP_REG1, 0, SLJIT_IMM, local_size >> 12); in sljit_emit_enter() 960 EMIT_MOV(compiler, TMP_REG1, 0, SLJIT_IMM, memw); in sljit_emit_mem() 965 EMIT_MOV(compiler, TMP_REG1, 0, SLJIT_IMM, memw); in sljit_emit_mem() [all …]
|
D | sljitNativeX86_32.c | 65 SLJIT_ASSERT(!(a & SLJIT_IMM) || !(flags & EX86_SSE2)); in emit_x86_instruction() 108 if (a & SLJIT_IMM) { in emit_x86_instruction() 148 if ((flags & EX86_BIN_INS) && (a & SLJIT_IMM)) in emit_x86_instruction() 151 if (a & SLJIT_IMM) in emit_x86_instruction() 159 if (a & SLJIT_IMM) { in emit_x86_instruction() 216 if (a & SLJIT_IMM) { in emit_x86_instruction() 436 EMIT_MOV(compiler, SLJIT_R2, 0, SLJIT_IMM, local_size >> 12); in sljit_emit_enter() 785 if (!(src & SLJIT_IMM) && src != SLJIT_R0) { in tail_call_with_args() 839 if (word_arg_count >= 1 && !(src & SLJIT_IMM) && src != SLJIT_R0) { in tail_call_with_args() 868 if (!(src & SLJIT_IMM) && src != SLJIT_R0) { in tail_call_with_args() [all …]
|
D | sljitNativePPC_common.c | 1225 else if (src1 & SLJIT_IMM) { in emit_op() 1245 else if (src2 & SLJIT_IMM) { in emit_op() 1337 …emit_op(compiler, (src & SLJIT_IMM) ? SLJIT_MOV : type, flags | (type_flags), dst, dstw, TMP_REG1,… 1368 else if (src & SLJIT_IMM) { in sljit_emit_op1() 1431 (((src) & SLJIT_IMM) && (srcw) <= SIMM_MAX && (srcw) >= SIMM_MIN) 1434 (((src) & SLJIT_IMM) && !((srcw) & ~0xffff)) 1438 (((src) & SLJIT_IMM) && !((srcw) & 0xffff) && (srcw) <= 0x7fffffffl && (srcw) >= -0x80000000l) 1441 (((src) & SLJIT_IMM) && !((srcw) & 0xffff)) 1445 (((src) & SLJIT_IMM) && !((srcw) & ~(sljit_sw)0xffff0000)) 1449 (((src) & SLJIT_IMM) && (srcw) <= 0x7fff7fffl && (srcw) >= -0x80000000l) [all …]
|
D | sljitNativeS390X.c | 1063 if (src & SLJIT_IMM) in emit_move() 2090 if (FAST_IS_REG(dst) && (src & SLJIT_IMM)) { in sljit_emit_op1() 2170 && (FAST_IS_REG(src) || (src & SLJIT_IMM))) { in sljit_emit_op1() 2172 if (src & SLJIT_IMM) { in sljit_emit_op1() 2243 SLJIT_ASSERT((src & SLJIT_IMM) == 0); /* no immediates */ in sljit_emit_op1() 2340 if (src2 & SLJIT_IMM) { in sljit_emit_add() 2425 if (src2 & SLJIT_IMM) { in sljit_emit_sub() 2462 if (src1 == SLJIT_IMM && src1w == 0 && (flag_type == 0 || sets_signed)) { in sljit_emit_sub() 2468 if (src2 & SLJIT_IMM) { in sljit_emit_sub() 2576 if (src2 & SLJIT_IMM) { in sljit_emit_multiply() [all …]
|
D | sljitNativeRISCV_common.c | 1551 if ((src2 & SLJIT_IMM) && src2w != 0 && src2w <= SIMM_MAX && src2w >= SIMM_MIN) { in emit_op() 1555 …else if ((flags & CUMULATIVE_OP) && (src1 & SLJIT_IMM) && src1w != 0 && src1w <= SIMM_MAX && src1w… in emit_op() 1562 src2 = SLJIT_IMM; in emit_op() 1572 else if (src1 & SLJIT_IMM) { in emit_op() 1595 else if (src2 & SLJIT_IMM) { in emit_op() 1721 … SLJIT_MOV_U32, INT_DATA | MOVE_OP, dst, dstw, TMP_REG1, 0, src, (src & SLJIT_IMM) ? (sljit_u32)sr… in sljit_emit_op1() 1726 …, INT_DATA | SIGNED_DATA | MOVE_OP, dst, dstw, TMP_REG1, 0, src, (src & SLJIT_IMM) ? (sljit_s32)sr… in sljit_emit_op1() 1730 …return emit_op(compiler, op, BYTE_DATA | MOVE_OP, dst, dstw, TMP_REG1, 0, src, (src & SLJIT_IMM) ?… in sljit_emit_op1() 1733 … BYTE_DATA | SIGNED_DATA | MOVE_OP, dst, dstw, TMP_REG1, 0, src, (src & SLJIT_IMM) ? (sljit_s8)src… in sljit_emit_op1() 1736 …return emit_op(compiler, op, HALF_DATA | MOVE_OP, dst, dstw, TMP_REG1, 0, src, (src & SLJIT_IMM) ?… in sljit_emit_op1() [all …]
|
D | sljitNativeARM_64.c | 1352 if (src & SLJIT_IMM) in sljit_emit_op1() 1357 if (src & SLJIT_IMM) in sljit_emit_op1() 1362 if (src & SLJIT_IMM) in sljit_emit_op1() 1367 if (src & SLJIT_IMM) in sljit_emit_op1() 1372 if (src & SLJIT_IMM) in sljit_emit_op1() 1378 if (src & SLJIT_IMM) in sljit_emit_op1() 1387 if (src & SLJIT_IMM) in sljit_emit_op1() 1454 if (src1 & SLJIT_IMM) in sljit_emit_op2() 1459 if (src2 & SLJIT_IMM) in sljit_emit_op2() 1507 if (src2 & SLJIT_IMM) { in sljit_emit_shift_into() [all …]
|
D | sljitNativeMIPS_common.c | 1141 if (!(src & SLJIT_IMM)) { in sljit_emit_return_to() 2051 if ((src2 & SLJIT_IMM) && src2w != 0 && CHECK_IMM(flags, src2w)) { in emit_op() 2054 …} else if ((flags & CUMULATIVE_OP) && (src1 & SLJIT_IMM) && src1w != 0 && CHECK_IMM(flags, src1w))… in emit_op() 2061 src2 = SLJIT_IMM; in emit_op() 2071 else if (src1 & SLJIT_IMM) { in emit_op() 2094 else if (src2 & SLJIT_IMM) { in emit_op() 2282 … SLJIT_MOV_U32, INT_DATA | MOVE_OP, dst, dstw, TMP_REG1, 0, src, (src & SLJIT_IMM) ? (sljit_u32)sr… in sljit_emit_op1() 2286 …, INT_DATA | SIGNED_DATA | MOVE_OP, dst, dstw, TMP_REG1, 0, src, (src & SLJIT_IMM) ? (sljit_s32)sr… in sljit_emit_op1() 2290 …return emit_op(compiler, op, BYTE_DATA | MOVE_OP, dst, dstw, TMP_REG1, 0, src, (src & SLJIT_IMM) ?… in sljit_emit_op1() 2293 … BYTE_DATA | SIGNED_DATA | MOVE_OP, dst, dstw, TMP_REG1, 0, src, (src & SLJIT_IMM) ? (sljit_s8)src… in sljit_emit_op1() [all …]
|
D | sljitNativeARM_T2_32.c | 1651 FAIL_IF(sljit_emit_ijump(compiler, SLJIT_FAST_CALL, SLJIT_IMM, in sljit_emit_op0() 1654 FAIL_IF(sljit_emit_ijump(compiler, SLJIT_FAST_CALL, SLJIT_IMM, in sljit_emit_op0() 1708 if (src & SLJIT_IMM) in sljit_emit_op1() 1713 if (src & SLJIT_IMM) in sljit_emit_op1() 1718 if (src & SLJIT_IMM) in sljit_emit_op1() 1723 if (src & SLJIT_IMM) in sljit_emit_op1() 1732 if (src & SLJIT_IMM) in sljit_emit_op1() 1781 if (src1 & SLJIT_IMM) in sljit_emit_op2() 1790 if (src2 & SLJIT_IMM) in sljit_emit_op2() 1839 if (src2 & SLJIT_IMM) { in sljit_emit_shift_into() [all …]
|
D | sljitLir.c | 862 if (p == SLJIT_IMM) in function_check_src() 942 if ((p) & SLJIT_IMM) in sljit_verbose_param() 1352 CHECK_ARGUMENT(src != SLJIT_IMM); in check_sljit_emit_op1() 1501 CHECK_ARGUMENT(src != SLJIT_IMM); in check_sljit_emit_op_src() 1998 if (src != SLJIT_IMM) { in check_sljit_emit_cmov() 2483 if ((src1 & SLJIT_IMM) && !src1w) { in sljit_emit_cmp() 2486 src2 = SLJIT_IMM; in sljit_emit_cmp() 2489 if ((src2 & SLJIT_IMM) && !src2w) in sljit_emit_cmp() 2494 if (SLJIT_UNLIKELY((src1 & SLJIT_IMM) && !(src2 & SLJIT_IMM))) { in sljit_emit_cmp() 2645 return sljit_emit_op2(compiler, SLJIT_ADD, dst, dstw, SLJIT_SP, 0, SLJIT_IMM, offset); in sljit_get_local_base()
|
D | sljitNativeARM_32.c | 1220 FAIL_IF(emit_op(compiler, SLJIT_SUB, ALLOW_IMM, SLJIT_SP, 0, SLJIT_SP, 0, SLJIT_IMM, local_size)); in sljit_emit_enter() 1940 if (src2 & SLJIT_IMM) { in emit_op() 1960 if (src1 & SLJIT_IMM) { in emit_op() 2102 FAIL_IF(sljit_emit_ijump(compiler, SLJIT_FAST_CALL, SLJIT_IMM, in sljit_emit_op0() 2147 …_MOV_U8, ALLOW_ANY_IMM | BYTE_SIZE, dst, dstw, TMP_REG1, 0, src, (src & SLJIT_IMM) ? (sljit_u8)src… in sljit_emit_op1() 2150 …ALLOW_ANY_IMM | SIGNED | BYTE_SIZE, dst, dstw, TMP_REG1, 0, src, (src & SLJIT_IMM) ? (sljit_s8)src… in sljit_emit_op1() 2153 …MOV_U16, ALLOW_ANY_IMM | HALF_SIZE, dst, dstw, TMP_REG1, 0, src, (src & SLJIT_IMM) ? (sljit_u16)sr… in sljit_emit_op1() 2156 …ALLOW_ANY_IMM | SIGNED | HALF_SIZE, dst, dstw, TMP_REG1, 0, src, (src & SLJIT_IMM) ? (sljit_s16)sr… in sljit_emit_op1() 2205 if (src2 & SLJIT_IMM) { in sljit_emit_op2() 2250 if (src2 & SLJIT_IMM) { in sljit_emit_shift_into() [all …]
|
D | sljitNativeMIPS_64.c | 303 if (src & SLJIT_IMM) in sljit_emit_icall()
|
D | sljitNativeMIPS_32.c | 288 if (src & SLJIT_IMM) in sljit_emit_icall()
|
D | sljitLir.h | 857 #define SLJIT_IMM 0x40 macro
|