Lines Matching refs:flags

396 	if (jump->flags & SLJIT_REWRITABLE_JUMP)  in detect_jump_type()
400 if (jump->flags & IS_BL) in detect_jump_type()
403 if (jump->flags & JUMP_ADDR) in detect_jump_type()
406 SLJIT_ASSERT(jump->flags & JUMP_LABEL); in detect_jump_type()
414 if (jump->flags & IS_BL) { in detect_jump_type()
417 jump->flags |= PATCH_B; in detect_jump_type()
424 jump->flags |= PATCH_B; in detect_jump_type()
428 if (jump->flags & JUMP_ADDR) in detect_jump_type()
431 SLJIT_ASSERT(jump->flags & JUMP_LABEL); in detect_jump_type()
441 …*code_ptr = ((jump->flags & IS_BL) ? (BL - CONDITIONAL) : (B - CONDITIONAL)) | (code_ptr[2] & COND… in detect_jump_type()
442 jump->flags |= PATCH_B; in detect_jump_type()
734 if (jump->flags & PATCH_B) { in sljit_generate_code()
735 if (!(jump->flags & JUMP_ADDR)) { in sljit_generate_code()
736 SLJIT_ASSERT(jump->flags & JUMP_LABEL); in sljit_generate_code()
745 else if (jump->flags & SLJIT_REWRITABLE_JUMP) { in sljit_generate_code()
750 …inline_set_jump_addr((sljit_uw)code_ptr, (jump->flags & JUMP_LABEL) ? jump->u.label->addr : jump->… in sljit_generate_code()
753 …inline_set_jump_addr((sljit_uw)buf_ptr, (jump->flags & JUMP_LABEL) ? jump->u.label->addr : jump->u… in sljit_generate_code()
758 if (jump->flags & IS_BL) in sljit_generate_code()
764 *buf_ptr = (jump->flags & JUMP_LABEL) ? jump->u.label->addr : jump->u.target; in sljit_generate_code()
766 …inline_set_jump_addr((sljit_uw)buf_ptr, (jump->flags & JUMP_LABEL) ? jump->u.label->addr : jump->u… in sljit_generate_code()
970 …return push_inst(compiler, EMIT_DATA_PROCESS_INS(opcode, flags & SET_FLAGS, dst, src1, (src2 & SRC…
973 return push_inst(compiler, EMIT_DATA_PROCESS_INS(opcode, flags & SET_FLAGS, dst, src1, src2))
976 SLJIT_ASSERT(!(flags & INV_IMM) && !(src2 & SRC2_IMM)); \
979 SLJIT_ASSERT(!(flags & ARGS_SWAPPED)); \
981 …return push_inst(compiler, EMIT_DATA_PROCESS_INS(MOV_DP, flags & SET_FLAGS, dst, SLJIT_UNUSED, (co…
982 …return push_inst(compiler, EMIT_DATA_PROCESS_INS(MOV_DP, flags & SET_FLAGS, dst, SLJIT_UNUSED, reg…
984 …SS_INS(MOV_DP, flags & SET_FLAGS, dst, SLJIT_UNUSED, (reg_map[(flags & ARGS_SWAPPED) ? src1 : src2…
986 … SLJIT_INLINE sljit_si emit_single_op(struct sljit_compiler *compiler, sljit_si op, sljit_si flags, in emit_single_op() argument
993 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & ARGS_SWAPPED)); in emit_single_op()
996 if (flags & INV_IMM) in emit_single_op()
1006 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & ARGS_SWAPPED)); in emit_single_op()
1007 if ((flags & (REG_DEST | REG_SOURCE)) == (REG_DEST | REG_SOURCE)) { in emit_single_op()
1019 if (flags & INV_IMM) in emit_single_op()
1027 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & ARGS_SWAPPED)); in emit_single_op()
1028 if ((flags & (REG_DEST | REG_SOURCE)) == (REG_DEST | REG_SOURCE)) { in emit_single_op()
1038 if (flags & INV_IMM) in emit_single_op()
1046 if (flags & INV_IMM) in emit_single_op()
1053 SLJIT_ASSERT(!(flags & INV_IMM)); in emit_single_op()
1056 if (flags & SET_FLAGS) in emit_single_op()
1061 SLJIT_ASSERT(!(flags & INV_IMM)); in emit_single_op()
1065 SLJIT_ASSERT(!(flags & INV_IMM)); in emit_single_op()
1069 SLJIT_ASSERT(!(flags & INV_IMM)); in emit_single_op()
1070 if (!(flags & ARGS_SWAPPED)) in emit_single_op()
1075 SLJIT_ASSERT(!(flags & INV_IMM)); in emit_single_op()
1076 if (!(flags & ARGS_SWAPPED)) in emit_single_op()
1081 SLJIT_ASSERT(!(flags & INV_IMM)); in emit_single_op()
1109 if (!(flags & INV_IMM)) in emit_single_op()
1114 SLJIT_ASSERT(!(flags & INV_IMM)); in emit_single_op()
1118 SLJIT_ASSERT(!(flags & INV_IMM)); in emit_single_op()
1586 static SLJIT_INLINE sljit_si emit_op_mem(struct sljit_compiler *compiler, sljit_si flags, sljit_si … in emit_op_mem() argument
1588 if (getput_arg_fast(compiler, flags, reg, arg, argw)) in emit_op_mem()
1592 return getput_arg(compiler, flags, reg, arg, argw, 0, 0); in emit_op_mem()
1595 static SLJIT_INLINE sljit_si emit_op_mem2(struct sljit_compiler *compiler, sljit_si flags, sljit_si… in emit_op_mem2() argument
1597 if (getput_arg_fast(compiler, flags, reg, arg1, arg1w)) in emit_op_mem2()
1599 return getput_arg(compiler, flags, reg, arg1, arg1w, arg2, arg2w); in emit_op_mem2()
1617 sljit_si flags = GET_FLAGS(op) ? SET_FLAGS : 0; in emit_op() local
1630 flags |= REG_DEST; in emit_op()
1637 flags |= FAST_DEST; in emit_op()
1641 flags |= SLOW_DEST; in emit_op()
1650 flags |= ARGS_SWAPPED; in emit_op()
1661 flags |= ARGS_SWAPPED; in emit_op()
1669 flags |= ARGS_SWAPPED | INV_IMM; in emit_op()
1697 flags |= REG_SOURCE; in emit_op()
1698 if (!(flags & REG_DEST) && op >= SLJIT_MOV && op <= SLJIT_MOVU_SI) in emit_op()
1709 flags |= INV_IMM; in emit_op()
1717 flags &= ~ARGS_SWAPPED; in emit_op()
1721 if (GET_OPCODE(op) == SLJIT_SUB && !(flags & ARGS_SWAPPED)) { in emit_op()
1725 flags &= ~ARGS_SWAPPED; in emit_op()
1743 SLJIT_ASSERT(!(flags & ARGS_SWAPPED)); in emit_op()
1744 flags |= ARGS_SWAPPED; in emit_op()
1781 FAIL_IF(emit_single_op(compiler, op, flags, dst_r, src1_r, src2_r)); in emit_op()
1783 if (flags & (FAST_DEST | SLOW_DEST)) { in emit_op()
1784 if (flags & FAST_DEST) in emit_op()
2043 static sljit_si emit_fop_mem(struct sljit_compiler *compiler, sljit_si flags, sljit_si reg, sljit_s… in emit_fop_mem() argument
2047 sljit_sw inst = VSTR_F32 | (flags & (SLJIT_SINGLE_OP | FPU_LOAD)); in emit_fop_mem()
2419 if (jump->flags & SLJIT_REWRITABLE_JUMP) { in sljit_emit_jump()
2425 jump->flags |= IS_BL; in sljit_emit_jump()
2429 if (!(jump->flags & SLJIT_REWRITABLE_JUMP)) in sljit_emit_jump()
2433 jump->flags |= IS_BL; in sljit_emit_jump()
2483 sljit_si dst_r, flags = GET_ALL_FLAGS(op); in sljit_emit_op_flags() local
2508 …return (flags & SLJIT_SET_E) ? push_inst(compiler, EMIT_DATA_PROCESS_INS(MOV_DP, SET_FLAGS, TMP_RE… in sljit_emit_op_flags()
2528 …return (flags & SLJIT_SET_E) ? push_inst(compiler, EMIT_DATA_PROCESS_INS(MOV_DP, SET_FLAGS, TMP_RE… in sljit_emit_op_flags()