Lines Matching refs:SLJIT_ASSERT
151 SLJIT_ASSERT(compiler->cpool_fill > 0 && compiler->cpool_fill <= CPOOL_SIZE); in push_cpool()
228 SLJIT_ASSERT((inst & 0xfff) == 0); in push_inst_with_literal()
247 SLJIT_ASSERT(compiler->cpool_fill < CPOOL_SIZE && (inst & 0xfff) == 0); in push_inst_with_unique_literal()
272 …SLJIT_ASSERT(compiler->cpool_diff == CONST_POOL_EMPTY || compiler->size - compiler->cpool_diff < M… in emit_blx()
273 SLJIT_ASSERT(reg_map[TMP_REG1] != 14); in emit_blx()
286 SLJIT_ASSERT(const_pool - code_ptr <= CONST_POOL_ALIGNMENT); in patch_pc_relative_loads()
300 SLJIT_ASSERT(ind < cpool_size && !(*last_pc_patch & (1 << 25)) && (*last_pc_patch & (1 << 20))); in patch_pc_relative_loads()
309 SLJIT_ASSERT(diff >= 1); in patch_pc_relative_loads()
312 SLJIT_ASSERT(diff <= 0xfff); in patch_pc_relative_loads()
418 SLJIT_ASSERT(jump->flags & JUMP_LABEL); in detect_jump_type()
443 SLJIT_ASSERT(jump->flags & JUMP_LABEL); in detect_jump_type()
539 SLJIT_ASSERT((inst[0] & 0xfff00000) == MOVW && (inst[1] & 0xfff00000) == MOVT); in inline_set_jump_addr()
633 SLJIT_ASSERT((inst[0] & 0xfff00000) == MOVW && (inst[1] & 0xfff00000) == MOVT); in inline_set_const()
735 SLJIT_ASSERT(!first_patch); in sljit_generate_code()
752 SLJIT_ASSERT(!label || label->size >= word_count); in sljit_generate_code()
753 SLJIT_ASSERT(!jump || jump->addr >= word_count); in sljit_generate_code()
754 SLJIT_ASSERT(!const_ || const_->addr >= word_count); in sljit_generate_code()
755 SLJIT_ASSERT(!put_label || put_label->addr >= word_count); in sljit_generate_code()
785 SLJIT_ASSERT(put_label->label); in sljit_generate_code()
797 SLJIT_ASSERT(cpool_size > 0); in sljit_generate_code()
814 SLJIT_ASSERT(!label); in sljit_generate_code()
815 SLJIT_ASSERT(!jump); in sljit_generate_code()
816 SLJIT_ASSERT(!const_); in sljit_generate_code()
817 SLJIT_ASSERT(!put_label); in sljit_generate_code()
820 SLJIT_ASSERT(cpool_size == 0); in sljit_generate_code()
839 SLJIT_ASSERT(!first_patch); in sljit_generate_code()
850 SLJIT_ASSERT(jump->flags & JUMP_LABEL); in sljit_generate_code()
851 …SLJIT_ASSERT(((sljit_sw)jump->u.label->addr - addr) <= 0x01ffffff && ((sljit_sw)jump->u.label->add… in sljit_generate_code()
855 …SLJIT_ASSERT(((sljit_sw)jump->u.target - addr) <= 0x01ffffff && ((sljit_sw)jump->u.target - addr) … in sljit_generate_code()
912 SLJIT_ASSERT((buf_ptr[0] & 0xffff0000) == 0xe59f0000); in sljit_generate_code()
915 SLJIT_ASSERT((buf_ptr[-1] & 0xfff00000) == MOVW && (buf_ptr[0] & 0xfff00000) == MOVT); in sljit_generate_code()
922 SLJIT_ASSERT(code_ptr - code <= (sljit_s32)size); in sljit_generate_code()
1123 SLJIT_ASSERT(!(flags & INV_IMM) && !(src2 & SRC2_IMM)); \
1125 SLJIT_ASSERT(src1 == TMP_REG1); \
1126 SLJIT_ASSERT(!(flags & ARGS_SWAPPED)); \
1141 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & ARGS_SWAPPED)); in emit_single_op()
1152 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & ARGS_SWAPPED)); in emit_single_op()
1164 SLJIT_ASSERT(src2 & SRC2_IMM); in emit_single_op()
1171 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & ARGS_SWAPPED)); in emit_single_op()
1181 SLJIT_ASSERT(src2 & SRC2_IMM); in emit_single_op()
1193 SLJIT_ASSERT(!(flags & INV_IMM)); in emit_single_op()
1194 SLJIT_ASSERT(!(src2 & SRC2_IMM)); in emit_single_op()
1199 SLJIT_ASSERT(!(flags & INV_IMM)); in emit_single_op()
1207 SLJIT_ASSERT(!(flags & INV_IMM)); in emit_single_op()
1211 SLJIT_ASSERT(!(flags & INV_IMM)); in emit_single_op()
1220 SLJIT_ASSERT(!(flags & INV_IMM)); in emit_single_op()
1225 SLJIT_ASSERT(!(flags & INV_IMM)); in emit_single_op()
1226 SLJIT_ASSERT(!(src2 & SRC2_IMM)); in emit_single_op()
1242 SLJIT_ASSERT(!(flags & INV_IMM)); in emit_single_op()
1246 SLJIT_ASSERT(!(flags & INV_IMM)); in emit_single_op()
1348 SLJIT_ASSERT(!(imm & 0xff)); in generate_int()
1455 SLJIT_ASSERT (arg & SLJIT_MEM); in emit_op_mem()
1456 SLJIT_ASSERT((arg & REG_MASK) != tmp_reg); in emit_op_mem()
1564 SLJIT_ASSERT(!(inp_flags & ALLOW_INV_IMM) || (inp_flags & ALLOW_IMM)); in emit_op()
1720 SLJIT_ASSERT(reg_map[2] == 1 && reg_map[3] == 2 && reg_map[4] == 3); in sljit_emit_op0()
1734 SLJIT_ASSERT(saved_reg_list[1] < 8); in sljit_emit_op0()
1738 SLJIT_ASSERT(saved_reg_list[2] < 8); in sljit_emit_op0()
1752 SLJIT_ASSERT(saved_reg_list[2] < 8); in sljit_emit_op0()
1756 SLJIT_ASSERT(saved_reg_list[1] < 8); in sljit_emit_op0()
1870 SLJIT_ASSERT(reg_map[TMP_REG2] == 14); in sljit_emit_op_src()
1885 SLJIT_ASSERT(src & SLJIT_MEM); in sljit_emit_op_src()
1932 SLJIT_ASSERT(arg & SLJIT_MEM); in emit_fop_mem()
2148 SLJIT_ASSERT(reg_map[TMP_REG2] == 14); in sljit_emit_fast_enter()
2215 SLJIT_ASSERT(type >= SLJIT_JUMP && type <= SLJIT_CALL_CDECL); in get_cc()
2248 SLJIT_ASSERT(reg_map[TMP_REG1] != 14); in sljit_emit_jump()
2349 SLJIT_ASSERT((stack_offset & 0x7) == 0); in softfloat_call_with_args()
2365 SLJIT_ASSERT(stack_offset >= word_arg_offset); in softfloat_call_with_args()
2521 SLJIT_ASSERT(reg_map[TMP_REG1] != 14); in sljit_emit_ijump()
2525 SLJIT_ASSERT(reg_map[src] != 14); in sljit_emit_ijump()
2529 SLJIT_ASSERT(src & SLJIT_MEM); in sljit_emit_ijump()
2711 SLJIT_ASSERT(is_type1_transfer == !!IS_TYPE1_TRANSFER(flags)); in sljit_emit_mem()