Home
last modified time | relevance | path

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

/external/pcre/dist2/src/sljit/
DsljitNativeARM_32.c53 …(sljit_uw*)(((sljit_uw)(ptr) + (CONST_POOL_ALIGNMENT * sizeof(sljit_uw)) - 1) & ~((CONST_POOL_ALIG…
55 (((max_diff) / (sljit_s32)sizeof(sljit_uw)) - (CONST_POOL_ALIGNMENT - 1))
132 sljit_uw* inst; in push_cpool()
133 sljit_uw* cpool_ptr; in push_cpool()
134 sljit_uw* cpool_end; in push_cpool()
142 inst = (sljit_uw*)ensure_buf(compiler, sizeof(sljit_uw)); in push_cpool()
148 inst = (sljit_uw*)ensure_buf(compiler, sizeof(sljit_uw)); in push_cpool()
157 inst = (sljit_uw*)ensure_buf(compiler, sizeof(sljit_uw)); in push_cpool()
167 static sljit_s32 push_inst(struct sljit_compiler *compiler, sljit_uw inst) in push_inst()
169 sljit_uw* ptr; in push_inst()
[all …]
DsljitLir.h272 sljit_uw used_size;
279 sljit_uw addr;
281 sljit_uw size;
286 sljit_uw addr;
289 sljit_uw target;
296 sljit_uw addr;
325 sljit_uw size;
327 sljit_uw executable_size;
343 sljit_uw *cpool;
345 sljit_uw cpool_diff;
[all …]
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;
150 static SLJIT_INLINE void sljit_insert_free_block(struct free_block *free_block, sljit_uw size) in sljit_insert_free_block()
[all …]
DsljitUtils.c206 …C_ATTRIBUTE struct sljit_stack* SLJIT_CALL sljit_allocate_stack(sljit_uw limit, sljit_uw max_limit… in sljit_allocate_stack()
211 sljit_uw uw; in sljit_allocate_stack()
293 SLJIT_API_FUNC_ATTRIBUTE sljit_sw SLJIT_CALL sljit_stack_resize(struct sljit_stack* stack, sljit_uw in sljit_stack_resize()
295 sljit_uw aligned_old_limit; in sljit_stack_resize()
296 sljit_uw aligned_new_limit; in sljit_stack_resize()
DsljitConfigInternal.h365 typedef unsigned long int sljit_uw; typedef
374 typedef unsigned int sljit_uw; typedef
380 typedef unsigned __int64 sljit_uw; typedef
383 typedef unsigned long int sljit_uw; typedef
388 typedef sljit_uw sljit_p;
543 SLJIT_API_FUNC_ATTRIBUTE void* sljit_malloc_exec(sljit_uw size);
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()
401 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_jump_addr(sljit_uw addr, sljit_uw new_addr) in sljit_set_jump_addr()
412 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_const(sljit_uw addr, sljit_sw new_constant) in sljit_set_const()
DsljitNativeARM_T2_32.c206 …JIT_INLINE sljit_s32 emit_imm32_const(struct sljit_compiler *compiler, sljit_s32 dst, sljit_uw imm) in emit_imm32_const()
214 static SLJIT_INLINE void modify_imm32_const(sljit_u16 *inst, sljit_uw new_imm) in modify_imm32_const()
349 sljit_uw half_count; in sljit_generate_code()
379 label->addr = ((sljit_uw)code_ptr) | 0x1; in sljit_generate_code()
384 jump->addr = (sljit_uw)code_ptr - ((jump->flags & IS_COND) ? 10 : 8); in sljit_generate_code()
389 const_->addr = (sljit_uw)code_ptr; in sljit_generate_code()
400 label->addr = ((sljit_uw)code_ptr) | 0x1; in sljit_generate_code()
420 return (void*)((sljit_uw)code | 0x1); in sljit_generate_code()
428 static sljit_uw get_imm(sljit_uw imm) in get_imm()
477 static sljit_s32 load_immediate(struct sljit_compiler *compiler, sljit_s32 dst, sljit_uw imm) in load_immediate()
[all …]
DsljitNativeARM_64.c136 …JIT_INLINE sljit_s32 emit_imm64_const(struct sljit_compiler *compiler, sljit_s32 dst, sljit_uw imm) in emit_imm64_const()
144 static SLJIT_INLINE void modify_imm64_const(sljit_ins* inst, sljit_uw new_imm) in modify_imm64_const()
157 sljit_uw target_addr; in detect_jump_type()
168 target_addr = (sljit_uw)(code + jump->u.label->size); in detect_jump_type()
213 sljit_uw word_count; in sljit_generate_code()
214 sljit_uw addr; in sljit_generate_code()
245 label->addr = (sljit_uw)code_ptr; in sljit_generate_code()
250 jump->addr = (sljit_uw)(code_ptr - 4); in sljit_generate_code()
255 const_->addr = (sljit_uw)code_ptr; in sljit_generate_code()
266 label->addr = (sljit_uw)code_ptr; in sljit_generate_code()
[all …]
DsljitLir.c342 && (sizeof(sljit_uw) == 4 || sizeof(sljit_uw) == 8), in sljit_create_compiler()
381 compiler->cpool = (sljit_uw*)SLJIT_MALLOC(CPOOL_SIZE * sizeof(sljit_uw) in sljit_create_compiler()
448 SLJIT_FREE_EXEC((void*)((sljit_uw)code & ~0x1)); in sljit_free_code()
454 code = (void*)(*(sljit_uw*)code); in sljit_free_code()
473 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_target(struct sljit_jump *jump, sljit_uw target) in sljit_set_target()
486 static void* ensure_buf(struct sljit_compiler *compiler, sljit_uw size) in ensure_buf()
492 …if (compiler->buf->used_size + size <= (BUF_SIZE - (sljit_uw)SLJIT_OFFSETOF(struct sljit_memory_fr… in ensure_buf()
505 static void* ensure_abuf(struct sljit_compiler *compiler, sljit_uw size) in ensure_abuf()
511 …if (compiler->abuf->used_size + size <= (ABUF_SIZE - (sljit_uw)SLJIT_OFFSETOF(struct sljit_memory_… in ensure_abuf()
1978 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_target(struct sljit_jump *jump, sljit_uw target) in sljit_set_target()
[all …]
DsljitNativeSPARC_32.c148 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_jump_addr(sljit_uw addr, sljit_uw new_addr) in sljit_set_jump_addr()
157 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_const(sljit_uw addr, sljit_sw new_constant) in sljit_set_const()
DsljitNativeSPARC_common.c205 sljit_uw target_addr; in detect_jump_type()
216 target_addr = (sljit_uw)(code + jump->u.label->size); in detect_jump_type()
255 jump->addr = (sljit_uw)inst; in detect_jump_type()
268 jump->addr = (sljit_uw)inst; in detect_jump_type()
282 sljit_uw word_count; in sljit_generate_code()
283 sljit_uw addr; in sljit_generate_code()
313 label->addr = (sljit_uw)code_ptr; in sljit_generate_code()
319 jump->addr = (sljit_uw)(code_ptr - 3); in sljit_generate_code()
321 jump->addr = (sljit_uw)(code_ptr - 6); in sljit_generate_code()
328 const_->addr = (sljit_uw)code_ptr; in sljit_generate_code()
[all …]
DsljitNativePPC_32.c253 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_jump_addr(sljit_uw addr, sljit_uw new_addr) in sljit_set_jump_addr()
262 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_const(sljit_uw addr, sljit_sw new_constant) in sljit_set_const()
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 …]
DsljitNativeX86_32.c137 …SLJIT_COMPILE_ASSERT(SLJIT_LOCALS_OFFSET >= (2 + 4) * sizeof(sljit_uw), require_at_least_two_words… in sljit_emit_enter()
140 …veds = (2 + (scratches > 7 ? (scratches - 7) : 0) + (saveds <= 3 ? saveds : 3)) * sizeof(sljit_uw); in sljit_emit_enter()
197 …veds = (2 + (scratches > 7 ? (scratches - 7) : 0) + (saveds <= 3 ? saveds : 3)) * sizeof(sljit_uw); in sljit_set_context()
DsljitNativeMIPS_64.c35 sljit_uw uimm; in load_immediate()
449 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_jump_addr(sljit_uw addr, sljit_uw new_addr) in sljit_set_jump_addr()
460 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_const(sljit_uw addr, sljit_sw new_constant) in sljit_set_const()
DsljitNativeMIPS_32.c350 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_jump_addr(sljit_uw addr, sljit_uw new_addr) in sljit_set_jump_addr()
359 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_const(sljit_uw addr, sljit_sw new_constant) in sljit_set_const()
DsljitNativePPC_common.c255 sljit_uw target_addr; in detect_jump_type()
270 target_addr = (sljit_uw)(code + jump->u.label->size); in detect_jump_type()
328 sljit_uw word_count; in sljit_generate_code()
329 sljit_uw addr; in sljit_generate_code()
366 label->addr = (sljit_uw)code_ptr; in sljit_generate_code()
372 jump->addr = (sljit_uw)(code_ptr - 3); in sljit_generate_code()
374 jump->addr = (sljit_uw)(code_ptr - 6); in sljit_generate_code()
412 const_->addr = (sljit_uw)code_ptr; in sljit_generate_code()
423 label->addr = (sljit_uw)code_ptr; in sljit_generate_code()
DsljitNativeMIPS_common.c224 sljit_uw target_addr; in detect_jump_type()
240 target_addr = (sljit_uw)(code + jump->u.label->size); in detect_jump_type()
366 sljit_uw word_count; in sljit_generate_code()
367 sljit_uw addr; in sljit_generate_code()
397 label->addr = (sljit_uw)code_ptr; in sljit_generate_code()
403 jump->addr = (sljit_uw)(code_ptr - 3); in sljit_generate_code()
405 jump->addr = (sljit_uw)(code_ptr - 7); in sljit_generate_code()
412 const_->addr = (sljit_uw)code_ptr; in sljit_generate_code()
423 label->addr = (sljit_uw)code_ptr; in sljit_generate_code()
DsljitNativeX86_common.c421 sljit_uw label_addr; in generate_near_jump_code()
424 label_addr = (sljit_uw)(code + jump->u.label->size); in generate_near_jump_code()
510 jump->addr = (sljit_uw)code_ptr; in sljit_generate_code()
518 label->addr = (sljit_uw)code_ptr; in sljit_generate_code()
523 const_->addr = ((sljit_uw)code_ptr) - sizeof(sljit_sw); in sljit_generate_code()
2288 sse2_buffer = (sljit_s32*)(((sljit_uw)sse2_data + 15) & ~0xf);
2949 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_jump_addr(sljit_uw addr, sljit_uw new_addr)
2958 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_const(sljit_uw addr, sljit_sw new_constant)
DsljitNativeX86_64.c53 jump->addr = (sljit_uw)code_ptr; in generate_far_jump_code()
706 if (sign || ((sljit_uw)srcw <= 0x7fffffff)) { in emit_mov_int()
/external/pcre/dist2/src/
Dpcre2_jit_misc.c221 sljit_uw *executable_sizes = ((executable_functions *)executable_jit)->executable_sizes; in PRIV()
Dpcre2_jit_compile.c188 sljit_uw offset_limit;
199 sljit_uw executable_sizes[JIT_NUMBER_OF_COMPILE_MODES];
217 sljit_uw *update_addr;
2322 static void add_label_addr(compiler_common *common, sljit_uw *update_addr) in add_label_addr()
2369 static sljit_uw * allocate_read_only_data(compiler_common *common, sljit_uw size) in allocate_read_only_data()
2372 sljit_uw *result; in allocate_read_only_data()
2377 result = (sljit_uw *)SLJIT_MALLOC(size + sizeof(sljit_uw), compiler->allocator_data); in allocate_read_only_data()
5482 sljit_uw c, charoffset, max = 256, min = READ_CHAR_MAX; in compile_xclass_matchingpath()
5495 sljit_uw typeoffset; in compile_xclass_matchingpath()
9910 sljit_uw *next_update_addr = NULL; in compile_bracket_backtrackingpath()
[all …]