Home
last modified time | relevance | path

Searched refs:sljit_uw (Results 1 – 24 of 24) sorted by relevance

/PHP-7.4/ext/pcre/pcre2lib/sljit/
H A DsljitNativeARM_32.c58 …(sljit_uw*)(((sljit_uw)(ptr) + (CONST_POOL_ALIGNMENT * sizeof(sljit_uw)) - 1) & ~((CONST_POOL_ALIG…
184 ptr = (sljit_uw*)ensure_buf(compiler, sizeof(sljit_uw)); in push_inst()
278 static sljit_uw patch_pc_relative_loads(sljit_uw *last_pc_patch, sljit_uw *code_ptr, sljit_uw* cons… in patch_pc_relative_loads()
464 sljit_uw *ptr = (sljit_uw *)jump_ptr; in inline_set_jump_addr()
465 sljit_uw *inst = (sljit_uw *)ptr[0]; in inline_set_jump_addr()
511 sljit_uw *inst = (sljit_uw*)jump_ptr; in inline_set_jump_addr()
522 static sljit_uw get_imm(sljit_uw imm);
527 sljit_uw *ptr = (sljit_uw*)addr; in inline_set_const()
528 sljit_uw *inst = (sljit_uw*)ptr[0]; in inline_set_const()
566 sljit_uw *inst = (sljit_uw*)addr; in inline_set_const()
[all …]
H A DsljitExecAllocator.c84 static SLJIT_INLINE void* alloc_chunk(sljit_uw size) in alloc_chunk()
89 static SLJIT_INLINE void free_chunk(void *chunk, sljit_uw size) in free_chunk()
154 static SLJIT_INLINE void* alloc_chunk(sljit_uw size) in alloc_chunk()
188 static SLJIT_INLINE void free_chunk(void *chunk, sljit_uw size) in free_chunk()
202 sljit_uw size;
203 sljit_uw prev_size;
210 sljit_uw size;
221 static sljit_uw allocated_size;
222 static sljit_uw total_size;
249 SLJIT_API_FUNC_ATTRIBUTE void* sljit_malloc_exec(sljit_uw size) in sljit_malloc_exec()
[all …]
H A DsljitLir.h347 sljit_uw addr;
349 sljit_uw size;
354 sljit_uw addr;
355 sljit_uw flags;
357 sljit_uw target;
365 sljit_uw addr;
366 sljit_uw flags;
371 sljit_uw addr;
402 sljit_uw size;
424 sljit_uw *cpool;
[all …]
H A DsljitUtils.c221 …ATTRIBUTE struct sljit_stack* SLJIT_FUNC sljit_allocate_stack(sljit_uw start_size, sljit_uw max_si… in sljit_allocate_stack()
307 …ATTRIBUTE struct sljit_stack* SLJIT_FUNC sljit_allocate_stack(sljit_uw start_size, sljit_uw max_si… in sljit_allocate_stack()
369 sljit_uw aligned_old_start; in sljit_stack_resize()
370 sljit_uw aligned_new_start; in sljit_stack_resize()
380 aligned_new_start = (sljit_uw)new_start & ~page_align; in sljit_stack_resize()
381 aligned_old_start = ((sljit_uw)stack->start) & ~page_align; in sljit_stack_resize()
396 aligned_new_start = (sljit_uw)new_start & ~page_align; in sljit_stack_resize()
397 aligned_old_start = ((sljit_uw)stack->start) & ~page_align; in sljit_stack_resize()
H A DsljitProtExecAllocator.c187 static SLJIT_INLINE struct chunk_header* alloc_chunk(sljit_uw size) in alloc_chunk()
220 static SLJIT_INLINE struct chunk_header* alloc_chunk(sljit_uw size) in alloc_chunk()
249 static SLJIT_INLINE void free_chunk(void *chunk, sljit_uw size) in free_chunk()
264 sljit_uw size;
265 sljit_uw prev_size;
273 sljit_uw size;
284 static sljit_uw allocated_size;
285 static sljit_uw total_size;
287 static SLJIT_INLINE void sljit_insert_free_block(struct free_block *free_block, sljit_uw size) in sljit_insert_free_block()
312 SLJIT_API_FUNC_ATTRIBUTE void* sljit_malloc_exec(sljit_uw size) in sljit_malloc_exec()
[all …]
H A DsljitConfigInternal.h408 typedef unsigned long int sljit_uw; typedef
417 typedef unsigned int sljit_uw; typedef
425 typedef unsigned long long sljit_uw; typedef
428 typedef unsigned __int64 sljit_uw; typedef
432 typedef unsigned long int sljit_uw; typedef
437 typedef sljit_uw sljit_p;
613 SLJIT_API_FUNC_ATTRIBUTE void* sljit_malloc_exec(sljit_uw size);
H A DsljitNativeX86_64.c59 jump->addr = (sljit_uw)code_ptr; in generate_far_jump_code()
87 code_ptr = (sljit_u8*)put_label->addr - 2 - sizeof(sljit_uw); in generate_put_label_code()
101 put_label->addr = (sljit_uw)code_ptr; in generate_put_label_code()
105 code_ptr -= put_label->flags + (2 + sizeof(sljit_uw)); in generate_put_label_code()
106 SLJIT_MEMMOVE(code_ptr, code_ptr + (2 + sizeof(sljit_uw)), put_label->flags); in generate_put_label_code()
111 code_ptr += 2 + sizeof(sljit_uw); in generate_put_label_code()
121 code_ptr = (sljit_u8*)(put_label->addr - (2 + sizeof(sljit_uw)) + sizeof(sljit_s32)); in generate_put_label_code()
122 put_label->addr = (sljit_uw)code_ptr; in generate_put_label_code()
858 if (sign || ((sljit_uw)srcw <= 0x7fffffff)) { in emit_mov_int()
912 size += (tmp - SLJIT_FIRST_SAVED_REG + 1) * sizeof(sljit_uw); in skip_frames_before_return()
[all …]
H A DsljitNativeARM_64.c167 sljit_uw target_addr; in detect_jump_type()
178 target_addr = (sljit_uw)(code + jump->u.label->size) + (sljit_uw)executable_offset; in detect_jump_type()
241 sljit_uw word_count; in sljit_generate_code()
242 sljit_uw next_addr; in sljit_generate_code()
244 sljit_uw addr; in sljit_generate_code()
293 const_->addr = (sljit_uw)code_ptr; in sljit_generate_code()
443 sljit_uw mask, uimm; in logical_imm()
457 uimm = (sljit_uw)imm; in logical_imm()
464 mask = ((sljit_uw)1 << len) - 1; in logical_imm()
479 uimm &= ((sljit_uw)1 << len) - 1; in logical_imm()
[all …]
H A DsljitNativeARM_T2_32.c367 sljit_uw half_count; in sljit_generate_code()
368 sljit_uw next_addr; in sljit_generate_code()
496 static sljit_uw get_imm(sljit_uw imm) in get_imm()
547 sljit_uw tmp; in load_immediate()
583 sljit_uw imm, nimm; in emit_op_imm()
969 sljit_uw tmp; in emit_op_mem()
1064 sljit_uw imm; in sljit_emit_enter()
1535 sljit_uw imm; in emit_fop_mem()
2223 sljit_uw cc, tmp; in sljit_emit_cmov()
2237 tmp = (sljit_uw) srcw; in sljit_emit_cmov()
[all …]
H A DsljitNativeSPARC_common.c221 sljit_uw target_addr; in detect_jump_type()
232 target_addr = (sljit_uw)(code + jump->u.label->size) + (sljit_uw)executable_offset; in detect_jump_type()
272 jump->addr = (sljit_uw)inst; in detect_jump_type()
286 jump->addr = (sljit_uw)inst; in detect_jump_type()
300 sljit_uw word_count; in sljit_generate_code()
301 sljit_uw next_addr; in sljit_generate_code()
303 sljit_uw addr; in sljit_generate_code()
348 jump->addr = (sljit_uw)(code_ptr - 3); in sljit_generate_code()
350 jump->addr = (sljit_uw)(code_ptr - 6); in sljit_generate_code()
357 const_->addr = (sljit_uw)code_ptr; in sljit_generate_code()
[all …]
H A DsljitNativePPC_64.c43 sljit_uw tmp; in load_immediate()
44 sljit_uw shift; in load_immediate()
45 sljit_uw tmp2; in load_immediate()
46 sljit_uw shift2; in load_immediate()
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()
489 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_const(sljit_uw addr, sljit_sw new_constant, sljit_sw execut… in sljit_set_const()
H A DsljitLir.c383 && (sizeof(sljit_uw) == 4 || sizeof(sljit_uw) == 8), in sljit_create_compiler()
424 compiler->cpool = (sljit_uw*)SLJIT_MALLOC(CPOOL_SIZE * sizeof(sljit_uw) in sljit_create_compiler()
491 SLJIT_FREE_EXEC((void*)((sljit_uw)code & ~0x1)); in sljit_free_code()
497 code = (void*)(*(sljit_uw*)code); in sljit_free_code()
516 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_target(struct sljit_jump *jump, sljit_uw target) in sljit_set_target()
547 static void* ensure_buf(struct sljit_compiler *compiler, sljit_uw size) in ensure_buf()
566 static void* ensure_abuf(struct sljit_compiler *compiler, sljit_uw size) in ensure_abuf()
632 static SLJIT_INLINE sljit_uw compute_next_addr(struct sljit_label *label, struct sljit_jump *jump, in compute_next_addr()
635 sljit_uw result = ~(sljit_uw)0; in compute_next_addr()
2565 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_target(struct sljit_jump *jump, sljit_uw target) in sljit_set_target()
[all …]
H A DsljitNativePPC_32.c258 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_jump_addr(sljit_uw addr, sljit_uw new_target, sljit_sw exec… in sljit_set_jump_addr()
269 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_const(sljit_uw addr, sljit_sw new_constant, sljit_sw execut… in sljit_set_const()
H A DsljitNativeMIPS_common.c317 sljit_uw target_addr; in detect_jump_type()
333 target_addr = (sljit_uw)(code + jump->u.label->size) + (sljit_uw)executable_offset; in detect_jump_type()
473 sljit_uw addr = put_label->label->addr; in put_label_set()
509 sljit_uw word_count; in sljit_generate_code()
510 sljit_uw next_addr; in sljit_generate_code()
512 sljit_uw addr; in sljit_generate_code()
556 jump->addr = (sljit_uw)(code_ptr - 3); in sljit_generate_code()
558 jump->addr = (sljit_uw)(code_ptr - 7); in sljit_generate_code()
564 const_->addr = (sljit_uw)code_ptr; in sljit_generate_code()
569 put_label->addr = (sljit_uw)code_ptr; in sljit_generate_code()
[all …]
H A DsljitNativePPC_common.c262 sljit_uw target_addr; in detect_jump_type()
277 target_addr = (sljit_uw)(code + jump->u.label->size) + (sljit_uw)executable_offset; in detect_jump_type()
350 sljit_uw addr = put_label->label->addr; in put_label_set()
386 sljit_uw word_count; in sljit_generate_code()
387 sljit_uw next_addr; in sljit_generate_code()
389 sljit_uw addr; in sljit_generate_code()
441 jump->addr = (sljit_uw)(code_ptr - 3); in sljit_generate_code()
443 jump->addr = (sljit_uw)(code_ptr - 6); in sljit_generate_code()
481 const_->addr = (sljit_uw)code_ptr; in sljit_generate_code()
486 put_label->addr = (sljit_uw)code_ptr; in sljit_generate_code()
[all …]
H A DsljitNativeSPARC_32.c266 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_jump_addr(sljit_uw addr, sljit_uw new_target, sljit_sw exec… in sljit_set_jump_addr()
277 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_const(sljit_uw addr, sljit_sw new_constant, sljit_sw execut… in sljit_set_const()
H A DsljitNativeX86_common.c441 sljit_uw label_addr; in generate_near_jump_code()
444 label_addr = (sljit_uw)(code + jump->u.label->size); in generate_near_jump_code()
534 label->addr = (sljit_uw)SLJIT_ADD_EXEC_OFFSET(code_ptr, executable_offset); in sljit_generate_code()
539 jump->addr = (sljit_uw)code_ptr; in sljit_generate_code()
552 const_->addr = ((sljit_uw)code_ptr) - sizeof(sljit_sw); in sljit_generate_code()
558 put_label->addr = (sljit_uw)code_ptr; in sljit_generate_code()
842 sljit_uw size_jz_after_cmp_inst = compiler->size; in adjust_shadow_stack()
2432 sse2_buffer = (sljit_s32*)(((sljit_uw)sse2_data + 15) & ~0xf);
3081 sljit_uw start_size;
3123 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_jump_addr(sljit_uw addr, sljit_uw new_target, sljit_sw exec…
[all …]
H A DsljitNativeTILEGX_64.c115 typedef sljit_uw sljit_ins;
906 sljit_uw target_addr; in detect_jump_type()
916 target_addr = (sljit_uw)(code + jump->u.label->size); in detect_jump_type()
1003 sljit_uw word_count; in sljit_generate_code()
1004 sljit_uw addr; in sljit_generate_code()
1034 label->addr = (sljit_uw) code_ptr; in sljit_generate_code()
1041 jump->addr = (sljit_uw)(code_ptr - 4); in sljit_generate_code()
1043 jump->addr = (sljit_uw)(code_ptr - 3); in sljit_generate_code()
1051 const_->addr = (sljit_uw) code_ptr; in sljit_generate_code()
1063 label->addr = (sljit_uw) code_ptr; in sljit_generate_code()
[all …]
H A DsljitNativeX86_32.c62 …sljit_unaligned_store_sw(code_ptr, jump->u.target - (jump->addr + 4) - (sljit_uw)executable_offset… in generate_far_jump_code()
170 …veds = (2 + (scratches > 9 ? (scratches - 9) : 0) + (saveds <= 3 ? saveds : 3)) * sizeof(sljit_uw); in sljit_emit_enter()
278 …veds = (2 + (scratches > 9 ? (scratches - 9) : 0) + (saveds <= 3 ? saveds : 3)) * sizeof(sljit_uw); in sljit_set_context()
915 …compiler->scratches - 9) : 0) + (compiler->saveds <= 3 ? compiler->saveds : 3)) * sizeof(sljit_uw); in skip_frames_before_return()
H A DsljitNativeMIPS_64.c35 sljit_uw uimm; in load_immediate()
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()
537 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_const(sljit_uw addr, sljit_sw new_constant, sljit_sw execut… in sljit_set_const()
H A DsljitNativeMIPS_32.c425 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_jump_addr(sljit_uw addr, sljit_uw new_target, sljit_sw exec… in sljit_set_jump_addr()
436 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_const(sljit_uw addr, sljit_sw new_constant, sljit_sw execut… in sljit_set_const()
/PHP-7.4/ext/pcre/pcre2lib/
H A Dpcre2_jit_neon_inc.h85 …SLJIT_FUNC FF_FUN(sljit_u8 *str_end, sljit_u8 *str_ptr, sljit_uw offs1, sljit_uw offs2, sljit_uw c… in FF_FUN()
H A Dpcre2_jit_misc.c226 sljit_uw *executable_sizes = ((executable_functions *)executable_jit)->executable_sizes; in PRIV()
H A Dpcre2_jit_compile.c189 sljit_uw offset_limit;
200 sljit_uw executable_sizes[JIT_NUMBER_OF_COMPILE_MODES];
3096 static sljit_uw * allocate_read_only_data(compiler_common *common, sljit_uw size) in allocate_read_only_data()
3099 sljit_uw *result; in allocate_read_only_data()
3104 result = (sljit_uw *)SLJIT_MALLOC(size + sizeof(sljit_uw), compiler->allocator_data); in allocate_read_only_data()
7343 sljit_uw c, charoffset, max = 256, min = READ_CHAR_MAX; in compile_xclass_matchingpath()
7356 sljit_uw typeoffset; in compile_xclass_matchingpath()
9451 sljit_uw callout_arg_size = (common->re->top_bracket + 1) * 2 * sizeof(sljit_sw); in compile_callout_matchingpath()
13398 sljit_uw executable_size; in jit_compile()
13399 sljit_uw total_length; in jit_compile()

Completed in 138 milliseconds