Lines Matching refs:SLJIT_ASSERT
164 SLJIT_ASSERT(compiler->cpool_fill > 0 && compiler->cpool_fill <= CPOOL_SIZE); in push_cpool()
241 SLJIT_ASSERT((inst & 0xfff) == 0); in push_inst_with_literal()
260 SLJIT_ASSERT(compiler->cpool_fill < CPOOL_SIZE && (inst & 0xfff) == 0); in push_inst_with_unique_literal()
285 …SLJIT_ASSERT(compiler->cpool_diff == CONST_POOL_EMPTY || compiler->size - compiler->cpool_diff < M… in emit_blx()
286 SLJIT_ASSERT(reg_map[TMP_REG1] != 14); in emit_blx()
299 SLJIT_ASSERT(const_pool - code_ptr <= CONST_POOL_ALIGNMENT); in patch_pc_relative_loads()
313 SLJIT_ASSERT(ind < cpool_size && !(*last_pc_patch & (1 << 25)) && (*last_pc_patch & (1 << 20))); in patch_pc_relative_loads()
322 SLJIT_ASSERT(diff >= 1); in patch_pc_relative_loads()
325 SLJIT_ASSERT(diff <= 0xfff); in patch_pc_relative_loads()
431 SLJIT_ASSERT(jump->flags & JUMP_LABEL); in detect_jump_type()
456 SLJIT_ASSERT(jump->flags & JUMP_LABEL); in detect_jump_type()
552 SLJIT_ASSERT((inst[0] & 0xfff00000) == MOVW && (inst[1] & 0xfff00000) == MOVT); in inline_set_jump_addr()
648 SLJIT_ASSERT((inst[0] & 0xfff00000) == MOVW && (inst[1] & 0xfff00000) == MOVT); in inline_set_const()
750 SLJIT_ASSERT(!first_patch); in sljit_generate_code()
767 SLJIT_ASSERT(!label || label->size >= word_count); in sljit_generate_code()
768 SLJIT_ASSERT(!jump || jump->addr >= word_count); in sljit_generate_code()
769 SLJIT_ASSERT(!const_ || const_->addr >= word_count); in sljit_generate_code()
770 SLJIT_ASSERT(!put_label || put_label->addr >= word_count); in sljit_generate_code()
800 SLJIT_ASSERT(put_label->label); in sljit_generate_code()
812 SLJIT_ASSERT(cpool_size > 0); in sljit_generate_code()
829 SLJIT_ASSERT(!label); in sljit_generate_code()
830 SLJIT_ASSERT(!jump); in sljit_generate_code()
831 SLJIT_ASSERT(!const_); in sljit_generate_code()
832 SLJIT_ASSERT(!put_label); in sljit_generate_code()
835 SLJIT_ASSERT(cpool_size == 0); in sljit_generate_code()
854 SLJIT_ASSERT(!first_patch); in sljit_generate_code()
865 SLJIT_ASSERT(jump->flags & JUMP_LABEL); in sljit_generate_code()
866 …SLJIT_ASSERT((sljit_sw)(jump->u.label->addr - addr) <= 0x01ffffff && (sljit_sw)(jump->u.label->add… in sljit_generate_code()
870 …SLJIT_ASSERT((sljit_sw)(jump->u.target - addr) <= 0x01ffffff && (sljit_sw)(jump->u.target - addr) … in sljit_generate_code()
927 SLJIT_ASSERT((buf_ptr[0] & 0xffff0000) == 0xe59f0000); in sljit_generate_code()
930 SLJIT_ASSERT((buf_ptr[-1] & 0xfff00000) == MOVW && (buf_ptr[0] & 0xfff00000) == MOVT); in sljit_generate_code()
937 SLJIT_ASSERT(code_ptr - code <= (sljit_s32)size); in sljit_generate_code()
1087 SLJIT_ASSERT(reg_map[TMP_REG2] == 14); in sljit_emit_enter()
1213 SLJIT_ASSERT((sljit_uw)(remap_ptr - remap) <= sizeof(remap)); in sljit_emit_enter()
1266 SLJIT_ASSERT(reg_map[TMP_REG2] == 14 && frame_size <= 128); in emit_stack_frame_release()
1292 SLJIT_ASSERT(frame_size == 1 || (frame_size & 0x7) == 0); in emit_stack_frame_release()
1329 SLJIT_ASSERT(restored_reg != TMP_REG2); in emit_stack_frame_release()
1378 SLJIT_ASSERT(lr_dst != 0); in emit_stack_frame_release()
1379 SLJIT_ASSERT(reg_list == (sljit_uw)1 << reg_map[lr_dst]); in emit_stack_frame_release()
1437 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & ARGS_SWAPPED)); in emit_single_op()
1448 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & ARGS_SWAPPED)); in emit_single_op()
1460 SLJIT_ASSERT(src2 & SRC2_IMM); in emit_single_op()
1467 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & ARGS_SWAPPED)); in emit_single_op()
1477 SLJIT_ASSERT(src2 & SRC2_IMM); in emit_single_op()
1489 SLJIT_ASSERT(!(flags & INV_IMM) && !(src2 & SRC2_IMM)); in emit_single_op()
1494 SLJIT_ASSERT(!(flags & INV_IMM) && !(src2 & SRC2_IMM)); in emit_single_op()
1495 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & ARGS_SWAPPED)); in emit_single_op()
1508 SLJIT_ASSERT(!(flags & INV_IMM)); in emit_single_op()
1515 SLJIT_ASSERT(!(flags & INV_IMM)); in emit_single_op()
1519 SLJIT_ASSERT(!(flags & INV_IMM)); in emit_single_op()
1528 SLJIT_ASSERT(!(flags & INV_IMM)); in emit_single_op()
1533 SLJIT_ASSERT(!(flags & INV_IMM)); in emit_single_op()
1534 SLJIT_ASSERT(!(src2 & SRC2_IMM)); in emit_single_op()
1552 SLJIT_ASSERT(!(flags & INV_IMM)); in emit_single_op()
1556 SLJIT_ASSERT(!(flags & INV_IMM)); in emit_single_op()
1595 SLJIT_ASSERT(!(flags & ARGS_SWAPPED) && !(flags & INV_IMM) && !(src2 & SRC2_IMM)); in emit_single_op()
1598 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op()
1606 SLJIT_ASSERT(src1 != TMP_REG2); in emit_single_op()
1702 SLJIT_ASSERT(!(imm & 0xff)); in generate_int()
1810 SLJIT_ASSERT(arg & SLJIT_MEM); in emit_op_mem()
1811 …SLJIT_ASSERT((arg & REG_MASK) != tmp_reg || (arg == SLJIT_MEM1(tmp_reg) && argw >= -mask && argw <… in emit_op_mem()
1858 SLJIT_ASSERT(argw >= -mask && argw <= mask); in emit_op_mem()
1870 SLJIT_ASSERT(argw >= -mask && argw <= mask); in emit_op_mem()
1913 SLJIT_ASSERT(!(inp_flags & ALLOW_INV_IMM) || (inp_flags & ALLOW_IMM)); in emit_op()
2078 SLJIT_ASSERT(reg_map[2] == 1 && reg_map[3] == 2 && reg_map[4] == 3); in sljit_emit_op0()
2092 SLJIT_ASSERT(saved_reg_list[1] < 8); in sljit_emit_op0()
2096 SLJIT_ASSERT(saved_reg_list[2] < 8); in sljit_emit_op0()
2110 SLJIT_ASSERT(saved_reg_list[2] < 8); in sljit_emit_op0()
2114 SLJIT_ASSERT(saved_reg_list[1] < 8); in sljit_emit_op0()
2294 SLJIT_ASSERT(reg_map[TMP_REG2] == 14); in sljit_emit_op_src()
2309 SLJIT_ASSERT(src & SLJIT_MEM); in sljit_emit_op_src()
2354 SLJIT_ASSERT(arg & SLJIT_MEM); in emit_fop_mem()
2569 SLJIT_ASSERT(reg_map[TMP_REG2] == 14); in sljit_emit_fast_enter()
2664 SLJIT_ASSERT(type >= SLJIT_JUMP && type <= SLJIT_CALL_REG_ARG); in get_cc()
2697 SLJIT_ASSERT(reg_map[TMP_REG1] != 14); in sljit_emit_jump()
2797 SLJIT_ASSERT((offset & 0x7) == 0); in softfloat_call_with_args()
2827 SLJIT_ASSERT(offset >= word_arg_offset); in softfloat_call_with_args()
2922 SLJIT_ASSERT((extra_space & 0x7) == 0); in sljit_emit_call()
2944 SLJIT_ASSERT(!(type & SLJIT_CALL_RETURN)); in sljit_emit_call()
2972 SLJIT_ASSERT(reg_map[TMP_REG1] != 14); in sljit_emit_ijump()
2976 SLJIT_ASSERT(reg_map[src] != 14); in sljit_emit_ijump()
2980 SLJIT_ASSERT(src & SLJIT_MEM); in sljit_emit_ijump()
3029 SLJIT_ASSERT((extra_space & 0x7) == 0); in sljit_emit_icall()
3048 SLJIT_ASSERT(!(type & SLJIT_CALL_RETURN)); in sljit_emit_icall()
3182 SLJIT_ASSERT(max_offset >= 0xf00); in update_mem_addr()
3207 SLJIT_ASSERT(*memw >= -mask && *memw <= max_offset); in update_mem_addr()
3218 SLJIT_ASSERT(*memw >= -mask && *memw <= max_offset); in update_mem_addr()
3300 SLJIT_ASSERT(reg != TMP_REG1); in sljit_emit_mem_unaligned()
3323 SLJIT_ASSERT(steps > 0); in sljit_emit_mem_unaligned()
3355 SLJIT_ASSERT(reg != TMP_REG1); in sljit_emit_mem_unaligned()
3484 SLJIT_ASSERT(is_type1_transfer == !!IS_TYPE1_TRANSFER(flags)); in sljit_emit_mem_update()