/external/pcre/dist2/src/sljit/ |
D | sljitLir.h | 446 sljit_sw imm; 452 sljit_sw cache_argw; 458 sljit_sw cache_argw; 560 static SLJIT_INLINE sljit_sw sljit_get_executable_offset(struct sljit_compiler *compiler) { return … in sljit_get_executable_offset() 675 sljit_s32 src, sljit_sw srcw); 697 …UTE sljit_s32 sljit_emit_fast_enter(struct sljit_compiler *compiler, sljit_s32 dst, sljit_sw dstw); 978 sljit_s32 dst, sljit_sw dstw, 979 sljit_s32 src, sljit_sw srcw); 1034 sljit_s32 dst, sljit_sw dstw, 1035 sljit_s32 src1, sljit_sw src1w, [all …]
|
D | sljitNativeX86_32.c | 29 static sljit_s32 emit_do_imm(struct sljit_compiler *compiler, sljit_u8 opcode, sljit_sw imm) in emit_do_imm() 33 inst = (sljit_u8*)ensure_buf(compiler, 1 + 1 + sizeof(sljit_sw)); in emit_do_imm() 35 INC_SIZE(1 + sizeof(sljit_sw)); in emit_do_imm() 41 static sljit_u8* generate_far_jump_code(struct sljit_jump *jump, sljit_u8 *code_ptr, sljit_sw execu… in generate_far_jump_code() 86 compiler->stack_tmp_size = 2 * sizeof(sljit_sw); in sljit_emit_enter() 90 compiler->stack_tmp_size = 3 * sizeof(sljit_sw); in sljit_emit_enter() 95 compiler->saveds_offset += ((scratches > (3 + 6)) ? 6 : (scratches - 3)) * sizeof(sljit_sw); in sljit_emit_enter() 100 compiler->locals_offset += (saveds - 3) * sizeof(sljit_sw); in sljit_emit_enter() 144 inst[3] = sizeof(sljit_sw) * (3 + 2); /* saveds >= 3 as well. */ in sljit_emit_enter() 150 inst[2] = sizeof(sljit_sw) * 2; in sljit_emit_enter() [all …]
|
D | sljitNativeX86_common.c | 80 w = compiler->saveds_offset - ((p) - SLJIT_R2) * (sljit_sw)sizeof(sljit_sw); \ 82 w = compiler->locals_offset + ((p) - SLJIT_S2) * (sljit_sw)sizeof(sljit_sw); \ 314 static SLJIT_INLINE void sljit_unaligned_store_sw(void *addr, sljit_sw value) in sljit_unaligned_store_sw() 431 static sljit_u8* generate_far_jump_code(struct sljit_jump *jump, sljit_u8 *code_ptr, sljit_sw execu… 437 …_jump_code(struct sljit_jump *jump, sljit_u8 *code_ptr, sljit_u8 *code, sljit_sw executable_offset) in generate_near_jump_code() 448 …short_jump = (sljit_sw)(label_addr - (jump->addr + 2)) >= -128 && (sljit_sw)(label_addr - (jump->a… in generate_near_jump_code() 451 …if ((sljit_sw)(label_addr - (jump->addr + 1)) > HALFWORD_MAX || (sljit_sw)(label_addr - (jump->add… in generate_near_jump_code() 496 sljit_sw executable_offset; in sljit_generate_code() 497 sljit_sw jump_addr; in sljit_generate_code() 552 const_->addr = ((sljit_uw)code_ptr) - sizeof(sljit_sw); in sljit_generate_code() [all …]
|
D | sljitLir.c | 251 extra) * sizeof(sljit_sw)) 378 && sizeof(sljit_p) <= sizeof(sljit_sw) in sljit_create_compiler() 379 && (sizeof(sljit_sw) == 4 || sizeof(sljit_sw) == 8) in sljit_create_compiler() 760 static sljit_s32 function_check_src_mem(struct sljit_compiler *compiler, sljit_s32 p, sljit_sw i) in function_check_src_mem() 794 static sljit_s32 function_check_src(struct sljit_compiler *compiler, sljit_s32 p, sljit_sw i) in function_check_src() 814 static sljit_s32 function_check_dst(struct sljit_compiler *compiler, sljit_s32 p, sljit_sw i, sljit… in function_check_dst() 831 static sljit_s32 function_fcheck(struct sljit_compiler *compiler, sljit_s32 p, sljit_sw i) in function_fcheck() 885 static void sljit_verbose_param(struct sljit_compiler *compiler, sljit_s32 p, sljit_sw i) in sljit_verbose_param() 911 static void sljit_verbose_fparam(struct sljit_compiler *compiler, sljit_s32 p, sljit_sw i) in sljit_verbose_fparam() 1127 …heck_sljit_emit_return(struct sljit_compiler *compiler, sljit_s32 op, sljit_s32 src, sljit_sw srcw) in check_sljit_emit_return() [all …]
|
D | sljitNativeARM_32.c | 396 static SLJIT_INLINE sljit_s32 emit_imm(struct sljit_compiler *compiler, sljit_s32 reg, sljit_sw imm) in emit_imm() 404 …_jump_type(struct sljit_jump *jump, sljit_uw *code_ptr, sljit_uw *code, sljit_sw executable_offset) in detect_jump_type() 406 sljit_sw diff; in detect_jump_type() 416 diff = ((sljit_sw)jump->u.target - (sljit_sw)(code_ptr + 2) - executable_offset); in detect_jump_type() 419 diff = ((sljit_sw)(code + jump->u.label->size) - (sljit_sw)(code_ptr + 2)); in detect_jump_type() 441 diff = ((sljit_sw)jump->u.target - (sljit_sw)code_ptr - executable_offset); in detect_jump_type() 444 diff = ((sljit_sw)(code + jump->u.label->size) - (sljit_sw)code_ptr); in detect_jump_type() 461 static SLJIT_INLINE void inline_set_jump_addr(sljit_uw jump_ptr, sljit_sw executable_offset, sljit_… in inline_set_jump_addr() 468 sljit_sw diff = (sljit_sw)(((sljit_sw)new_addr - (sljit_sw)(inst + 2) - executable_offset) >> 2); in inline_set_jump_addr() 558 static SLJIT_INLINE void inline_set_const(sljit_uw addr, sljit_sw executable_offset, sljit_sw new_c… in inline_set_const() [all …]
|
D | sljitNativeARM_64.c | 154 static SLJIT_INLINE sljit_sw detect_jump_type(struct sljit_jump *jump, sljit_ins *code_ptr, sljit_i… in detect_jump_type() 156 sljit_sw diff; in detect_jump_type() 171 diff = (sljit_sw)target_addr - (sljit_sw)(code_ptr + 4) - executable_offset; in detect_jump_type() 208 static SLJIT_INLINE sljit_sw put_label_get_length(struct sljit_put_label *put_label, sljit_uw max_l… in put_label_get_length() 233 sljit_sw executable_offset; in sljit_generate_code() 311 SLJIT_ASSERT(code_ptr - code <= (sljit_sw)compiler->size); in sljit_generate_code() 320 addr = (sljit_sw)(addr - (sljit_uw)SLJIT_ADD_EXEC_OFFSET(buf_ptr, executable_offset)) >> 2; in sljit_generate_code() 321 SLJIT_ASSERT((sljit_sw)addr <= 0x1ffffff && (sljit_sw)addr >= -0x2000000); in sljit_generate_code() 328 addr = (sljit_sw)(addr - (sljit_uw)SLJIT_ADD_EXEC_OFFSET(buf_ptr, executable_offset)) >> 2; in sljit_generate_code() 329 SLJIT_ASSERT((sljit_sw)addr <= 0x3ffff && (sljit_sw)addr >= -0x40000); in sljit_generate_code() [all …]
|
D | sljitNativeSPARC_common.c | 218 …ump_type(struct sljit_jump *jump, sljit_ins *code_ptr, sljit_ins *code, sljit_sw executable_offset) in detect_jump_type() 220 sljit_sw diff; in detect_jump_type() 258 diff = ((sljit_sw)target_addr - (sljit_sw)(inst - 1) - executable_offset) >> 2; in detect_jump_type() 302 sljit_sw executable_offset; in sljit_generate_code() 393 addr = (sljit_sw)(addr - (sljit_uw)SLJIT_ADD_EXEC_OFFSET(buf_ptr, executable_offset)) >> 2; in sljit_generate_code() 394 SLJIT_ASSERT((sljit_sw)addr <= 0x1fffffff && (sljit_sw)addr >= -0x20000000); in sljit_generate_code() 399 addr = (sljit_sw)(addr - (sljit_uw)SLJIT_ADD_EXEC_OFFSET(buf_ptr, executable_offset)) >> 2; in sljit_generate_code() 400 SLJIT_ASSERT((sljit_sw)addr <= MAX_DISP && (sljit_sw)addr >= MIN_DISP); in sljit_generate_code() 542 …_s32 sljit_emit_return(struct sljit_compiler *compiler, sljit_s32 op, sljit_s32 src, sljit_sw srcw) in sljit_emit_return() 594 …fast(struct sljit_compiler *compiler, sljit_s32 flags, sljit_s32 reg, sljit_s32 arg, sljit_sw argw) in getput_arg_fast() [all …]
|
D | sljitNativePPC_common.c | 238 …unction_context(void** func_ptr, struct sljit_function_context* context, sljit_sw addr, void* func) in sljit_set_function_context() 240 sljit_sw* ptrs; in sljit_set_function_context() 243 ptrs = (sljit_sw*)func; in sljit_set_function_context() 259 …ump_type(struct sljit_jump *jump, sljit_ins *code_ptr, sljit_ins *code, sljit_sw executable_offset) in detect_jump_type() 261 sljit_sw diff; in detect_jump_type() 263 sljit_sw extra_jump_flags; in detect_jump_type() 285 diff = ((sljit_sw)target_addr - (sljit_sw)(code_ptr) - executable_offset) & ~0x3l; in detect_jump_type() 332 static SLJIT_INLINE sljit_sw put_label_get_length(struct sljit_put_label *put_label, sljit_uw max_l… in put_label_get_length() 388 sljit_sw executable_offset; in sljit_generate_code() 514 …SLJIT_ASSERT(code_ptr - code <= (sljit_sw)compiler->size - (sizeof(struct sljit_function_context) … in sljit_generate_code() [all …]
|
D | sljitConfigInternal.h | 409 typedef long int sljit_sw; typedef 418 typedef int sljit_sw; typedef 426 typedef long long sljit_sw; typedef 429 typedef __int64 sljit_sw; typedef 433 typedef long int sljit_sw; typedef 630 SLJIT_API_FUNC_ATTRIBUTE sljit_sw sljit_exec_offset(void* ptr); 684 #define SLJIT_LOCALS_OFFSET_BASE ((6 + 8) * sizeof(sljit_sw)) 687 #define SLJIT_LOCALS_OFFSET_BASE ((3 + 1) * sizeof(sljit_sw)) 689 #define SLJIT_LOCALS_OFFSET_BASE (3 * sizeof(sljit_sw)) 697 #define SLJIT_LOCALS_OFFSET_BASE (4 * sizeof(sljit_sw)) [all …]
|
D | sljitNativeARM_T2_32.c | 240 …ump_type(struct sljit_jump *jump, sljit_u16 *code_ptr, sljit_u16 *code, sljit_sw executable_offset) in detect_jump_type() 242 sljit_sw diff; in detect_jump_type() 251 diff = ((sljit_sw)jump->u.target - (sljit_sw)(code_ptr + 2) - executable_offset) >> 1; in detect_jump_type() 255 diff = ((sljit_sw)(code + jump->u.label->size) - (sljit_sw)(code_ptr + 2)) >> 1; in detect_jump_type() 295 static SLJIT_INLINE void set_jump_instruction(struct sljit_jump *jump, sljit_sw executable_offset) in set_jump_instruction() 298 sljit_sw diff; in set_jump_instruction() 309 …diff = ((sljit_sw)jump->u.target - (sljit_sw)(jump->addr + sizeof(sljit_u32)) - executable_offset)… in set_jump_instruction() 313 …diff = ((sljit_sw)(jump->u.label->addr) - (sljit_sw)(jump->addr + sizeof(sljit_u32)) - executable_… in set_jump_instruction() 369 sljit_sw executable_offset; in sljit_generate_code() 444 SLJIT_ASSERT(code_ptr - code <= (sljit_sw)compiler->size); in sljit_generate_code() [all …]
|
D | sljitNativeMIPS_common.c | 314 …ump_type(struct sljit_jump *jump, sljit_ins *code_ptr, sljit_ins *code, sljit_sw executable_offset) in detect_jump_type() 316 sljit_sw diff; in detect_jump_type() 347 diff = ((sljit_sw)target_addr - (sljit_sw)inst - executable_offset) >> 2; in detect_jump_type() 365 diff = ((sljit_sw)target_addr - (sljit_sw)(inst + 1) - executable_offset) >> 2; in detect_jump_type() 455 static SLJIT_INLINE sljit_sw put_label_get_length(struct sljit_put_label *put_label, sljit_uw max_l… in put_label_get_length() 511 sljit_sw executable_offset; in sljit_generate_code() 595 SLJIT_ASSERT(code_ptr - code <= (sljit_sw)compiler->size); in sljit_generate_code() 604 …addr = (sljit_sw)(addr - ((sljit_uw)SLJIT_ADD_EXEC_OFFSET(buf_ptr, executable_offset) + sizeof(slj… in sljit_generate_code() 605 SLJIT_ASSERT((sljit_sw)addr <= SIMM_MAX && (sljit_sw)addr >= SIMM_MIN); in sljit_generate_code() 676 sljit_sw fir = 0; in sljit_has_cpu_feature() [all …]
|
D | sljitNativeX86_64.c | 29 static sljit_s32 emit_load_imm64(struct sljit_compiler *compiler, sljit_s32 reg, sljit_sw imm) in emit_load_imm64() 33 inst = (sljit_u8*)ensure_buf(compiler, 1 + 2 + sizeof(sljit_sw)); in emit_load_imm64() 35 INC_SIZE(2 + sizeof(sljit_sw)); in emit_load_imm64() 68 code_ptr += short_addr ? sizeof(sljit_s32) : sizeof(sljit_sw); in generate_far_jump_code() 146 compiler->locals_offset = 6 * sizeof(sljit_sw); in sljit_emit_enter() 148 compiler->locals_offset = ((scratches > 2) ? 4 : 2) * sizeof(sljit_sw); in sljit_emit_enter() 292 compiler->locals_offset = 6 * sizeof(sljit_sw); in sljit_set_context() 294 compiler->locals_offset = ((scratches > 2) ? 4 : 2) * sizeof(sljit_sw); in sljit_set_context() 303 …_s32 sljit_emit_return(struct sljit_compiler *compiler, sljit_s32 op, sljit_s32 src, sljit_sw srcw) in sljit_emit_return() 378 …jit_s32 emit_do_imm32(struct sljit_compiler *compiler, sljit_u8 rex, sljit_u8 opcode, sljit_sw imm) in emit_do_imm32() [all …]
|
D | sljitNativeS390X.c | 117 sljit_sw init_value; /* required to build literal pool */ 746 SLJIT_S390X_INSTRUCTION(name, sljit_gpr reg, sljit_sw d, sljit_gpr b) \ 767 SLJIT_S390X_INSTRUCTION(name, sljit_gpr dst, sljit_gpr src, sljit_sw d, sljit_gpr b) \ 876 SLJIT_S390X_INSTRUCTION(name, sljit_gpr reg, sljit_sw imm, sljit_uw mask) \ 895 SLJIT_S390X_INSTRUCTION(name, sljit_gpr reg, sljit_sw ri) \ 922 SLJIT_S390X_INSTRUCTION(brcl, sljit_uw mask, sljit_sw target) in SLJIT_S390X_INSTRUCTION() 979 static sljit_s32 push_load_imm_inst(struct sljit_compiler *compiler, sljit_gpr target, sljit_sw v) in push_load_imm_inst() 1018 sljit_sw offset; 1023 struct addr *addr, sljit_s32 mem, sljit_sw off, in make_addr_bxy() 1056 struct addr *addr, sljit_s32 mem, sljit_sw off, in make_addr_bx() [all …]
|
D | sljitNativeSPARC_32.c | 27 static sljit_s32 load_immediate(struct sljit_compiler *compiler, sljit_s32 dst, sljit_sw imm) in load_immediate() 39 sljit_s32 dst, sljit_s32 src1, sljit_sw src2) in emit_single_op() 147 sljit_s32 float_offset = (16 + 6) * sizeof(sljit_sw); in call_with_args() 204 …mpiler, STF | FD(float_arg_index) | S1(SLJIT_SP) | IMM((16 + 7) * sizeof(sljit_sw)), MOVABLE_INS)); in call_with_args() 205 …| FD(float_arg_index) | (1 << 25) | S1(SLJIT_SP) | IMM((16 + 8) * sizeof(sljit_sw)), MOVABLE_INS)); in call_with_args() 218 float_offset = (16 + 6) * sizeof(sljit_sw); in call_with_args() 234 …er, LDUW | DA(reg_index + 1) | S1(SLJIT_SP) | IMM(float_offset + sizeof(sljit_sw)), reg_index + 1)… in call_with_args() 260 static SLJIT_INLINE sljit_s32 emit_const(struct sljit_compiler *compiler, sljit_s32 dst, sljit_sw i… in emit_const() 266 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_jump_addr(sljit_uw addr, sljit_uw new_target, sljit_sw exec… in sljit_set_jump_addr() 280 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_const(sljit_uw addr, sljit_sw new_constant, sljit_sw execut… in sljit_set_const()
|
D | sljitUtils.c | 134 static SLJIT_INLINE sljit_sw get_page_alignment(void) { in get_page_alignment() 136 static sljit_sw sljit_page_align; in get_page_alignment() 148 static SLJIT_INLINE sljit_sw get_page_alignment(void) { in get_page_alignment() 149 static sljit_sw sljit_page_align; in get_page_alignment() 236 sljit_sw page_align; in sljit_allocate_stack() 294 sljit_sw page_align; in sljit_stack_resize()
|
D | sljitProtExecAllocator.c | 269 sljit_sw executable_offset; 322 sljit_sw executable_offset; in sljit_malloc_exec() 364 executable_offset = (sljit_sw)((sljit_u8*)chunk_header->executable - (sljit_u8*)chunk_header); in sljit_malloc_exec() 404 header = AS_BLOCK_HEADER(ptr, -(sljit_sw)sizeof(struct block_header)); in sljit_free_exec() 412 free_block = AS_FREE_BLOCK(header, -(sljit_sw)header->prev_size); in sljit_free_exec() 471 SLJIT_API_FUNC_ATTRIBUTE sljit_sw sljit_exec_offset(void* ptr) in sljit_exec_offset()
|
D | sljitNativeMIPS_32.c | 29 static sljit_s32 load_immediate(struct sljit_compiler *compiler, sljit_s32 dst_ar, sljit_sw imm) in load_immediate() 70 sljit_s32 dst, sljit_s32 src1, sljit_sw src2) in emit_single_op() 419 static SLJIT_INLINE sljit_s32 emit_const(struct sljit_compiler *compiler, sljit_s32 dst, sljit_sw i… in emit_const() 425 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_jump_addr(sljit_uw addr, sljit_uw new_target, sljit_sw exec… in sljit_set_jump_addr() 439 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_const(sljit_uw addr, sljit_sw new_constant, sljit_sw execut… in sljit_set_const() 476 stack_offset += sizeof(sljit_sw); in call_with_args() 488 stack_offset += sizeof(sljit_sw); in call_with_args() 561 … LW | S(SLJIT_SP) | TA(5 + (offsets[arg_count] >> 2)) | IMM(offsets[arg_count] + sizeof(sljit_sw)); in call_with_args() 597 stack_offset += sizeof(sljit_sw); in post_call_with_args() 601 stack_offset += sizeof(sljit_sw); in post_call_with_args() [all …]
|
D | sljitNativePPC_32.c | 29 static sljit_s32 load_immediate(struct sljit_compiler *compiler, sljit_s32 reg, sljit_sw imm) in load_immediate() 252 static SLJIT_INLINE sljit_s32 emit_const(struct sljit_compiler *compiler, sljit_s32 reg, sljit_sw i… in emit_const() 258 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_jump_addr(sljit_uw addr, sljit_uw new_target, sljit_sw exec… in sljit_set_jump_addr() 272 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_const(sljit_uw addr, sljit_sw new_constant, sljit_sw execut… in sljit_set_const()
|
D | sljitExecAllocator.c | 115 sljit_sw page_size = get_page_alignment() + 1; in get_map_jit_flag() 325 header = AS_BLOCK_HEADER(ptr, -(sljit_sw)sizeof(struct block_header)); in sljit_free_exec() 332 free_block = AS_FREE_BLOCK(header, -(sljit_sw)header->prev_size); in sljit_free_exec()
|
D | sljitNativeMIPS_64.c | 29 static sljit_s32 load_immediate(struct sljit_compiler *compiler, sljit_s32 dst_ar, sljit_sw imm) in load_immediate() 70 if ((sljit_sw)uimm < 0) { in load_immediate() 161 sljit_s32 dst, sljit_s32 src1, sljit_sw src2) in emit_single_op() 515 static SLJIT_INLINE sljit_s32 emit_const(struct sljit_compiler *compiler, sljit_s32 dst, sljit_sw i… in emit_const() 525 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_jump_addr(sljit_uw addr, sljit_uw new_target, sljit_sw exec… in sljit_set_jump_addr() 540 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_const(sljit_uw addr, sljit_sw new_constant, sljit_sw execut… in sljit_set_const() 649 sljit_s32 src, sljit_sw srcw) in sljit_emit_icall()
|
D | sljitNativePPC_64.c | 41 static sljit_s32 load_immediate(struct sljit_compiler *compiler, sljit_s32 reg, sljit_sw imm) in load_immediate() 468 static SLJIT_INLINE sljit_s32 emit_const(struct sljit_compiler *compiler, sljit_s32 reg, sljit_sw i… in emit_const() 477 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_jump_addr(sljit_uw addr, sljit_uw new_target, sljit_sw exec… in sljit_set_jump_addr() 492 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_const(sljit_uw addr, sljit_sw new_constant, sljit_sw execut… in sljit_set_const()
|
/external/pcre/dist2/src/ |
D | pcre2_jit_compile.c | 328 sljit_sw start; 349 sljit_sw start; 419 sljit_sw lcc; 449 sljit_sw ctypes; 452 sljit_sw name_count; 453 sljit_sw name_entry_size; 542 #define STACK(i) ((i) * (int)sizeof(sljit_sw)) 578 #define LOCALS0 (0 * sizeof(sljit_sw)) 579 #define LOCALS1 (1 * sizeof(sljit_sw)) 581 #define POSSESSIVE0 (2 * sizeof(sljit_sw)) [all …]
|