Home
last modified time | relevance | path

Searched refs:sljit_si (Results 1 – 20 of 20) sorted by relevance

/external/pcre/dist/sljit/
DsljitLir.h300 sljit_si error;
301 sljit_si options;
315 sljit_si scratches;
317 sljit_si saveds;
319 sljit_si fscratches;
321 sljit_si fsaveds;
323 sljit_si local_size;
330 sljit_si args;
334 sljit_si mode32;
338 sljit_si flags_saved;
[all …]
DsljitNativeX86_64.c29 static sljit_si emit_load_imm64(struct sljit_compiler *compiler, sljit_si reg, sljit_sw imm) in emit_load_imm64()
42 static sljit_ub* generate_far_jump_code(struct sljit_jump *jump, sljit_ub *code_ptr, sljit_si type) 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()
90 SLJIT_API_FUNC_ATTRIBUTE sljit_si sljit_emit_enter(struct sljit_compiler *compiler, in sljit_emit_enter()
91 sljit_si options, sljit_si args, sljit_si scratches, sljit_si saveds, in sljit_emit_enter()
92 sljit_si fscratches, sljit_si fsaveds, sljit_si local_size) in sljit_emit_enter()
94 sljit_si i, tmp, size, saved_register_size; in sljit_emit_enter()
175 inst = (sljit_ub*)ensure_buf(compiler, 1 + 4 + (3 + sizeof(sljit_si))); in sljit_emit_enter()
177 INC_SIZE(4 + (3 + sizeof(sljit_si))); in sljit_emit_enter()
[all …]
DsljitLir.c260 #define CHECK_RETURN_TYPE sljit_si
323 static sljit_si compiler_initialized = 0;
338 && sizeof(sljit_si) == 4 && sizeof(sljit_ui) == 4 in sljit_create_compiler()
524 SLJIT_API_FUNC_ATTRIBUTE void* sljit_alloc_memory(struct sljit_compiler *compiler, sljit_si size) in sljit_alloc_memory()
557 sljit_si options, sljit_si args, sljit_si scratches, sljit_si saveds, in set_emit_enter()
558 sljit_si fscratches, sljit_si fsaveds, sljit_si local_size) in set_emit_enter()
574 sljit_si options, sljit_si args, sljit_si scratches, sljit_si saveds, in set_set_context()
575 sljit_si fscratches, sljit_si fsaveds, sljit_si local_size) in set_set_context()
601 …LJIT_INLINE void set_jump(struct sljit_jump *jump, struct sljit_compiler *compiler, sljit_si flags) in set_jump()
926 sljit_si options, sljit_si args, sljit_si scratches, sljit_si saveds, in check_sljit_emit_enter()
[all …]
DsljitNativeSPARC_common.c184 static sljit_si push_inst(struct sljit_compiler *compiler, sljit_ins ins, sljit_si delay_slot) in push_inst()
343 SLJIT_ASSERT(code_ptr - code <= (sljit_si)compiler->size); in sljit_generate_code()
421 SLJIT_API_FUNC_ATTRIBUTE sljit_si sljit_emit_enter(struct sljit_compiler *compiler, in sljit_emit_enter()
422 sljit_si options, sljit_si args, sljit_si scratches, sljit_si saveds, in sljit_emit_enter()
423 sljit_si fscratches, sljit_si fsaveds, sljit_si local_size) in sljit_emit_enter()
445 SLJIT_API_FUNC_ATTRIBUTE sljit_si sljit_set_context(struct sljit_compiler *compiler, in sljit_set_context()
446 sljit_si options, sljit_si args, sljit_si scratches, sljit_si saveds, in sljit_set_context()
447 sljit_si fscratches, sljit_si fsaveds, sljit_si local_size) in sljit_set_context()
457 SLJIT_API_FUNC_ATTRIBUTE sljit_si sljit_emit_return(struct sljit_compiler *compiler, sljit_si op, s… in sljit_emit_return()
509 static sljit_si getput_arg_fast(struct sljit_compiler *compiler, sljit_si flags, sljit_si reg, slji… in getput_arg_fast()
[all …]
DsljitNativeX86_common.c272 static sljit_si cpu_has_sse2 = -1;
274 static sljit_si cpu_has_cmov = -1;
333 static sljit_ub get_jump_code(sljit_si type) in get_jump_code()
389 static sljit_ub* generate_far_jump_code(struct sljit_jump *jump, sljit_ub *code_ptr, sljit_si type);
392 static sljit_ub* generate_fixed_jump(sljit_ub *code_ptr, sljit_sw addr, sljit_si type);
395 …generate_near_jump_code(struct sljit_jump *jump, sljit_ub *code_ptr, sljit_ub *code, sljit_si type) in generate_near_jump_code()
397 sljit_si short_jump; in generate_near_jump_code()
441 code_ptr += sizeof(sljit_si); in generate_near_jump_code()
536 …->addr - (jump->addr + sizeof(sljit_si))) >= HALFWORD_MIN && (sljit_sw)(jump->u.label->addr - (jum… in sljit_generate_code()
537 *(sljit_si*)jump->addr = (sljit_si)(jump->u.label->addr - (jump->addr + sizeof(sljit_si))); in sljit_generate_code()
[all …]
DsljitNativeARM_32.c55 (((max_diff) / (sljit_si)sizeof(sljit_uw)) - (CONST_POOL_ALIGNMENT - 1))
129 static sljit_si push_cpool(struct sljit_compiler *compiler) in push_cpool()
135 sljit_si i; in push_cpool()
167 static sljit_si push_inst(struct sljit_compiler *compiler, sljit_uw inst) in push_inst()
181 static sljit_si push_inst_with_literal(struct sljit_compiler *compiler, sljit_uw inst, sljit_uw lit… in push_inst_with_literal()
231 static sljit_si push_inst_with_unique_literal(struct sljit_compiler *compiler, sljit_uw inst, sljit… in push_inst_with_unique_literal()
251 static SLJIT_INLINE sljit_si prepare_blx(struct sljit_compiler *compiler) in prepare_blx()
259 static SLJIT_INLINE sljit_si emit_blx(struct sljit_compiler *compiler) in emit_blx()
289 if ((sljit_si)const_pool[ind] < 0) { in patch_pc_relative_loads()
314 sljit_si index;
[all …]
DsljitNativeARM_64.c127 static sljit_si push_inst(struct sljit_compiler *compiler, sljit_ins ins) in push_inst()
136 static SLJIT_INLINE sljit_si emit_imm64_const(struct sljit_compiler *compiler, sljit_si dst, sljit_… in emit_imm64_const()
146 sljit_si dst = inst[0] & 0x1f; in modify_imm64_const()
154 static SLJIT_INLINE sljit_si detect_jump_type(struct sljit_jump *jump, sljit_ins *code_ptr, sljit_i… in detect_jump_type()
215 sljit_si dst; in sljit_generate_code()
349 static sljit_ins logical_imm(sljit_sw imm, sljit_si len) in logical_imm()
351 sljit_si negated, ones, right; in logical_imm()
359 if (len == 16 && ((sljit_si)imm == 0 || (sljit_si)imm == -1)) in logical_imm()
364 || (len == 16 && (sljit_si)imm != 0 && (sljit_si)imm != -1)); in logical_imm()
413 static sljit_si load_immediate(struct sljit_compiler *compiler, sljit_si dst, sljit_sw simm) in load_immediate()
[all …]
DsljitNativeX86_32.c29 static sljit_si emit_do_imm(struct sljit_compiler *compiler, sljit_ub opcode, sljit_sw imm) in emit_do_imm()
41 static sljit_ub* generate_far_jump_code(struct sljit_jump *jump, sljit_ub *code_ptr, sljit_si type) in generate_far_jump_code()
66 SLJIT_API_FUNC_ATTRIBUTE sljit_si sljit_emit_enter(struct sljit_compiler *compiler, in sljit_emit_enter()
67 sljit_si options, sljit_si args, sljit_si scratches, sljit_si saveds, in sljit_emit_enter()
68 sljit_si fscratches, sljit_si fsaveds, sljit_si local_size) in sljit_emit_enter()
70 sljit_si size; in sljit_emit_enter()
186 SLJIT_API_FUNC_ATTRIBUTE sljit_si sljit_set_context(struct sljit_compiler *compiler, in sljit_set_context()
187 sljit_si options, sljit_si args, sljit_si scratches, sljit_si saveds, in sljit_set_context()
188 sljit_si fscratches, sljit_si fsaveds, sljit_si local_size) in sljit_set_context()
208 SLJIT_API_FUNC_ATTRIBUTE sljit_si sljit_emit_return(struct sljit_compiler *compiler, sljit_si op, s… in sljit_emit_return()
[all …]
DsljitNativeMIPS_common.c204 static sljit_si push_inst(struct sljit_compiler *compiler, sljit_ins ins, sljit_si delay_slot) in push_inst()
216 static SLJIT_INLINE sljit_ins invert_branch(sljit_si flags) in invert_branch()
541 SLJIT_API_FUNC_ATTRIBUTE sljit_si sljit_emit_enter(struct sljit_compiler *compiler, in sljit_emit_enter()
542 sljit_si options, sljit_si args, sljit_si scratches, sljit_si saveds, in sljit_emit_enter()
543 sljit_si fscratches, sljit_si fsaveds, sljit_si local_size) in sljit_emit_enter()
546 sljit_si i, tmp, offs; 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()
597 SLJIT_API_FUNC_ATTRIBUTE sljit_si sljit_set_context(struct sljit_compiler *compiler, in sljit_set_context()
598 sljit_si options, sljit_si args, sljit_si scratches, sljit_si saveds, in sljit_set_context()
[all …]
DsljitNativeARM_T2_32.c184 static sljit_si push_inst16(struct sljit_compiler *compiler, sljit_ins inst) in push_inst16()
196 static sljit_si push_inst32(struct sljit_compiler *compiler, sljit_ins inst) in push_inst32()
206 static SLJIT_INLINE sljit_si emit_imm32_const(struct sljit_compiler *compiler, sljit_si dst, sljit_… in emit_imm32_const()
216 sljit_si dst = inst[1] & 0x0f00; in modify_imm32_const()
224 static SLJIT_INLINE sljit_si detect_jump_type(struct sljit_jump *jump, sljit_uh *code_ptr, sljit_uh… in detect_jump_type()
281 sljit_si type = (jump->flags >> 4) & 0xf; in set_jump_instruction()
284 sljit_si s, j1, j2; in set_jump_instruction()
431 sljit_si counter; in get_imm()
477 static sljit_si load_immediate(struct sljit_compiler *compiler, sljit_si dst, sljit_uw imm) in load_immediate()
511 static sljit_si emit_op_imm(struct sljit_compiler *compiler, sljit_si flags, sljit_si dst, sljit_uw… in emit_op_imm()
[all …]
DsljitNativePPC_common.c239 static sljit_si push_inst(struct sljit_compiler *compiler, sljit_ins ins) in push_inst()
248 static SLJIT_INLINE sljit_si detect_jump_type(struct sljit_jump *jump, sljit_ins *code_ptr, sljit_i… in detect_jump_type()
574 SLJIT_API_FUNC_ATTRIBUTE sljit_si sljit_emit_enter(struct sljit_compiler *compiler, in sljit_emit_enter()
575 sljit_si options, sljit_si args, sljit_si scratches, sljit_si saveds, in sljit_emit_enter()
576 sljit_si fscratches, sljit_si fsaveds, sljit_si local_size) in sljit_emit_enter()
578 sljit_si i, tmp, offs; in sljit_emit_enter()
585 offs = -(sljit_si)(sizeof(sljit_sw)); in sljit_emit_enter()
590 offs -= (sljit_si)(sizeof(sljit_sw)); in sljit_emit_enter()
595 offs -= (sljit_si)(sizeof(sljit_sw)); in sljit_emit_enter()
599 …SLJIT_ASSERT(offs == -(sljit_si)GET_SAVED_REGISTERS_SIZE(compiler->scratches, compiler->saveds, 1)… in sljit_emit_enter()
[all …]
DsljitNativeTILEGX_64.c330 static sljit_si push_inst_debug(struct sljit_compiler *compiler, sljit_ins ins, int line) in push_inst_debug()
341 static sljit_si push_inst_nodebug(struct sljit_compiler *compiler, sljit_ins ins) in push_inst_nodebug()
352 static sljit_si push_inst(struct sljit_compiler *compiler, sljit_ins ins) in push_inst()
560 sljit_si assign_pipes() in assign_pipes()
624 static sljit_si update_buffer(struct sljit_compiler *compiler) in update_buffer()
736 static sljit_si flush_buffer(struct sljit_compiler *compiler) in flush_buffer()
744 static sljit_si push_4_buffer(struct sljit_compiler *compiler, tilegx_mnemonic opc, int op0, int op… in push_4_buffer()
764 static sljit_si push_3_buffer(struct sljit_compiler *compiler, tilegx_mnemonic opc, int op0, int op… in push_3_buffer()
825 static sljit_si push_2_buffer(struct sljit_compiler *compiler, tilegx_mnemonic opc, int op0, int op… in push_2_buffer()
870 static sljit_si push_0_buffer(struct sljit_compiler *compiler, tilegx_mnemonic opc, int line) in push_0_buffer()
[all …]
DsljitNativeSPARC_32.c27 static sljit_si load_immediate(struct sljit_compiler *compiler, sljit_si dst, sljit_sw imm) in load_immediate()
38 static SLJIT_INLINE sljit_si emit_single_op(struct sljit_compiler *compiler, sljit_si op, sljit_si in emit_single_op()
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()
DsljitNativePPC_32.c29 static sljit_si load_immediate(struct sljit_compiler *compiler, sljit_si reg, sljit_sw imm) in load_immediate()
44 static SLJIT_INLINE sljit_si emit_single_op(struct sljit_compiler *compiler, sljit_si op, sljit_si in emit_single_op()
45 sljit_si dst, sljit_si src1, sljit_si src2) in emit_single_op()
247 static SLJIT_INLINE sljit_si emit_const(struct sljit_compiler *compiler, sljit_si reg, sljit_sw ini… in emit_const()
DsljitNativePPC_64.c44 static sljit_si load_immediate(struct sljit_compiler *compiler, sljit_si reg, sljit_sw imm) in load_immediate()
148 static SLJIT_INLINE sljit_si emit_single_op(struct sljit_compiler *compiler, sljit_si op, sljit_si in emit_single_op()
149 sljit_si dst, sljit_si src1, sljit_si src2) in emit_single_op()
392 static SLJIT_INLINE sljit_si emit_const(struct sljit_compiler *compiler, sljit_si reg, sljit_sw ini… in emit_const()
DsljitNativeMIPS_64.c29 static sljit_si load_immediate(struct sljit_compiler *compiler, sljit_si dst_ar, sljit_sw imm) in load_immediate()
31 sljit_si shift = 32; in load_immediate()
32 sljit_si shift2; in load_immediate()
33 sljit_si inv = 0; in load_immediate()
160 static SLJIT_INLINE sljit_si emit_single_op(struct sljit_compiler *compiler, sljit_si op, sljit_si in emit_single_op()
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()
DsljitNativeMIPS_32.c29 static sljit_si load_immediate(struct sljit_compiler *compiler, sljit_si dst_ar, sljit_sw imm) in load_immediate()
69 static SLJIT_INLINE sljit_si emit_single_op(struct sljit_compiler *compiler, sljit_si op, sljit_si in emit_single_op()
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()
DsljitUtils.c166 static sljit_si dev_zero = -1;
170 static SLJIT_INLINE sljit_si open_dev_zero(void) in open_dev_zero()
182 static SLJIT_INLINE sljit_si open_dev_zero(void) in open_dev_zero()
DsljitConfigInternal.h346 typedef signed int sljit_si; typedef
/external/pcre/dist/
Dpcre_jit_compile.c324 sljit_si *private_data_ptrs;
442 sljit_si asint;
454 sljit_si asint;
9988 common->private_data_ptrs = (sljit_si *)SLJIT_MALLOC(total_length * (sizeof(sljit_si) + (common->ha… in PRIV()
9994 memset(common->private_data_ptrs, 0, total_length * sizeof(sljit_si)); in PRIV()