Home
last modified time | relevance | path

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

/external/pcre/dist2/src/sljit/
DsljitLir.h381 sljit_s32 error;
382 sljit_s32 options;
399 sljit_s32 scratches;
401 sljit_s32 saveds;
403 sljit_s32 fscratches;
405 sljit_s32 fsaveds;
407 sljit_s32 local_size;
416 sljit_s32 args;
417 sljit_s32 locals_offset;
418 sljit_s32 saveds_offset;
[all …]
DsljitLir.c298 #define CHECK_RETURN_TYPE sljit_s32
361 static sljit_s32 compiler_initialized = 0;
376 && sizeof(sljit_s32) == 4 && sizeof(sljit_u32) == 4 in sljit_create_compiler()
535 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_current_flags(struct sljit_compiler *compiler, sljit_s32 cu… in sljit_set_current_flags()
589 SLJIT_API_FUNC_ATTRIBUTE void* sljit_alloc_memory(struct sljit_compiler *compiler, sljit_s32 size) in sljit_alloc_memory()
621 static SLJIT_INLINE sljit_s32 get_arg_count(sljit_s32 arg_types) in get_arg_count()
623 sljit_s32 arg_count = 0; in get_arg_count()
662 sljit_s32 options, sljit_s32 args, sljit_s32 scratches, sljit_s32 saveds, in set_emit_enter()
663 sljit_s32 fscratches, sljit_s32 fsaveds, sljit_s32 local_size) in set_emit_enter()
679 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()
44 sljit_s32 type = jump->flags >> TYPE_SHIFT; in generate_far_jump_code()
64 sljit_unaligned_store_s32(code_ptr, (sljit_s32)jump->u.target); in generate_far_jump_code()
68 code_ptr += short_addr ? sizeof(sljit_s32) : sizeof(sljit_sw); in generate_far_jump_code()
94 code_ptr += 2 + sizeof(sljit_s32); in generate_put_label_code()
98 code_ptr += 1 + sizeof(sljit_s32); in generate_put_label_code()
121 code_ptr = (sljit_u8*)(put_label->addr - (2 + sizeof(sljit_uw)) + sizeof(sljit_s32)); in generate_put_label_code()
127 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_enter(struct sljit_compiler *compiler, in sljit_emit_enter()
128 sljit_s32 options, sljit_s32 arg_types, sljit_s32 scratches, sljit_s32 saveds, in sljit_emit_enter()
129 sljit_s32 fscratches, sljit_s32 fsaveds, sljit_s32 local_size) in sljit_emit_enter()
[all …]
DsljitNativeX86_32.c29 static sljit_s32 emit_do_imm(struct sljit_compiler *compiler, sljit_u8 opcode, sljit_sw imm) in emit_do_imm()
43 sljit_s32 type = jump->flags >> TYPE_SHIFT; in generate_far_jump_code()
68 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_enter(struct sljit_compiler *compiler, in sljit_emit_enter()
69 sljit_s32 options, sljit_s32 arg_types, sljit_s32 scratches, sljit_s32 saveds, in sljit_emit_enter()
70 sljit_s32 fscratches, sljit_s32 fsaveds, sljit_s32 local_size) in sljit_emit_enter()
72 sljit_s32 args, size; in sljit_emit_enter()
247 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_set_context(struct sljit_compiler *compiler, in sljit_set_context()
248 sljit_s32 options, sljit_s32 arg_types, sljit_s32 scratches, sljit_s32 saveds, in sljit_set_context()
249 sljit_s32 fscratches, sljit_s32 fsaveds, sljit_s32 local_size) in sljit_set_context()
289 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()
384 SLJIT_ASSERT(code_ptr - code <= (sljit_s32)compiler->size); in sljit_generate_code()
444 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_has_cpu_feature(sljit_s32 feature_type) in sljit_has_cpu_feature()
506 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_enter(struct sljit_compiler *compiler, in sljit_emit_enter()
507 sljit_s32 options, sljit_s32 arg_types, sljit_s32 scratches, sljit_s32 saveds, in sljit_emit_enter()
508 sljit_s32 fscratches, sljit_s32 fsaveds, sljit_s32 local_size) in sljit_emit_enter()
530 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_set_context(struct sljit_compiler *compiler, in sljit_set_context()
531 sljit_s32 options, sljit_s32 arg_types, sljit_s32 scratches, sljit_s32 saveds, in sljit_set_context()
532 sljit_s32 fscratches, sljit_s32 fsaveds, sljit_s32 local_size) in sljit_set_context()
542 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()
439 sljit_s32 type = jump->flags >> TYPE_SHIFT; in generate_near_jump_code()
440 sljit_s32 short_jump; in generate_near_jump_code()
482 code_ptr += sizeof(sljit_s32); in generate_near_jump_code()
590 …->addr - (jump_addr + sizeof(sljit_s32))) >= HALFWORD_MIN && (sljit_sw)(jump->u.label->addr - (jum… in sljit_generate_code()
591 …ljit_unaligned_store_s32((void*)jump->addr, (sljit_s32)(jump->u.label->addr - (jump_addr + sizeof( in sljit_generate_code()
598 …>u.target - (jump_addr + sizeof(sljit_s32))) >= HALFWORD_MIN && (sljit_sw)(jump->u.target - (jump_… 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()
235 sljit_s32 dst; in sljit_generate_code()
377 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_has_cpu_feature(sljit_s32 feature_type) in sljit_has_cpu_feature()
431 static sljit_ins logical_imm(sljit_sw imm, sljit_s32 len) in logical_imm()
433 sljit_s32 negated, ones, right; in logical_imm()
441 if (len == 16 && ((sljit_s32)imm == 0 || (sljit_s32)imm == -1)) in logical_imm()
446 || (len == 16 && (sljit_s32)imm != 0 && (sljit_s32)imm != -1)); in logical_imm()
497 static sljit_s32 load_immediate(struct sljit_compiler *compiler, sljit_s32 dst, sljit_sw simm) in load_immediate()
500 sljit_s32 i, zeros, ones, first; in load_immediate()
[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.c291 static sljit_s32 push_inst(struct sljit_compiler *compiler, sljit_ins ins, sljit_s32 delay_slot) in push_inst()
303 static SLJIT_INLINE sljit_ins invert_branch(sljit_s32 flags) in invert_branch()
475 sljit_s32 reg = *inst; in put_label_set()
674 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_has_cpu_feature(sljit_s32 feature_type) in sljit_has_cpu_feature()
744 static SLJIT_INLINE sljit_s32 emit_op_mem(struct sljit_compiler *compiler, sljit_s32 flags, sljit_s…
752 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_enter(struct sljit_compiler *compiler, in sljit_emit_enter()
753 sljit_s32 options, sljit_s32 arg_types, sljit_s32 scratches, sljit_s32 saveds, in sljit_emit_enter()
754 sljit_s32 fscratches, sljit_s32 fsaveds, sljit_s32 local_size) in sljit_emit_enter()
757 sljit_s32 args, i, tmp, offs; in sljit_emit_enter()
790 offs -= (sljit_s32)(sizeof(sljit_sw)); in sljit_emit_enter()
[all …]
DsljitNativePPC_common.c250 static sljit_s32 push_inst(struct sljit_compiler *compiler, sljit_ins ins) in push_inst()
259 static SLJIT_INLINE sljit_s32 detect_jump_type(struct sljit_jump *jump, sljit_ins *code_ptr, sljit_… in detect_jump_type()
352 sljit_s32 reg = *inst; in put_label_set()
619 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_has_cpu_feature(sljit_s32 feature_type) in sljit_has_cpu_feature()
699 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_enter(struct sljit_compiler *compiler, in sljit_emit_enter()
700 sljit_s32 options, sljit_s32 arg_types, sljit_s32 scratches, sljit_s32 saveds, in sljit_emit_enter()
701 sljit_s32 fscratches, sljit_s32 fsaveds, sljit_s32 local_size) in sljit_emit_enter()
703 sljit_s32 args, i, tmp, offs; in sljit_emit_enter()
710 offs = -(sljit_s32)(sizeof(sljit_sw)); in sljit_emit_enter()
715 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()
472 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_has_cpu_feature(sljit_s32 feature_type) in sljit_has_cpu_feature()
501 sljit_s32 counter; in get_imm()
547 static sljit_s32 load_immediate(struct sljit_compiler *compiler, sljit_s32 dst, sljit_uw imm) in load_immediate()
[all …]
DsljitNativeS390X.c121 static SLJIT_INLINE sljit_gpr gpr(sljit_s32 r) in gpr()
124 SLJIT_ASSERT(r < (sljit_s32)(sizeof(reg_map) / sizeof(reg_map[0]))); in gpr()
146 static sljit_s32 push_inst(struct sljit_compiler *compiler, sljit_ins ins) in push_inst()
155 static sljit_s32 encode_inst(void **ptr, sljit_ins ins) in encode_inst()
176 static SLJIT_INLINE sljit_u8 get_cc(sljit_s32 type) { in get_cc()
355 static SLJIT_INLINE sljit_uw disp_s20(sljit_s32 d) in HAVE_FACILITY()
550 SLJIT_S390X_RILA(afi, 0xc20900000000, sljit_s32)
551 SLJIT_S390X_RILA(agfi, 0xc20800000000, sljit_s32)
554 SLJIT_S390X_RILA(aih, 0xcc0800000000, sljit_s32) /* TODO(mundaym): high-word facility? */
565 SLJIT_S390X_RILA(cfi, 0xc20d00000000, sljit_s32)
[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()
419 static SLJIT_INLINE sljit_s32 emit_const(struct sljit_compiler *compiler, sljit_s32 dst, sljit_sw i… in emit_const()
444 static sljit_s32 call_with_args(struct sljit_compiler *compiler, sljit_s32 arg_types, sljit_ins *in… in call_with_args()
446 sljit_s32 stack_offset = 0; in call_with_args()
447 sljit_s32 arg_count = 0; in call_with_args()
448 sljit_s32 float_arg_count = 0; in call_with_args()
449 sljit_s32 word_arg_count = 0; in call_with_args()
[all …]
DsljitNativePPC_64.c41 static sljit_s32 load_immediate(struct sljit_compiler *compiler, sljit_s32 reg, sljit_sw imm) in load_immediate()
145 static SLJIT_INLINE sljit_s32 emit_single_op(struct sljit_compiler *compiler, sljit_s32 op, sljit_s… in emit_single_op()
146 sljit_s32 dst, sljit_s32 src1, sljit_s32 src2) in emit_single_op()
413 static sljit_s32 call_with_args(struct sljit_compiler *compiler, sljit_s32 arg_types, sljit_s32 *sr… in call_with_args()
415 sljit_s32 arg_count = 0; in call_with_args()
416 sljit_s32 word_arg_count = 0; in call_with_args()
417 sljit_s32 types = 0; in call_with_args()
418 sljit_s32 reg = 0; in call_with_args()
468 static SLJIT_INLINE sljit_s32 emit_const(struct sljit_compiler *compiler, sljit_s32 reg, sljit_sw i… in emit_const()
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()
515 static SLJIT_INLINE sljit_s32 emit_const(struct sljit_compiler *compiler, sljit_s32 dst, sljit_sw i… in emit_const()
545 static sljit_s32 call_with_args(struct sljit_compiler *compiler, sljit_s32 arg_types, sljit_ins *in… in call_with_args()
547 sljit_s32 arg_count = 0; in call_with_args()
[all …]
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()
DsljitWXExecAllocator.c70 #define devmajor_t sljit_s32
160 static void sljit_update_wx_flags(void *from, void *to, sljit_s32 enable_exec) in sljit_update_wx_flags()
204 static void sljit_update_wx_flags(void *from, void *to, sljit_s32 enable_exec) in sljit_update_wx_flags()
DsljitConfigInternal.h400 typedef signed int sljit_s32; typedef
/external/pcre/dist2/src/
Dpcre2_jit_simd_inc.h45 static struct sljit_jump *jump_if_utf_char_start(struct sljit_compiler *compiler, sljit_s32 reg) in jump_if_utf_char_start()
59 static sljit_s32 character_to_int32(PCRE2_UCHAR chr) in character_to_int32()
64 return (sljit_s32)((value << 24) | (value << 16) | (value << 8) | value); in character_to_int32()
67 return (sljit_s32)((value << 16) | value); in character_to_int32()
70 return (sljit_s32)(value); in character_to_int32()
76 static void load_from_mem_sse2(struct sljit_compiler *compiler, sljit_s32 dst_xmm_reg, sljit_s32 sr… in load_from_mem_sse2()
107 int step, sljit_s32 dst_ind, sljit_s32 cmp1_ind, sljit_s32 cmp2_ind, sljit_s32 tmp_ind) in fast_forward_char_pair_sse2_compare()
185 …_forward_char_simd(compiler_common *common, PCRE2_UCHAR char1, PCRE2_UCHAR char2, sljit_s32 offset) in fast_forward_char_simd()
196 sljit_s32 tmp1_reg_ind = sljit_get_register_index(TMP1); in fast_forward_char_simd()
197 sljit_s32 str_ptr_reg_ind = sljit_get_register_index(STR_PTR); in fast_forward_char_simd()
[all …]
Dpcre2_jit_compile.c379 sljit_s32 *private_data_ptrs;
389 sljit_s32 cbra_ptr;
391 sljit_s32 ovector_start;
393 sljit_s32 start_ptr;
395 sljit_s32 req_char_ptr;
397 sljit_s32 recursive_head_ptr;
400 sljit_s32 start_used_ptr;
402 sljit_s32 hit_start;
404 sljit_s32 match_end_ptr;
406 sljit_s32 mark_ptr;
[all …]
Dpcre2_jit_neon_inc.h188 sljit_s32 align_offset = ((uint64_t)str_ptr & 0xf); in FF_FUN()