Home
last modified time | relevance | path

Searched refs:SLJIT_ASSERT (Results 1 – 19 of 19) sorted by relevance

/external/pcre/dist/sljit/
DsljitNativePPC_32.c52 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op()
59 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op()
68 SLJIT_ASSERT(dst == src2); in emit_single_op()
74 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op()
81 SLJIT_ASSERT(dst == src2); in emit_single_op()
86 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op()
90 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op()
94 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op()
100 SLJIT_ASSERT(src2 == TMP_REG2); in emit_single_op()
105 SLJIT_ASSERT(src2 == TMP_REG2); in emit_single_op()
[all …]
DsljitLir.c485 SLJIT_ASSERT(size <= 256); in ensure_buf()
504 SLJIT_ASSERT(size <= 256); in ensure_abuf()
588 SLJIT_ASSERT(!GET_FLAGS(op) || !(op & SLJIT_KEEP_FLAGS)); \
598 SLJIT_ASSERT(!(op & (SLJIT_SET_U | SLJIT_SET_S | SLJIT_SET_O | SLJIT_SET_C))); \
601 SLJIT_ASSERT(!(op & (SLJIT_SET_U | SLJIT_SET_S | SLJIT_SET_C))); \
604 SLJIT_ASSERT(!(op & (SLJIT_SET_E | SLJIT_SET_U | SLJIT_SET_S | SLJIT_SET_C))); \
607 SLJIT_ASSERT(!(op & (SLJIT_SET_U | SLJIT_SET_S))); \
613 SLJIT_ASSERT(!(op & (SLJIT_SET_E | SLJIT_SET_U | SLJIT_SET_S | SLJIT_SET_O))); \
626SLJIT_ASSERT(!(op & (SLJIT_INT_OP | SLJIT_SET_E | SLJIT_SET_U | SLJIT_SET_S | SLJIT_SET_O | SLJIT_…
630SLJIT_ASSERT(!(op & (SLJIT_SET_E | SLJIT_SET_U | SLJIT_SET_S | SLJIT_SET_O | SLJIT_SET_C | SLJIT_K…
[all …]
DsljitNativePPC_64.c65 SLJIT_ASSERT(shift > 0); in load_immediate()
154 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op()
161 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op()
168 SLJIT_ASSERT(dst == src2); in emit_single_op()
174 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op()
183 SLJIT_ASSERT(dst == src2); in emit_single_op()
189 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op()
196 SLJIT_ASSERT(dst == src2); in emit_single_op()
201 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op()
206 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op()
[all …]
DsljitNativeARM_32.c141 SLJIT_ASSERT(compiler->cpool_fill > 0 && compiler->cpool_fill <= CPOOL_SIZE); in push_cpool()
218 SLJIT_ASSERT((inst & 0xfff) == 0); in push_inst_with_literal()
237 SLJIT_ASSERT(compiler->cpool_fill < CPOOL_SIZE && (inst & 0xfff) == 0); in push_inst_with_unique_literal()
262SLJIT_ASSERT(compiler->cpool_diff == CONST_POOL_EMPTY || compiler->size - compiler->cpool_diff < M… in emit_blx()
274 SLJIT_ASSERT(const_pool - code_ptr <= CONST_POOL_ALIGNMENT); in patch_pc_relative_loads()
288 SLJIT_ASSERT(ind < cpool_size && !(*last_pc_patch & (1 << 25)) && (*last_pc_patch & (1 << 20))); in patch_pc_relative_loads()
297 SLJIT_ASSERT(diff >= 1); in patch_pc_relative_loads()
300 SLJIT_ASSERT(diff <= 0xfff); in patch_pc_relative_loads()
404 SLJIT_ASSERT(jump->flags & JUMP_LABEL); in detect_jump_type()
429 SLJIT_ASSERT(jump->flags & JUMP_LABEL); in detect_jump_type()
[all …]
DsljitConfigInternal.h533 #if !defined(SLJIT_ASSERT) || !defined(SLJIT_ASSERT_STOP)
548 #ifndef SLJIT_ASSERT
550 #define SLJIT_ASSERT(x) \ macro
573 #undef SLJIT_ASSERT
576 #define SLJIT_ASSERT(x) \ macro
587 SLJIT_ASSERT(x)
DsljitNativeX86_32.c169 SLJIT_ASSERT(local_size > 0); in sljit_emit_enter()
206 SLJIT_ASSERT(compiler->args >= 0); in sljit_emit_return()
211 SLJIT_ASSERT(compiler->local_size > 0); in sljit_emit_return()
265 SLJIT_ASSERT((flags & (EX86_BIN_INS | EX86_SHIFT_INS)) != (EX86_BIN_INS | EX86_SHIFT_INS)); in emit_x86_instruction()
267SLJIT_ASSERT(!(flags & (EX86_BIN_INS | EX86_SHIFT_INS)) || (flags & (EX86_BYTE_ARG | EX86_HALF_ARG… in emit_x86_instruction()
269 SLJIT_ASSERT((flags & (EX86_BYTE_ARG | EX86_HALF_ARG)) != (EX86_BYTE_ARG | EX86_HALF_ARG)); in emit_x86_instruction()
271 SLJIT_ASSERT(!(a & SLJIT_IMM) || !(flags & EX86_SSE2)); in emit_x86_instruction()
272 SLJIT_ASSERT((flags & (EX86_PREF_F2 | EX86_PREF_F3)) != (EX86_PREF_F2 | EX86_PREF_F3) in emit_x86_instruction()
327 SLJIT_ASSERT(!(flags & EX86_SHIFT_INS) || a == SLJIT_PREF_SHIFT_REG); in emit_x86_instruction()
DsljitNativePPC_common.c265 SLJIT_ASSERT(jump->flags & JUMP_LABEL); in detect_jump_type()
356 SLJIT_ASSERT(!label || label->size >= word_count); in sljit_generate_code()
357 SLJIT_ASSERT(!jump || jump->addr >= word_count); in sljit_generate_code()
358 SLJIT_ASSERT(!const_ || const_->addr >= word_count); in sljit_generate_code()
387 SLJIT_ASSERT((code_ptr[-3] & 0xfc00ffff) == 0x780007c6); in sljit_generate_code()
424 SLJIT_ASSERT(!label); in sljit_generate_code()
425 SLJIT_ASSERT(!jump); in sljit_generate_code()
426 SLJIT_ASSERT(!const_); in sljit_generate_code()
428SLJIT_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()
[all …]
DsljitNativeARM_T2_32.c187 SLJIT_ASSERT(!(inst & 0xffff0000)); in push_inst16()
217SLJIT_ASSERT(((inst[0] & 0xfbf0) == (MOVW >> 16)) && ((inst[2] & 0xfbf0) == (MOVT >> 16)) && dst =… in modify_imm32_const()
238 SLJIT_ASSERT(jump->flags & JUMP_LABEL); in detect_jump_type()
243 SLJIT_ASSERT(!(jump->flags & IS_BL)); in detect_jump_type()
292 SLJIT_ASSERT(jump->u.target & 0x1); in set_jump_instruction()
302 SLJIT_ASSERT(diff <= 127 && diff >= -128 && (jump->flags & IS_COND)); in set_jump_instruction()
307 SLJIT_ASSERT(diff <= 524287 && diff >= -524288 && (jump->flags & IS_COND)); in set_jump_instruction()
312 SLJIT_ASSERT(jump->flags & IS_COND); in set_jump_instruction()
319 SLJIT_ASSERT(diff <= 1023 && diff >= -1024 && !(jump->flags & IS_COND)); in set_jump_instruction()
324 SLJIT_ASSERT(diff <= 8388607 && diff >= -8388608); in set_jump_instruction()
[all …]
DsljitNativeX86_64.c189 SLJIT_ASSERT(!(saved_register_size & 0x7)); in sljit_emit_enter()
211 SLJIT_ASSERT(local_size > 0); in sljit_emit_enter()
291 SLJIT_ASSERT(compiler->local_size > 0); in sljit_emit_return()
372 SLJIT_ASSERT(!(a & SLJIT_IMM) || compiler->mode32 || IS_HALFWORD(imma)); in emit_x86_instruction()
374 SLJIT_ASSERT((flags & (EX86_BIN_INS | EX86_SHIFT_INS)) != (EX86_BIN_INS | EX86_SHIFT_INS)); in emit_x86_instruction()
376SLJIT_ASSERT(!(flags & (EX86_BIN_INS | EX86_SHIFT_INS)) || (flags & (EX86_BYTE_ARG | EX86_HALF_ARG… in emit_x86_instruction()
378 SLJIT_ASSERT((flags & (EX86_BYTE_ARG | EX86_HALF_ARG)) != (EX86_BYTE_ARG | EX86_HALF_ARG)); in emit_x86_instruction()
380 SLJIT_ASSERT(!(a & SLJIT_IMM) || !(flags & EX86_SSE2)); in emit_x86_instruction()
381 SLJIT_ASSERT((flags & (EX86_PREF_F2 | EX86_PREF_F3)) != (EX86_PREF_F2 | EX86_PREF_F3) in emit_x86_instruction()
463 SLJIT_ASSERT(!(flags & EX86_SHIFT_INS) || a == SLJIT_PREF_SHIFT_REG); in emit_x86_instruction()
[all …]
DsljitNativeARM_64.c148 SLJIT_ASSERT((inst[0] & 0xffe00000) == MOVZ && (inst[1] & 0xffe00000) == (MOVK | (1 << 21))); in modify_imm64_const()
168 SLJIT_ASSERT(jump->flags & JUMP_LABEL); in detect_jump_type()
242 SLJIT_ASSERT(!label || label->size >= word_count); in sljit_generate_code()
243 SLJIT_ASSERT(!jump || jump->addr >= word_count); in sljit_generate_code()
244 SLJIT_ASSERT(!const_ || const_->addr >= word_count); in sljit_generate_code()
272 SLJIT_ASSERT(!label); in sljit_generate_code()
273 SLJIT_ASSERT(!jump); in sljit_generate_code()
274 SLJIT_ASSERT(!const_); in sljit_generate_code()
275 SLJIT_ASSERT(code_ptr - code <= (sljit_sw)compiler->size); in sljit_generate_code()
284 SLJIT_ASSERT((sljit_sw)addr <= 0x1ffffff && (sljit_sw)addr >= -0x2000000); in sljit_generate_code()
[all …]
DsljitNativeSPARC_32.c48 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op()
55 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op()
68 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op()
78 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op()
82 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op()
DsljitNativeMIPS_64.c74SLJIT_ASSERT(((uimm & 0xc000000000000000l) == 0x4000000000000000l) && (shift > 0) && (shift <= 32)… in load_immediate()
111 SLJIT_ASSERT((uimm & 0x8000000000000000l) && (shift2 > 0) && (shift2 <= 16)); in load_immediate()
141 SLJIT_ASSERT(!(op & SLJIT_INT_OP)); \
168 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op()
175 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op()
189 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op()
202 SLJIT_ASSERT(!(op & SLJIT_INT_OP)); in emit_single_op()
207 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op()
211 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op()
219 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op()
[all …]
DsljitNativeSPARC_common.c187 SLJIT_ASSERT((delay_slot & DST_INS_MASK) == UNMOVABLE_INS in push_inst()
211 SLJIT_ASSERT(jump->flags & JUMP_LABEL); in detect_jump_type()
303 SLJIT_ASSERT(!label || label->size >= word_count); in sljit_generate_code()
304 SLJIT_ASSERT(!jump || jump->addr >= word_count); in sljit_generate_code()
305 SLJIT_ASSERT(!const_ || const_->addr >= word_count); in sljit_generate_code()
340 SLJIT_ASSERT(!label); in sljit_generate_code()
341 SLJIT_ASSERT(!jump); in sljit_generate_code()
342 SLJIT_ASSERT(!const_); in sljit_generate_code()
343 SLJIT_ASSERT(code_ptr - code <= (sljit_si)compiler->size); in sljit_generate_code()
353 SLJIT_ASSERT((sljit_sw)addr <= 0x1fffffff && (sljit_sw)addr >= -0x20000000); in sljit_generate_code()
[all …]
DsljitNativeTILEGX_64.c916 SLJIT_ASSERT(jump->flags & JUMP_LABEL); in detect_jump_type()
1029 SLJIT_ASSERT(!label || label->size >= word_count); in sljit_generate_code()
1030 SLJIT_ASSERT(!jump || jump->addr >= word_count); in sljit_generate_code()
1031 SLJIT_ASSERT(!const_ || const_->addr >= word_count); in sljit_generate_code()
1069 SLJIT_ASSERT(!label); in sljit_generate_code()
1070 SLJIT_ASSERT(!jump); in sljit_generate_code()
1071 SLJIT_ASSERT(!const_); in sljit_generate_code()
1072 SLJIT_ASSERT(code_ptr - code <= (sljit_sw)compiler->size); in sljit_generate_code()
1082 SLJIT_ASSERT((sljit_sw) addr <= SIMM_17BIT_MAX && (sljit_sw) addr >= SIMM_17BIT_MIN); in sljit_generate_code()
1093 SLJIT_ASSERT((addr & ~0x3FFFFFFFL) == ((jump->addr + sizeof(sljit_ins)) & ~0x3FFFFFFFL)); in sljit_generate_code()
[all …]
DsljitNativeMIPS_common.c206 SLJIT_ASSERT(delay_slot == MOVABLE_INS || delay_slot >= UNMOVABLE_INS in push_inst()
239 SLJIT_ASSERT(jump->flags & JUMP_LABEL); in detect_jump_type()
391 SLJIT_ASSERT(!label || label->size >= word_count); in sljit_generate_code()
392 SLJIT_ASSERT(!jump || jump->addr >= word_count); in sljit_generate_code()
393 SLJIT_ASSERT(!const_ || const_->addr >= word_count); in sljit_generate_code()
428 SLJIT_ASSERT(!label); in sljit_generate_code()
429 SLJIT_ASSERT(!jump); in sljit_generate_code()
430 SLJIT_ASSERT(!const_); in sljit_generate_code()
431 SLJIT_ASSERT(code_ptr - code <= (sljit_sw)compiler->size); in sljit_generate_code()
441 SLJIT_ASSERT((sljit_sw)addr <= SIMM_MAX && (sljit_sw)addr >= SIMM_MIN); in sljit_generate_code()
[all …]
DsljitNativeMIPS_32.c77 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op()
84 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op()
102 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op()
119 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op()
127 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op()
300 SLJIT_ASSERT(!(flags & SRC2_IMM)); in emit_single_op()
DsljitExecAllocator.c170 SLJIT_ASSERT(free_blocks == free_block); in sljit_remove_free_block()
310 SLJIT_ASSERT((total_size && free_blocks) || (!total_size && !free_blocks)); in sljit_free_unused_memory_exec()
DsljitNativeX86_common.c515 SLJIT_ASSERT(buf_ptr == buf_end); in sljit_generate_code()
519 SLJIT_ASSERT(!label); in sljit_generate_code()
520 SLJIT_ASSERT(!jump); in sljit_generate_code()
521 SLJIT_ASSERT(!const_); in sljit_generate_code()
526SLJIT_ASSERT((sljit_sw)(jump->u.label->addr - (jump->addr + sizeof(sljit_sb))) >= -128 && (sljit_s… in sljit_generate_code()
533SLJIT_ASSERT((sljit_sw)(jump->u.label->addr - (jump->addr + sizeof(sljit_si))) >= HALFWORD_MIN && … in sljit_generate_code()
541SLJIT_ASSERT((sljit_sw)(jump->u.target - (jump->addr + sizeof(sljit_si))) >= HALFWORD_MIN && (slji… in sljit_generate_code()
555 SLJIT_ASSERT(code_ptr <= code + compiler->size); in sljit_generate_code()
901 SLJIT_ASSERT(dst_r == TMP_REG1); in emit_mov_byte()
912 SLJIT_ASSERT(SLOW_IS_REG(dst)); in emit_mov_byte()
[all …]
/external/pcre/dist/
Dpcre_jit_compile.c550 SLJIT_ASSERT((*cc >= OP_ASSERT && *cc <= OP_ASSERTBACK_NOT) || (*cc >= OP_ONCE && *cc <= OP_SCOND)); in bracketend()
552 SLJIT_ASSERT(*cc >= OP_KET && *cc <= OP_KETRPOS); in bracketend()
560 SLJIT_ASSERT((*cc >= OP_ASSERT && *cc <= OP_ASSERTBACK_NOT) || (*cc >= OP_ONCE && *cc <= OP_SCOND)); in no_alternatives()
567 SLJIT_ASSERT(*cc >= OP_KET && *cc <= OP_KETRPOS); in no_alternatives()
1200 SLJIT_ASSERT(cc != NULL); in set_private_data_ptrs()
1251 SLJIT_ASSERT(common->control_head_ptr != 0); in get_framesize()
1269 SLJIT_ASSERT(cc != NULL); in get_framesize()
1274 SLJIT_ASSERT(common->has_set_som); in get_framesize()
1287 SLJIT_ASSERT(common->mark_ptr != 0); in get_framesize()
1402 SLJIT_ASSERT(cc != NULL); in get_framesize()
[all …]