Home
last modified time | relevance | path

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

/PHP-7.2/ext/pcre/pcrelib/sljit/
H A DsljitNativeARM_32.c52 …(sljit_uw*)(((sljit_uw)(ptr) + (CONST_POOL_ALIGNMENT * sizeof(sljit_uw)) - 1) & ~((CONST_POOL_ALIG…
174 ptr = (sljit_uw*)ensure_buf(compiler, sizeof(sljit_uw)); in push_inst()
266 static sljit_uw patch_pc_relative_loads(sljit_uw *last_pc_patch, sljit_uw *code_ptr, sljit_uw* cons… in patch_pc_relative_loads()
452 sljit_uw *ptr = (sljit_uw *)jump_ptr; in inline_set_jump_addr()
453 sljit_uw *inst = (sljit_uw *)ptr[0]; in inline_set_jump_addr()
499 sljit_uw *inst = (sljit_uw*)jump_ptr; in inline_set_jump_addr()
510 static sljit_uw get_imm(sljit_uw imm);
515 sljit_uw *ptr = (sljit_uw*)addr; in inline_set_const()
516 sljit_uw *inst = (sljit_uw*)ptr[0]; in inline_set_const()
554 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()
97 static SLJIT_INLINE void* alloc_chunk(sljit_uw size) in alloc_chunk()
114 static SLJIT_INLINE void free_chunk(void *chunk, sljit_uw size) in free_chunk()
128 sljit_uw size;
129 sljit_uw prev_size;
136 sljit_uw size;
147 static sljit_uw allocated_size;
148 static sljit_uw total_size;
175 SLJIT_API_FUNC_ATTRIBUTE void* sljit_malloc_exec(sljit_uw size) in sljit_malloc_exec()
[all …]
H A DsljitLir.h271 sljit_uw used_size;
278 sljit_uw addr;
280 sljit_uw size;
285 sljit_uw addr;
288 sljit_uw target;
295 sljit_uw addr;
324 sljit_uw size;
345 sljit_uw *cpool;
347 sljit_uw cpool_diff;
351 sljit_uw patches;
[all …]
H A DsljitUtils.c206 …C_ATTRIBUTE struct sljit_stack* SLJIT_CALL sljit_allocate_stack(sljit_uw limit, sljit_uw max_limit… in sljit_allocate_stack()
292 sljit_uw aligned_old_limit; in sljit_stack_resize()
293 sljit_uw aligned_new_limit; in sljit_stack_resize()
298 aligned_new_limit = (sljit_uw)new_limit & ~sljit_page_align; in sljit_stack_resize()
299 aligned_old_limit = ((sljit_uw)stack->limit) & ~sljit_page_align; in sljit_stack_resize()
317 aligned_new_limit = (sljit_uw)new_limit & ~sljit_page_align; in sljit_stack_resize()
318 aligned_old_limit = ((sljit_uw)stack->limit) & ~sljit_page_align; in sljit_stack_resize()
H A DsljitConfigInternal.h357 typedef unsigned long int sljit_uw; typedef
366 typedef unsigned int sljit_uw; typedef
372 typedef unsigned __int64 sljit_uw; typedef
375 typedef unsigned long int sljit_uw; typedef
380 typedef sljit_uw sljit_p;
537 SLJIT_API_FUNC_ATTRIBUTE void* sljit_malloc_exec(sljit_uw size);
H A DsljitNativeARM_T2_32.c354 sljit_uw half_count; in sljit_generate_code()
397 const_->addr = (sljit_uw)code_ptr; in sljit_generate_code()
433 return (void*)((sljit_uw)code | 0x1); in sljit_generate_code()
462 static sljit_uw get_imm(sljit_uw imm) in get_imm()
513 sljit_uw tmp; in load_immediate()
547 sljit_uw imm, nimm; in emit_op_imm()
944 sljit_uw tmp; in emit_op_mem()
1473 sljit_uw imm; in emit_fop_mem()
1908 sljit_uw cc, tmp; in sljit_emit_cmov()
1922 tmp = (sljit_uw) srcw; in sljit_emit_cmov()
[all …]
H A DsljitNativePPC_64.c46 sljit_uw tmp; in load_immediate()
47 sljit_uw shift; in load_immediate()
48 sljit_uw tmp2; in load_immediate()
49 sljit_uw shift2; in load_immediate()
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()
437 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_const(sljit_uw addr, sljit_sw new_constant, sljit_sw execut… in sljit_set_const()
H A DsljitNativeARM_64.c158 sljit_uw target_addr; in detect_jump_type()
169 target_addr = (sljit_uw)(code + jump->u.label->size) + (sljit_uw)executable_offset; in detect_jump_type()
215 sljit_uw word_count; in sljit_generate_code()
217 sljit_uw addr; in sljit_generate_code()
260 const_->addr = (sljit_uw)code_ptr; in sljit_generate_code()
384 sljit_uw mask, uimm; in logical_imm()
397 uimm = (sljit_uw)imm; in logical_imm()
403 mask = ((sljit_uw)1 << len) - 1; in logical_imm()
418 uimm &= ((sljit_uw)1 << len) - 1; in logical_imm()
447 sljit_uw imm = (sljit_uw)simm; in load_immediate()
[all …]
H A DsljitNativeSPARC_32.c147 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_jump_addr(sljit_uw addr, sljit_uw new_target, sljit_sw exec… in sljit_set_jump_addr()
157 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_const(sljit_uw addr, sljit_sw new_constant, sljit_sw execut… in sljit_set_const()
H A DsljitNativeSPARC_common.c205 sljit_uw target_addr; in detect_jump_type()
216 target_addr = (sljit_uw)(code + jump->u.label->size) + (sljit_uw)executable_offset; in detect_jump_type()
256 jump->addr = (sljit_uw)inst; in detect_jump_type()
270 jump->addr = (sljit_uw)inst; in detect_jump_type()
284 sljit_uw word_count; in sljit_generate_code()
286 sljit_uw addr; in sljit_generate_code()
319 label->addr = (sljit_uw)SLJIT_ADD_EXEC_OFFSET(code_ptr, executable_offset); in sljit_generate_code()
325 jump->addr = (sljit_uw)(code_ptr - 3); in sljit_generate_code()
327 jump->addr = (sljit_uw)(code_ptr - 6); in sljit_generate_code()
334 const_->addr = (sljit_uw)code_ptr; in sljit_generate_code()
[all …]
H A DsljitLir.c366 && (sizeof(sljit_uw) == 4 || sizeof(sljit_uw) == 8), in sljit_create_compiler()
407 compiler->cpool = (sljit_uw*)SLJIT_MALLOC(CPOOL_SIZE * sizeof(sljit_uw) in sljit_create_compiler()
474 SLJIT_FREE_EXEC((void*)((sljit_uw)code & ~0x1)); in sljit_free_code()
480 code = (void*)(*(sljit_uw*)code); in sljit_free_code()
499 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_target(struct sljit_jump *jump, sljit_uw target) in sljit_set_target()
524 static void* ensure_buf(struct sljit_compiler *compiler, sljit_uw size) in ensure_buf()
530 …if (compiler->buf->used_size + size <= (BUF_SIZE - (sljit_uw)SLJIT_OFFSETOF(struct sljit_memory_fr… in ensure_buf()
543 static void* ensure_abuf(struct sljit_compiler *compiler, sljit_uw size) in ensure_abuf()
2145 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_target(struct sljit_jump *jump, sljit_uw target) in sljit_set_target()
2208 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_jump_addr(sljit_uw addr, sljit_uw new_target, sljit_sw exec… in sljit_set_jump_addr()
[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()
268 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_32.c60 …sljit_unaligned_store_sw(code_ptr, jump->u.target - (jump->addr + 4) - (sljit_uw)executable_offset… in generate_far_jump_code()
162 …veds = (2 + (scratches > 9 ? (scratches - 9) : 0) + (saveds <= 3 ? saveds : 3)) * sizeof(sljit_uw); in sljit_emit_enter()
253 …veds = (2 + (scratches > 9 ? (scratches - 9) : 0) + (saveds <= 3 ? saveds : 3)) * sizeof(sljit_uw); in sljit_set_context()
H A DsljitNativeMIPS_common.c225 sljit_uw target_addr; in detect_jump_type()
241 target_addr = (sljit_uw)(code + jump->u.label->size) + (sljit_uw)executable_offset; in detect_jump_type()
368 sljit_uw word_count; in sljit_generate_code()
370 sljit_uw addr; in sljit_generate_code()
402 label->addr = (sljit_uw)SLJIT_ADD_EXEC_OFFSET(code_ptr, executable_offset); in sljit_generate_code()
408 jump->addr = (sljit_uw)(code_ptr - 3); in sljit_generate_code()
410 jump->addr = (sljit_uw)(code_ptr - 7); in sljit_generate_code()
417 const_->addr = (sljit_uw)code_ptr; in sljit_generate_code()
428 label->addr = (sljit_uw)code_ptr; in sljit_generate_code()
445 …addr = (sljit_sw)(addr - ((sljit_uw)SLJIT_ADD_EXEC_OFFSET(buf_ptr, executable_offset) + sizeof(slj… in sljit_generate_code()
[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 DsljitNativePPC_common.c256 sljit_uw target_addr; in detect_jump_type()
271 target_addr = (sljit_uw)(code + jump->u.label->size) + (sljit_uw)executable_offset; in detect_jump_type()
331 sljit_uw word_count; in sljit_generate_code()
333 sljit_uw addr; in sljit_generate_code()
373 label->addr = (sljit_uw)SLJIT_ADD_EXEC_OFFSET(code_ptr, executable_offset); in sljit_generate_code()
379 jump->addr = (sljit_uw)(code_ptr - 3); in sljit_generate_code()
381 jump->addr = (sljit_uw)(code_ptr - 6); in sljit_generate_code()
419 const_->addr = (sljit_uw)code_ptr; in sljit_generate_code()
430 label->addr = (sljit_uw)SLJIT_ADD_EXEC_OFFSET(code_ptr, executable_offset); in sljit_generate_code()
453 addr -= (sljit_uw)SLJIT_ADD_EXEC_OFFSET(buf_ptr, executable_offset); in sljit_generate_code()
[all …]
H A DsljitNativeMIPS_64.c35 sljit_uw uimm; in load_immediate()
517 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_jump_addr(sljit_uw addr, sljit_uw new_target, sljit_sw exec… in sljit_set_jump_addr()
529 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.c419 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_jump_addr(sljit_uw addr, sljit_uw new_target, sljit_sw exec… in sljit_set_jump_addr()
429 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.c424 sljit_uw label_addr; in generate_near_jump_code()
427 label_addr = (sljit_uw)(code + jump->u.label->size); in generate_near_jump_code()
518 jump->addr = (sljit_uw)code_ptr; in sljit_generate_code()
531 label->addr = ((sljit_uw)code_ptr) + executable_offset; in sljit_generate_code()
536 const_->addr = ((sljit_uw)code_ptr) - sizeof(sljit_sw); in sljit_generate_code()
2235 sse2_buffer = (sljit_s32*)(((sljit_uw)sse2_data + 15) & ~0xf);
2907 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_jump_addr(sljit_uw addr, sljit_uw new_target, sljit_sw exec…
2911 sljit_unaligned_store_sw((void*)addr, new_target - (addr + 4) - (sljit_uw)executable_offset);
2917 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_const(sljit_uw addr, sljit_sw new_constant, sljit_sw execut…
H A DsljitNativeX86_64.c52 jump->addr = (sljit_uw)code_ptr; in generate_far_jump_code()
701 if (sign || ((sljit_uw)srcw <= 0x7fffffff)) { in emit_mov_int()
/PHP-7.2/ext/pcre/pcrelib/
H A Dpcre_jit_compile.c203 sljit_uw *update_addr;
2335 static sljit_uw * allocate_read_only_data(compiler_common *common, sljit_uw size) in allocate_read_only_data()
2338 sljit_uw *result; in allocate_read_only_data()
2343 result = (sljit_uw *)SLJIT_MALLOC(size + sizeof(sljit_uw), compiler->allocator_data); in allocate_read_only_data()
5477 sljit_uw typeoffset; in compile_xclass_matchingpath()
9882 sljit_uw *next_update_addr = NULL; in compile_bracket_backtrackingpath()
10098 alt_count = sizeof(sljit_uw); in compile_bracket_backtrackingpath()
10204 alt_count += sizeof(sljit_uw); in compile_bracket_backtrackingpath()
10815 sljit_uw executable_size; in PRIV()
10816 sljit_uw total_length; in PRIV()
[all …]

Completed in 144 milliseconds