Home
last modified time | relevance | path

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

/external/pcre/dist2/src/sljit/
DsljitLir.h364 sljit_s32 error;
365 sljit_s32 options;
379 sljit_s32 scratches;
381 sljit_s32 saveds;
383 sljit_s32 fscratches;
385 sljit_s32 fsaveds;
387 sljit_s32 local_size;
396 sljit_s32 args;
397 sljit_s32 locals_offset;
398 sljit_s32 saveds_offset;
[all …]
DsljitLir.c299 #define CHECK_RETURN_TYPE sljit_s32
362 static sljit_s32 compiler_initialized = 0;
377 && sizeof(sljit_s32) == 4 && sizeof(sljit_u32) == 4 in sljit_create_compiler()
523 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_current_flags(struct sljit_compiler *compiler, sljit_s32 cu… in sljit_set_current_flags()
577 SLJIT_API_FUNC_ATTRIBUTE void* sljit_alloc_memory(struct sljit_compiler *compiler, sljit_s32 size) in sljit_alloc_memory()
609 static SLJIT_INLINE sljit_s32 get_arg_count(sljit_s32 arg_types) in get_arg_count()
611 sljit_s32 arg_count = 0; in get_arg_count()
623 sljit_s32 options, sljit_s32 args, sljit_s32 scratches, sljit_s32 saveds, in set_emit_enter()
624 sljit_s32 fscratches, sljit_s32 fsaveds, sljit_s32 local_size) in set_emit_enter()
640 sljit_s32 options, sljit_s32 args, sljit_s32 scratches, sljit_s32 saveds, in set_set_context()
[all …]
DsljitNativeX86_64.c29 static sljit_s32 emit_load_imm64(struct sljit_compiler *compiler, sljit_s32 reg, sljit_sw imm) in emit_load_imm64()
42 static sljit_u8* generate_far_jump_code(struct sljit_jump *jump, sljit_u8 *code_ptr, sljit_s32 type) in generate_far_jump_code()
62 sljit_unaligned_store_s32(code_ptr, (sljit_s32)jump->u.target); in generate_far_jump_code()
66 code_ptr += short_addr ? sizeof(sljit_s32) : sizeof(sljit_sw); in generate_far_jump_code()
75 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_enter(struct sljit_compiler *compiler, in sljit_emit_enter()
76 sljit_s32 options, sljit_s32 arg_types, sljit_s32 scratches, sljit_s32 saveds, in sljit_emit_enter()
77 sljit_s32 fscratches, sljit_s32 fsaveds, sljit_s32 local_size) in sljit_emit_enter()
79 sljit_s32 args, i, tmp, size, saved_register_size; in sljit_emit_enter()
224 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_set_context(struct sljit_compiler *compiler, in sljit_set_context()
225 sljit_s32 options, sljit_s32 arg_types, sljit_s32 scratches, sljit_s32 saveds, in sljit_set_context()
[all …]
DsljitNativeX86_32.c29 static sljit_s32 emit_do_imm(struct sljit_compiler *compiler, sljit_u8 opcode, sljit_sw imm) in emit_do_imm()
41 static sljit_u8* generate_far_jump_code(struct sljit_jump *jump, sljit_u8 *code_ptr, sljit_s32 type… in generate_far_jump_code()
66 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_enter(struct sljit_compiler *compiler, in sljit_emit_enter()
67 sljit_s32 options, sljit_s32 arg_types, sljit_s32 scratches, sljit_s32 saveds, in sljit_emit_enter()
68 sljit_s32 fscratches, sljit_s32 fsaveds, sljit_s32 local_size) in sljit_emit_enter()
70 sljit_s32 args, size; in sljit_emit_enter()
242 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_set_context(struct sljit_compiler *compiler, in sljit_set_context()
243 sljit_s32 options, sljit_s32 arg_types, sljit_s32 scratches, sljit_s32 saveds, in sljit_set_context()
244 sljit_s32 fscratches, sljit_s32 fsaveds, sljit_s32 local_size) in sljit_set_context()
284 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_return(struct sljit_compiler *compiler, sljit_s32 op,… in sljit_emit_return()
[all …]
DsljitNativeSPARC_common.c204 static sljit_s32 push_inst(struct sljit_compiler *compiler, sljit_ins ins, sljit_s32 delay_slot) in push_inst()
369 SLJIT_ASSERT(code_ptr - code <= (sljit_s32)compiler->size); in sljit_generate_code()
413 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_has_cpu_feature(sljit_s32 feature_type) in sljit_has_cpu_feature()
472 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_enter(struct sljit_compiler *compiler, in sljit_emit_enter()
473 sljit_s32 options, sljit_s32 arg_types, sljit_s32 scratches, sljit_s32 saveds, in sljit_emit_enter()
474 sljit_s32 fscratches, sljit_s32 fsaveds, sljit_s32 local_size) in sljit_emit_enter()
496 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_set_context(struct sljit_compiler *compiler, in sljit_set_context()
497 sljit_s32 options, sljit_s32 arg_types, sljit_s32 scratches, sljit_s32 saveds, in sljit_set_context()
498 sljit_s32 fscratches, sljit_s32 fsaveds, sljit_s32 local_size) in sljit_set_context()
508 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_return(struct sljit_compiler *compiler, sljit_s32 op,… in sljit_emit_return()
[all …]
DsljitNativeX86_common.c290 static sljit_s32 cpu_has_sse2 = -1;
292 static sljit_s32 cpu_has_cmov = -1;
309 static SLJIT_INLINE void sljit_unaligned_store_s32(void *addr, sljit_s32 value) in sljit_unaligned_store_s32()
374 static sljit_u8 get_jump_code(sljit_s32 type) in get_jump_code()
431 static sljit_u8* generate_far_jump_code(struct sljit_jump *jump, sljit_u8 *code_ptr, sljit_s32 type…
433 static sljit_u8* generate_far_jump_code(struct sljit_jump *jump, sljit_u8 *code_ptr, sljit_s32 type…
436 …_jump_code(struct sljit_jump *jump, sljit_u8 *code_ptr, sljit_u8 *code, sljit_s32 type, sljit_sw e… in generate_near_jump_code()
438 sljit_s32 short_jump; in generate_near_jump_code()
480 code_ptr += sizeof(sljit_s32); in generate_near_jump_code()
573 …->addr - (jump_addr + sizeof(sljit_s32))) >= HALFWORD_MIN && (sljit_sw)(jump->u.label->addr - (jum… in sljit_generate_code()
[all …]
DsljitNativeARM_64.c137 static sljit_s32 push_inst(struct sljit_compiler *compiler, sljit_ins ins) in push_inst()
146 static SLJIT_INLINE sljit_s32 emit_imm64_const(struct sljit_compiler *compiler, sljit_s32 dst, slji… in emit_imm64_const()
156 sljit_s32 dst = inst[0] & 0x1f; in modify_imm64_const()
164 static SLJIT_INLINE sljit_s32 detect_jump_type(struct sljit_jump *jump, sljit_ins *code_ptr, sljit_… in detect_jump_type()
228 sljit_s32 dst; in sljit_generate_code()
337 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_has_cpu_feature(sljit_s32 feature_type) in sljit_has_cpu_feature()
390 static sljit_ins logical_imm(sljit_sw imm, sljit_s32 len) in logical_imm()
392 sljit_s32 negated, ones, right; in logical_imm()
400 if (len == 16 && ((sljit_s32)imm == 0 || (sljit_s32)imm == -1)) in logical_imm()
405 || (len == 16 && (sljit_s32)imm != 0 && (sljit_s32)imm != -1)); in logical_imm()
[all …]
DsljitNativeARM_32.c60 (((max_diff) / (sljit_s32)sizeof(sljit_uw)) - (CONST_POOL_ALIGNMENT - 1))
139 static sljit_s32 push_cpool(struct sljit_compiler *compiler) in push_cpool()
145 sljit_s32 i; in push_cpool()
177 static sljit_s32 push_inst(struct sljit_compiler *compiler, sljit_uw inst) in push_inst()
191 static sljit_s32 push_inst_with_literal(struct sljit_compiler *compiler, sljit_uw inst, sljit_uw li… in push_inst_with_literal()
241 static sljit_s32 push_inst_with_unique_literal(struct sljit_compiler *compiler, sljit_uw inst, slji… in push_inst_with_unique_literal()
261 static SLJIT_INLINE sljit_s32 prepare_blx(struct sljit_compiler *compiler) in prepare_blx()
269 static SLJIT_INLINE sljit_s32 emit_blx(struct sljit_compiler *compiler) in emit_blx()
301 if ((sljit_s32)const_pool[ind] < 0) { in patch_pc_relative_loads()
326 sljit_s32 index;
[all …]
DsljitNativeMIPS_common.c223 static sljit_s32 push_inst(struct sljit_compiler *compiler, sljit_ins ins, sljit_s32 delay_slot) in push_inst()
235 static SLJIT_INLINE sljit_ins invert_branch(sljit_s32 flags) in invert_branch()
517 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_has_cpu_feature(sljit_s32 feature_type) in sljit_has_cpu_feature()
584 static SLJIT_INLINE sljit_s32 emit_op_mem(struct sljit_compiler *compiler, sljit_s32 flags, sljit_s…
592 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_enter(struct sljit_compiler *compiler, in sljit_emit_enter()
593 sljit_s32 options, sljit_s32 arg_types, sljit_s32 scratches, sljit_s32 saveds, in sljit_emit_enter()
594 sljit_s32 fscratches, sljit_s32 fsaveds, sljit_s32 local_size) in sljit_emit_enter()
597 sljit_s32 args, i, tmp, offs; in sljit_emit_enter()
630 offs -= (sljit_s32)(sizeof(sljit_sw)); in sljit_emit_enter()
635 offs -= (sljit_s32)(sizeof(sljit_sw)); in sljit_emit_enter()
[all …]
DsljitNativeARM_T2_32.c200 static sljit_s32 push_inst16(struct sljit_compiler *compiler, sljit_ins inst) in push_inst16()
212 static sljit_s32 push_inst32(struct sljit_compiler *compiler, sljit_ins inst) in push_inst32()
222 static SLJIT_INLINE sljit_s32 emit_imm32_const(struct sljit_compiler *compiler, sljit_s32 dst, slji… in emit_imm32_const()
232 sljit_s32 dst = inst[1] & 0x0f00; in modify_imm32_const()
240 static SLJIT_INLINE sljit_s32 detect_jump_type(struct sljit_jump *jump, sljit_u16 *code_ptr, sljit_… in detect_jump_type()
297 sljit_s32 type = (jump->flags >> 4) & 0xf; in set_jump_instruction()
300 sljit_s32 s, j1, j2; in set_jump_instruction()
449 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_has_cpu_feature(sljit_s32 feature_type) in sljit_has_cpu_feature()
477 sljit_s32 counter; in get_imm()
523 static sljit_s32 load_immediate(struct sljit_compiler *compiler, sljit_s32 dst, sljit_uw imm) in load_immediate()
[all …]
DsljitNativePPC_common.c247 static sljit_s32 push_inst(struct sljit_compiler *compiler, sljit_ins ins) in push_inst()
256 static SLJIT_INLINE sljit_s32 detect_jump_type(struct sljit_jump *jump, sljit_ins *code_ptr, sljit_… in detect_jump_type()
531 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_has_cpu_feature(sljit_s32 feature_type) in sljit_has_cpu_feature()
608 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_enter(struct sljit_compiler *compiler, in sljit_emit_enter()
609 sljit_s32 options, sljit_s32 arg_types, sljit_s32 scratches, sljit_s32 saveds, in sljit_emit_enter()
610 sljit_s32 fscratches, sljit_s32 fsaveds, sljit_s32 local_size) in sljit_emit_enter()
612 sljit_s32 args, i, tmp, offs; in sljit_emit_enter()
619 offs = -(sljit_s32)(sizeof(sljit_sw)); in sljit_emit_enter()
624 offs -= (sljit_s32)(sizeof(sljit_sw)); in sljit_emit_enter()
629 offs -= (sljit_s32)(sizeof(sljit_sw)); in sljit_emit_enter()
[all …]
DsljitNativeTILEGX_64.c330 static sljit_s32 push_inst_debug(struct sljit_compiler *compiler, sljit_ins ins, int line) in push_inst_debug()
341 static sljit_s32 push_inst_nodebug(struct sljit_compiler *compiler, sljit_ins ins) in push_inst_nodebug()
352 static sljit_s32 push_inst(struct sljit_compiler *compiler, sljit_ins ins) in push_inst()
560 sljit_s32 assign_pipes() in assign_pipes()
624 static sljit_s32 update_buffer(struct sljit_compiler *compiler) in update_buffer()
736 static sljit_s32 flush_buffer(struct sljit_compiler *compiler) in flush_buffer()
744 static sljit_s32 push_4_buffer(struct sljit_compiler *compiler, tilegx_mnemonic opc, int op0, int o… in push_4_buffer()
764 static sljit_s32 push_3_buffer(struct sljit_compiler *compiler, tilegx_mnemonic opc, int op0, int o… in push_3_buffer()
825 static sljit_s32 push_2_buffer(struct sljit_compiler *compiler, tilegx_mnemonic opc, int op0, int o… in push_2_buffer()
870 static sljit_s32 push_0_buffer(struct sljit_compiler *compiler, tilegx_mnemonic opc, int line) in push_0_buffer()
[all …]
DsljitNativeSPARC_32.c27 static sljit_s32 load_immediate(struct sljit_compiler *compiler, sljit_s32 dst, sljit_sw imm) in load_immediate()
38 static SLJIT_INLINE sljit_s32 emit_single_op(struct sljit_compiler *compiler, sljit_s32 op, sljit_s… in emit_single_op()
39 sljit_s32 dst, sljit_s32 src1, sljit_sw src2) in emit_single_op()
141 static sljit_s32 call_with_args(struct sljit_compiler *compiler, sljit_s32 arg_types, sljit_s32 *sr… in call_with_args()
143 sljit_s32 reg_index = 8; in call_with_args()
144 sljit_s32 word_reg_index = 8; in call_with_args()
145 sljit_s32 float_arg_index = 1; in call_with_args()
146 sljit_s32 double_arg_count = 0; in call_with_args()
147 sljit_s32 float_offset = (16 + 6) * sizeof(sljit_sw); in call_with_args()
148 sljit_s32 types = 0; in call_with_args()
[all …]
DsljitNativeMIPS_32.c29 static sljit_s32 load_immediate(struct sljit_compiler *compiler, sljit_s32 dst_ar, sljit_sw imm) in load_immediate()
69 static SLJIT_INLINE sljit_s32 emit_single_op(struct sljit_compiler *compiler, sljit_s32 op, sljit_s… in emit_single_op()
70 sljit_s32 dst, sljit_s32 src1, sljit_sw src2) in emit_single_op()
72 sljit_s32 is_overflow, is_carry, is_handled; in emit_single_op()
413 static SLJIT_INLINE sljit_s32 emit_const(struct sljit_compiler *compiler, sljit_s32 dst, sljit_sw i… in emit_const()
439 static sljit_s32 call_with_args(struct sljit_compiler *compiler, sljit_s32 arg_types, sljit_ins *in… in call_with_args()
441 sljit_s32 stack_offset = 0; in call_with_args()
442 sljit_s32 arg_count = 0; in call_with_args()
443 sljit_s32 float_arg_count = 0; in call_with_args()
444 sljit_s32 word_arg_count = 0; in call_with_args()
[all …]
DsljitNativeMIPS_64.c29 static sljit_s32 load_immediate(struct sljit_compiler *compiler, sljit_s32 dst_ar, sljit_sw imm) in load_immediate()
31 sljit_s32 shift = 32; in load_immediate()
32 sljit_s32 shift2; in load_immediate()
33 sljit_s32 inv = 0; in load_immediate()
160 static SLJIT_INLINE sljit_s32 emit_single_op(struct sljit_compiler *compiler, sljit_s32 op, sljit_s… in emit_single_op()
161 sljit_s32 dst, sljit_s32 src1, sljit_sw src2) in emit_single_op()
164 sljit_s32 is_overflow, is_carry, is_handled; in emit_single_op()
507 static SLJIT_INLINE sljit_s32 emit_const(struct sljit_compiler *compiler, sljit_s32 dst, sljit_sw i… in emit_const()
541 static sljit_s32 call_with_args(struct sljit_compiler *compiler, sljit_s32 arg_types, sljit_ins *in… in call_with_args()
543 sljit_s32 arg_count = 0; in call_with_args()
[all …]
DsljitNativePPC_64.c44 static sljit_s32 load_immediate(struct sljit_compiler *compiler, sljit_s32 reg, sljit_sw imm) in load_immediate()
148 static SLJIT_INLINE sljit_s32 emit_single_op(struct sljit_compiler *compiler, sljit_s32 op, sljit_s… in emit_single_op()
149 sljit_s32 dst, sljit_s32 src1, sljit_s32 src2) in emit_single_op()
416 static sljit_s32 call_with_args(struct sljit_compiler *compiler, sljit_s32 arg_types, sljit_s32 *sr… in call_with_args()
418 sljit_s32 arg_count = 0; in call_with_args()
419 sljit_s32 word_arg_count = 0; in call_with_args()
420 sljit_s32 types = 0; in call_with_args()
421 sljit_s32 reg = 0; in call_with_args()
471 static SLJIT_INLINE sljit_s32 emit_const(struct sljit_compiler *compiler, sljit_s32 reg, sljit_sw i… in emit_const()
DsljitNativePPC_32.c29 static sljit_s32 load_immediate(struct sljit_compiler *compiler, sljit_s32 reg, sljit_sw imm) in load_immediate()
44 static SLJIT_INLINE sljit_s32 emit_single_op(struct sljit_compiler *compiler, sljit_s32 op, sljit_s… in emit_single_op()
45 sljit_s32 dst, sljit_s32 src1, sljit_s32 src2) in emit_single_op()
252 static SLJIT_INLINE sljit_s32 emit_const(struct sljit_compiler *compiler, sljit_s32 reg, sljit_sw i… in emit_const()
DsljitUtils.c166 static sljit_s32 dev_zero = -1;
170 static SLJIT_INLINE sljit_s32 open_dev_zero(void) in open_dev_zero()
182 static SLJIT_INLINE sljit_s32 open_dev_zero(void) in open_dev_zero()
DsljitConfigInternal.h362 typedef signed int sljit_s32; typedef
/external/pcre/dist2/src/
Dpcre2_jit_compile.c376 sljit_s32 *private_data_ptrs;
386 sljit_s32 cbra_ptr;
388 sljit_s32 ovector_start;
390 sljit_s32 start_ptr;
392 sljit_s32 req_char_ptr;
394 sljit_s32 recursive_head_ptr;
397 sljit_s32 start_used_ptr;
399 sljit_s32 hit_start;
401 sljit_s32 match_end_ptr;
403 sljit_s32 mark_ptr;
[all …]