/external/pcre/dist/sljit/ |
D | sljitLir.h | 287 sljit_sw flags; 356 sljit_sw cache_argw; 361 sljit_sw cache_argw; 366 sljit_sw cache_argw; 370 sljit_sw imm; 372 sljit_sw cache_argw; 378 sljit_sw cache_argw; 384 sljit_sw cache_argw; 389 sljit_sw cache_argw; 546 sljit_si src, sljit_sw srcw); [all …]
|
D | sljitNativeX86_32.c | 29 static sljit_si emit_do_imm(struct sljit_compiler *compiler, sljit_ub opcode, sljit_sw imm) in emit_do_imm() 33 inst = (sljit_ub*)ensure_buf(compiler, 1 + 1 + sizeof(sljit_sw)); in emit_do_imm() 35 INC_SIZE(1 + sizeof(sljit_sw)); in emit_do_imm() 37 *(sljit_sw*)inst = imm; in emit_do_imm() 60 *(sljit_sw*)code_ptr = jump->u.target - (jump->addr + 4); in generate_far_jump_code() 117 *inst++ = sizeof(sljit_sw) * (3 + 2); /* saveds >= 3 as well. */ in sljit_emit_enter() 123 *inst++ = sizeof(sljit_sw) * 2; in sljit_emit_enter() 128 *inst++ = sizeof(sljit_sw) * 3; in sljit_emit_enter() 133 *inst++ = sizeof(sljit_sw) * 4; in sljit_emit_enter() 154 *(sljit_sw*)(inst + 4) = 0x4; in sljit_emit_enter() [all …]
|
D | sljitNativeX86_common.c | 75 w = SLJIT_LOCALS_OFFSET + ((p) - (SLJIT_R3 + 4)) * sizeof(sljit_sw); \ 392 static sljit_ub* generate_fixed_jump(sljit_ub *code_ptr, sljit_sw addr, sljit_si type); 404 …short_jump = (sljit_sw)(label_addr - (jump->addr + 2)) >= -128 && (sljit_sw)(label_addr - (jump->a… in generate_near_jump_code() 407 …if ((sljit_sw)(label_addr - (jump->addr + 1)) > HALFWORD_MAX || (sljit_sw)(label_addr - (jump->add… in generate_near_jump_code() 439 code_ptr += sizeof(sljit_sw); in generate_near_jump_code() 500 const_->addr = ((sljit_uw)code_ptr) - sizeof(sljit_sw); in sljit_generate_code() 507 *(sljit_sw*)code_ptr = *(sljit_sw*)buf_ptr - ((sljit_sw)code_ptr + sizeof(sljit_sw)); in sljit_generate_code() 508 code_ptr += sizeof(sljit_sw); in sljit_generate_code() 509 buf_ptr += sizeof(sljit_sw) - 1; in sljit_generate_code() 511 code_ptr = generate_fixed_jump(code_ptr, *(sljit_sw*)(buf_ptr + 1), *buf_ptr); in sljit_generate_code() [all …]
|
D | sljitLir.c | 231 extra) * sizeof(sljit_sw)) 340 && sizeof(sljit_p) <= sizeof(sljit_sw) in sljit_create_compiler() 341 && (sizeof(sljit_sw) == 4 || sizeof(sljit_sw) == 8) in sljit_create_compiler() 980 … check_sljit_emit_return(struct sljit_compiler *compiler, sljit_si op, sljit_si src, sljit_sw srcw) in check_sljit_emit_return() 1005 …TURN_TYPE check_sljit_emit_fast_enter(struct sljit_compiler *compiler, sljit_si dst, sljit_sw dstw) in check_sljit_emit_fast_enter() 1020 …URN_TYPE check_sljit_emit_fast_return(struct sljit_compiler *compiler, sljit_si src, sljit_sw srcw) in check_sljit_emit_fast_return() 1050 sljit_si dst, sljit_sw dstw, in check_sljit_emit_op1() 1051 sljit_si src, sljit_sw srcw) in check_sljit_emit_op1() 1080 sljit_si dst, sljit_sw dstw, in check_sljit_emit_op2() 1081 sljit_si src1, sljit_sw src1w, in check_sljit_emit_op2() [all …]
|
D | sljitConfigInternal.h | 355 typedef long int sljit_sw; typedef 364 typedef int sljit_sw; typedef 370 typedef __int64 sljit_sw; typedef 373 typedef long int sljit_sw; typedef 548 #define SLJIT_LOCALS_OFFSET_BASE ((2 + 4) * sizeof(sljit_sw)) 551 #define SLJIT_LOCALS_OFFSET_BASE ((3 + 1 + 4) * sizeof(sljit_sw)) 559 #define SLJIT_LOCALS_OFFSET_BASE (sizeof(sljit_sw)) 563 #define SLJIT_LOCALS_OFFSET_BASE ((4 + 2) * sizeof(sljit_sw)) 582 #define SLJIT_LOCALS_OFFSET_BASE (2 * sizeof(sljit_sw)) 589 #define SLJIT_LOCALS_OFFSET_BASE ((6 + 8) * sizeof(sljit_sw)) [all …]
|
D | sljitNativeX86_64.c | 29 static sljit_si emit_load_imm64(struct sljit_compiler *compiler, sljit_si reg, sljit_sw imm) in emit_load_imm64() 33 inst = (sljit_ub*)ensure_buf(compiler, 1 + 2 + sizeof(sljit_sw)); in emit_load_imm64() 35 INC_SIZE(2 + sizeof(sljit_sw)); in emit_load_imm64() 38 *(sljit_sw*)inst = imm; in emit_load_imm64() 58 *(sljit_sw*)code_ptr = jump->u.target; in generate_far_jump_code() 60 code_ptr += sizeof(sljit_sw); in generate_far_jump_code() 68 static sljit_ub* generate_fixed_jump(sljit_ub *code_ptr, sljit_sw addr, sljit_si type) in generate_fixed_jump() 70 sljit_sw delta = addr - ((sljit_sw)code_ptr + 1 + sizeof(sljit_si)); in generate_fixed_jump() 74 *(sljit_sw*)code_ptr = delta; in generate_fixed_jump() 80 *(sljit_sw*)code_ptr = addr; in generate_fixed_jump() [all …]
|
D | sljitNativeARM_32.c | 384 static SLJIT_INLINE sljit_si emit_imm(struct sljit_compiler *compiler, sljit_si reg, sljit_sw imm) in emit_imm() 394 sljit_sw diff; in detect_jump_type() 404 diff = ((sljit_sw)jump->u.target - (sljit_sw)(code_ptr + 2)); in detect_jump_type() 407 diff = ((sljit_sw)(code + jump->u.label->size) - (sljit_sw)(code_ptr + 2)); in detect_jump_type() 429 diff = ((sljit_sw)jump->u.target - (sljit_sw)code_ptr); in detect_jump_type() 432 diff = ((sljit_sw)(code + jump->u.label->size) - (sljit_sw)code_ptr); in detect_jump_type() 456 sljit_sw diff = (sljit_sw)(((sljit_sw)new_addr - (sljit_sw)(inst + 2)) >> 2); in inline_set_jump_addr() 507 static SLJIT_INLINE void inline_set_const(sljit_uw addr, sljit_sw new_constant, sljit_si flush) in inline_set_const() 737 …SLJIT_ASSERT(((sljit_sw)jump->u.label->addr - (sljit_sw)(buf_ptr + 2)) <= 0x01ffffff && ((sljit_sw… in sljit_generate_code() 738 *buf_ptr |= (((sljit_sw)jump->u.label->addr - (sljit_sw)(buf_ptr + 2)) >> 2) & 0x00ffffff; in sljit_generate_code() [all …]
|
D | sljitNativePPC_common.c | 227 …unction_context(void** func_ptr, struct sljit_function_context* context, sljit_sw addr, void* func) in sljit_set_function_context() 229 sljit_sw* ptrs; in sljit_set_function_context() 232 ptrs = (sljit_sw*)func; in sljit_set_function_context() 250 sljit_sw diff; in detect_jump_type() 252 sljit_sw extra_jump_flags; in detect_jump_type() 274 diff = ((sljit_sw)target_addr - (sljit_sw)(code_ptr)) & ~0x3l; in detect_jump_type() 428 …SLJIT_ASSERT(code_ptr - code <= (sljit_sw)compiler->size - (sizeof(struct sljit_function_context) … in sljit_generate_code() 430 SLJIT_ASSERT(code_ptr - code <= (sljit_sw)compiler->size); in sljit_generate_code() 442 SLJIT_ASSERT((sljit_sw)addr <= 0x7fff && (sljit_sw)addr >= -0x8000); in sljit_generate_code() 453 SLJIT_ASSERT((sljit_sw)addr <= 0x01ffffff && (sljit_sw)addr >= -0x02000000); in sljit_generate_code() [all …]
|
D | sljitNativeSPARC_common.c | 200 sljit_sw diff; in detect_jump_type() 239 diff = ((sljit_sw)target_addr - (sljit_sw)(inst - 1)) >> 2; in detect_jump_type() 256 diff = ((sljit_sw)target_addr - (sljit_sw)(inst)) >> 2; in detect_jump_type() 352 addr = (sljit_sw)(addr - jump->addr) >> 2; in sljit_generate_code() 353 SLJIT_ASSERT((sljit_sw)addr <= 0x1fffffff && (sljit_sw)addr >= -0x20000000); in sljit_generate_code() 358 addr = (sljit_sw)(addr - jump->addr) >> 2; in sljit_generate_code() 359 SLJIT_ASSERT((sljit_sw)addr <= MAX_DISP && (sljit_sw)addr >= MIN_DISP); in sljit_generate_code() 457 …jit_si sljit_emit_return(struct sljit_compiler *compiler, sljit_si op, sljit_si src, sljit_sw srcw) in sljit_emit_return() 509 …rg_fast(struct sljit_compiler *compiler, sljit_si flags, sljit_si reg, sljit_si arg, sljit_sw argw) in getput_arg_fast() 532 static sljit_si can_cache(sljit_si arg, sljit_sw argw, sljit_si next_arg, sljit_sw next_argw) in can_cache() [all …]
|
D | sljitNativeARM_64.c | 156 sljit_sw diff; in detect_jump_type() 170 diff = (sljit_sw)target_addr - (sljit_sw)(code_ptr + 4); in detect_jump_type() 274 SLJIT_ASSERT(code_ptr - code <= (sljit_sw)compiler->size); in sljit_generate_code() 282 addr = (sljit_sw)(addr - jump->addr) >> 2; in sljit_generate_code() 283 SLJIT_ASSERT((sljit_sw)addr <= 0x1ffffff && (sljit_sw)addr >= -0x2000000); in sljit_generate_code() 290 addr = (sljit_sw)(addr - jump->addr) >> 2; in sljit_generate_code() 291 SLJIT_ASSERT((sljit_sw)addr <= 0x3ffff && (sljit_sw)addr >= -0x40000); in sljit_generate_code() 349 static sljit_ins logical_imm(sljit_sw imm, sljit_si len) in logical_imm() 392 imm = (sljit_sw)~uimm; in logical_imm() 413 static sljit_si load_immediate(struct sljit_compiler *compiler, sljit_si dst, sljit_sw simm) in load_immediate() [all …]
|
D | sljitNativeMIPS_common.c | 223 sljit_sw diff; in detect_jump_type() 253 diff = ((sljit_sw)target_addr - (sljit_sw)(inst)) >> 2; in detect_jump_type() 271 diff = ((sljit_sw)target_addr - (sljit_sw)(inst + 1)) >> 2; in detect_jump_type() 431 SLJIT_ASSERT(code_ptr - code <= (sljit_sw)compiler->size); in sljit_generate_code() 440 addr = (sljit_sw)(addr - (jump->addr + sizeof(sljit_ins))) >> 2; in sljit_generate_code() 441 SLJIT_ASSERT((sljit_sw)addr <= SIMM_MAX && (sljit_sw)addr >= SIMM_MIN); in sljit_generate_code() 573 offs = local_size - (sljit_sw)(sizeof(sljit_sw)); in sljit_emit_enter() 578 offs -= (sljit_si)(sizeof(sljit_sw)); in sljit_emit_enter() 583 offs -= (sljit_si)(sizeof(sljit_sw)); in sljit_emit_enter() 614 …jit_si sljit_emit_return(struct sljit_compiler *compiler, sljit_si op, sljit_si src, sljit_sw srcw) in sljit_emit_return() [all …]
|
D | sljitNativeARM_T2_32.c | 226 sljit_sw diff; in detect_jump_type() 235 diff = ((sljit_sw)jump->u.target - (sljit_sw)(code_ptr + 2)) >> 1; in detect_jump_type() 239 diff = ((sljit_sw)(code + jump->u.label->size) - (sljit_sw)(code_ptr + 2)) >> 1; in detect_jump_type() 282 sljit_sw diff; in set_jump_instruction() 293 diff = ((sljit_sw)jump->u.target - (sljit_sw)(jump->addr + 4)) >> 1; in set_jump_instruction() 296 diff = ((sljit_sw)(jump->u.label->addr) - (sljit_sw)(jump->addr + 4)) >> 1; in set_jump_instruction() 408 SLJIT_ASSERT(code_ptr - code <= (sljit_sw)compiler->size); in sljit_generate_code() 870 …ljit_si emit_set_delta(struct sljit_compiler *compiler, sljit_si dst, sljit_si reg, sljit_sw value) in emit_set_delta() 891 …rg_fast(struct sljit_compiler *compiler, sljit_si flags, sljit_si reg, sljit_si arg, sljit_sw argw) in getput_arg_fast() 978 static sljit_si can_cache(sljit_si arg, sljit_sw argw, sljit_si next_arg, sljit_sw next_argw) in can_cache() [all …]
|
D | sljitNativeTILEGX_64.c | 905 sljit_sw diff; in detect_jump_type() 923 diff = ((sljit_sw) target_addr - (sljit_sw) inst) >> 3; in detect_jump_type() 1071 SLJIT_ASSERT(code_ptr - code <= (sljit_sw)compiler->size); in sljit_generate_code() 1080 addr = (sljit_sw)(addr - (jump->addr)) >> 3; in sljit_generate_code() 1081 SLJIT_ASSERT((sljit_sw) addr <= SIMM_17BIT_MAX && (sljit_sw) addr >= SIMM_17BIT_MIN); in sljit_generate_code() 1093 addr = (sljit_sw)(addr - (jump->addr)) >> 3; in sljit_generate_code() 1120 static sljit_si load_immediate(struct sljit_compiler *compiler, sljit_si dst_ar, sljit_sw imm) in load_immediate() 1143 static sljit_si emit_const(struct sljit_compiler *compiler, sljit_si dst_ar, sljit_sw imm, int flus… in emit_const() 1158 static sljit_si emit_const_64(struct sljit_compiler *compiler, sljit_si dst_ar, sljit_sw imm, int f… in emit_const_64() 1239 …jit_si sljit_emit_return(struct sljit_compiler *compiler, sljit_si op, sljit_si src, sljit_sw srcw) in sljit_emit_return() [all …]
|
D | sljitNativeSPARC_32.c | 27 static sljit_si load_immediate(struct sljit_compiler *compiler, sljit_si dst, sljit_sw imm) in load_immediate() 39 sljit_si dst, sljit_si src1, sljit_sw src2) in emit_single_op() 142 static SLJIT_INLINE sljit_si emit_const(struct sljit_compiler *compiler, sljit_si dst, sljit_sw ini… in emit_const() 157 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_const(sljit_uw addr, sljit_sw new_constant) in sljit_set_const()
|
D | sljitUtils.c | 201 static sljit_sw sljit_page_align = 0; 290 SLJIT_API_FUNC_ATTRIBUTE sljit_sw SLJIT_CALL sljit_stack_resize(struct sljit_stack* stack, sljit_uw… in sljit_stack_resize()
|
D | sljitExecAllocator.c | 252 header = AS_BLOCK_HEADER(ptr, -(sljit_sw)sizeof(struct block_header)); in sljit_free_exec() 259 free_block = AS_FREE_BLOCK(header, -(sljit_sw)header->prev_size); in sljit_free_exec()
|
D | sljitNativePPC_32.c | 29 static sljit_si load_immediate(struct sljit_compiler *compiler, sljit_si reg, sljit_sw imm) in load_immediate() 247 static SLJIT_INLINE sljit_si emit_const(struct sljit_compiler *compiler, sljit_si reg, sljit_sw ini… in emit_const() 262 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_const(sljit_uw addr, sljit_sw new_constant) in sljit_set_const()
|
D | sljitNativeMIPS_64.c | 29 static sljit_si load_immediate(struct sljit_compiler *compiler, sljit_si dst_ar, sljit_sw imm) in load_immediate() 70 if ((sljit_sw)uimm < 0) { in load_immediate() 161 sljit_si dst, sljit_si src1, sljit_sw src2) in emit_single_op() 439 static SLJIT_INLINE sljit_si emit_const(struct sljit_compiler *compiler, sljit_si dst, sljit_sw ini… in emit_const() 460 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_const(sljit_uw addr, sljit_sw new_constant) in sljit_set_const()
|
D | sljitNativeMIPS_32.c | 29 static sljit_si load_immediate(struct sljit_compiler *compiler, sljit_si dst_ar, sljit_sw imm) in load_immediate() 70 sljit_si dst, sljit_si src1, sljit_sw src2) in emit_single_op() 344 static SLJIT_INLINE sljit_si emit_const(struct sljit_compiler *compiler, sljit_si dst, sljit_sw ini… in emit_const() 359 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_const(sljit_uw addr, sljit_sw new_constant) in sljit_set_const()
|
D | sljitNativePPC_64.c | 44 static sljit_si load_immediate(struct sljit_compiler *compiler, sljit_si reg, sljit_sw imm) in load_immediate() 392 static SLJIT_INLINE sljit_si emit_const(struct sljit_compiler *compiler, sljit_si reg, sljit_sw ini… in emit_const() 412 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_const(sljit_uw addr, sljit_sw new_constant) in sljit_set_const()
|
/external/pcre/dist/ |
D | pcre_jit_compile.c | 293 sljit_sw start; 309 sljit_sw start; 358 sljit_sw lcc; 386 sljit_sw ctypes; 389 sljit_sw name_count; 390 sljit_sw name_entry_size; 472 #define STACK(i) ((-(i) - 1) * (int)sizeof(sljit_sw)) 487 #define LOCALS0 (0 * sizeof(sljit_sw)) 488 #define LOCALS1 (1 * sizeof(sljit_sw)) 490 #define POSSESSIVE0 (2 * sizeof(sljit_sw)) [all …]
|