Lines Matching refs:GET_MODE
496 if (GET_MODE_CLASS (GET_MODE (oldval)) == MODE_INT in do_SUBST()
502 == trunc_int_for_mode (INTVAL (newval), GET_MODE (oldval))); in do_SUBST()
568 enum machine_mode oldval = GET_MODE (*into); in do_SUBST_MODE()
932 && (GET_MODE (note) == VOIDmode in combine_instructions()
933 ? SCALAR_INT_MODE_P (GET_MODE (SET_DEST (set))) in combine_instructions()
934 : GET_MODE (SET_DEST (set)) == GET_MODE (note))) in combine_instructions()
1035 GET_MODE (reg), in setup_incoming_promotions()
1064 && GET_MODE_BITSIZE (GET_MODE (x)) <= HOST_BITS_PER_WIDE_INT) in set_nonzero_bits_and_sign_copies()
1068 reg_stat[REGNO (x)].nonzero_bits = GET_MODE_MASK (GET_MODE (x)); in set_nonzero_bits_and_sign_copies()
1082 && (GET_MODE_SIZE (GET_MODE (SET_DEST (set))) in set_nonzero_bits_and_sign_copies()
1083 > GET_MODE_SIZE (GET_MODE (SUBREG_REG (SET_DEST (set))))) in set_nonzero_bits_and_sign_copies()
1098 if (GET_MODE_BITSIZE (GET_MODE (x)) < BITS_PER_WORD in set_nonzero_bits_and_sign_copies()
1103 << (GET_MODE_BITSIZE (GET_MODE (x)) - 1)))) in set_nonzero_bits_and_sign_copies()
1106 << GET_MODE_BITSIZE (GET_MODE (x)))); in set_nonzero_bits_and_sign_copies()
1113 num = num_sign_bit_copies (SET_SRC (set), GET_MODE (x)); in set_nonzero_bits_and_sign_copies()
1120 reg_stat[REGNO (x)].nonzero_bits = GET_MODE_MASK (GET_MODE (x)); in set_nonzero_bits_and_sign_copies()
1330 && ! HARD_REGNO_MODE_OK (REGNO (dest), GET_MODE (dest))) in can_combine_p()
1339 && ! HARD_REGNO_MODE_OK (REGNO (src), GET_MODE (src))))) in can_combine_p()
1522 GET_MODE (inner_dest)))) in combinable_i3pat()
1535 && (GET_MODE_SIZE (GET_MODE (subdest)) in combinable_i3pat()
1536 >= GET_MODE_SIZE (GET_MODE (SUBREG_REG (subdest))))) in combinable_i3pat()
1661 nregs = hard_regno_nregs[regno][GET_MODE (x)]; in likely_spilled_retval_1()
1695 nregs = hard_regno_nregs[regno][GET_MODE (reg)]; in likely_spilled_retval_p()
1762 && (hard_regno_nregs[regno][GET_MODE (x)] in can_change_dest_mode()
1778 if (!REG_P (reg) || GET_MODE_CLASS (GET_MODE (reg)) != MODE_INT) in reg_subword_p()
1787 && GET_MODE_CLASS (GET_MODE (x)) == MODE_INT; in reg_subword_p()
1980 offset = GET_MODE_BITSIZE (GET_MODE (dest)) - width - offset; in try_combine()
1987 width = GET_MODE_BITSIZE (GET_MODE (dest)); in try_combine()
1997 else if (GET_MODE_BITSIZE (GET_MODE (SET_DEST (temp))) in try_combine()
1998 == 2 * GET_MODE_BITSIZE (GET_MODE (dest))) in try_combine()
1999 offset += GET_MODE_BITSIZE (GET_MODE (dest)); in try_combine()
2082 immed_double_const (olo, ohi, GET_MODE (SET_DEST (temp)))); in try_combine()
2106 && (GET_MODE_CLASS (GET_MODE (SET_DEST (XVECEXP (PATTERN (i2), 0, 0)))) in try_combine()
2289 != GET_MODE (SET_DEST (newpat)))) in try_combine()
2571 enum machine_mode new_mode = GET_MODE (SET_DEST (newpat)); in try_combine()
2585 && new_mode != GET_MODE (i2dest) in try_combine()
2589 enum machine_mode old_mode = GET_MODE (i2dest); in try_combine()
2696 && (GET_MODE (*split) == GET_MODE (i2dest) in try_combine()
2697 || GET_MODE (*split) == VOIDmode in try_combine()
2699 GET_MODE (*split))) in try_combine()
2708 enum machine_mode split_mode = GET_MODE (*split); in try_combine()
2714 if (GET_MODE (i2dest) != split_mode && split_mode != VOIDmode) in try_combine()
2748 if (LOAD_EXTEND_OP (GET_MODE (SUBREG_REG (*split))) in try_combine()
2761 && split_mode == GET_MODE (SET_SRC (newpat)) in try_combine()
2765 enum machine_mode mode = GET_MODE (setsrc); in try_combine()
2865 && (GET_MODE (SET_DEST (XVECEXP (newpat, 0, 0))) in try_combine()
2866 == GET_MODE (SET_SRC (XVECEXP (newpat, 0, 0)))) in try_combine()
2877 && GET_MODE_BITSIZE (GET_MODE (temp)) < BITS_PER_WORD in try_combine()
2878 && GET_MODE_BITSIZE (GET_MODE (temp)) < HOST_BITS_PER_INT in try_combine()
2885 && GET_MODE_BITSIZE (GET_MODE (temp)) < BITS_PER_WORD in try_combine()
2886 && GET_MODE_BITSIZE (GET_MODE (temp)) < HOST_BITS_PER_INT in try_combine()
2900 gen_lowpart (GET_MODE (SET_SRC (newpat)), ni2dest)); in try_combine()
3519 && ! memory_address_p (GET_MODE (x), XEXP (x, 0))) in find_split_point()
3541 && memory_address_p (GET_MODE (x), in find_split_point()
3608 && (GET_MODE_BITSIZE (GET_MODE (XEXP (SET_DEST (x), 0))) in find_split_point()
3615 <= GET_MODE_BITSIZE (GET_MODE (XEXP (SET_DEST (x), 0)))) in find_split_point()
3622 enum machine_mode mode = GET_MODE (dest); in find_split_point()
3675 rtx extraction = make_extraction (GET_MODE (SET_DEST (x)), in find_split_point()
3690 && GET_MODE (SET_SRC (x)) == GET_MODE (XEXP (SET_SRC (x), 0)) in find_split_point()
3693 GET_MODE (XEXP (SET_SRC (x), 0)))))) in find_split_point()
3695 enum machine_mode mode = GET_MODE (XEXP (SET_SRC (x), 0)); in find_split_point()
3715 if (GET_MODE_CLASS (GET_MODE (inner)) == MODE_PARTIAL_INT in find_split_point()
3716 || GET_MODE_CLASS (GET_MODE (SET_SRC (x))) == MODE_PARTIAL_INT) in find_split_point()
3720 len = GET_MODE_BITSIZE (GET_MODE (inner)); in find_split_point()
3734 pos = GET_MODE_BITSIZE (GET_MODE (inner)) - len - pos; in find_split_point()
3743 if (len && pos >= 0 && pos + len <= GET_MODE_BITSIZE (GET_MODE (inner))) in find_split_point()
3745 enum machine_mode mode = GET_MODE (SET_SRC (x)); in find_split_point()
3812 gen_rtx_NOT (GET_MODE (x), in find_split_point()
3814 GET_MODE (x), in find_split_point()
3904 && REGNO (X) == REGNO (Y) && GET_MODE (X) == GET_MODE (Y))) in subst()
3921 return gen_rtx_CLOBBER (GET_MODE (x), const0_rtx); in subst()
3996 op0_mode = GET_MODE (XEXP (x, 0)); in subst()
4053 && ! MODES_TIEABLE_P (GET_MODE (to), in subst()
4054 GET_MODE (SUBREG_REG (to))) in subst()
4056 && MODES_TIEABLE_P (GET_MODE (x), in subst()
4057 GET_MODE (SUBREG_REG (to)))) in subst()
4069 GET_MODE (to), in subst()
4070 GET_MODE (x))) in subst()
4106 enum machine_mode mode = GET_MODE (x); in subst()
4108 x = simplify_subreg (GET_MODE (x), new, in subst()
4109 GET_MODE (SUBREG_REG (x)), in subst()
4117 x = simplify_unary_operation (ZERO_EXTEND, GET_MODE (x), in subst()
4118 new, GET_MODE (XEXP (x, 0))); in subst()
4162 enum machine_mode mode = GET_MODE (x); in combine_simplify_rtx()
4282 op0_mode = GET_MODE (XEXP (x, 0)); in combine_simplify_rtx()
4288 enum machine_mode cmp_mode = GET_MODE (XEXP (x, 0)); in combine_simplify_rtx()
4291 cmp_mode = GET_MODE (XEXP (x, 1)); in combine_simplify_rtx()
4317 mode = GET_MODE (temp); in combine_simplify_rtx()
4385 op0_mode = GET_MODE (SUBREG_REG (x)); in combine_simplify_rtx()
4393 && (GET_MODE (SUBREG_REG (x)) != VOIDmode in combine_simplify_rtx()
4397 if (GET_MODE_CLASS (GET_MODE (SUBREG_REG (x))) == MODE_CC) in combine_simplify_rtx()
4470 GET_MODE_BITSIZE (GET_MODE (XEXP (x, 0))))) in combine_simplify_rtx()
4472 force_to_mode (XEXP (x, 0), GET_MODE (XEXP (x, 0)), in combine_simplify_rtx()
4496 if (!(HONOR_SIGNED_ZEROS (GET_MODE (XEXP (x, 0))) in combine_simplify_rtx()
4497 && HONOR_SIGN_DEPENDENT_ROUNDING (GET_MODE (XEXP (x, 0)))) in combine_simplify_rtx()
4498 && XEXP (x, 1) == CONST0_RTX (GET_MODE (XEXP (x, 0)))) in combine_simplify_rtx()
4540 && (GET_MODE_BITSIZE (GET_MODE (XEXP (XEXP (XEXP (x, 0), 0), 0))) in combine_simplify_rtx()
4643 || (GET_MODE_CLASS (GET_MODE (XEXP (x, 0))) != MODE_CC in combine_simplify_rtx()
4671 && mode == GET_MODE (op0) in combine_simplify_rtx()
4679 && mode == GET_MODE (op0) in combine_simplify_rtx()
4692 && mode == GET_MODE (op0) in combine_simplify_rtx()
4704 && mode == GET_MODE (op0) in combine_simplify_rtx()
4725 && mode == GET_MODE (op0) in combine_simplify_rtx()
4737 && mode == GET_MODE (op0) in combine_simplify_rtx()
4751 && mode == GET_MODE (op0) in combine_simplify_rtx()
4768 && mode == GET_MODE (op0) in combine_simplify_rtx()
4823 force_to_mode (XEXP (x, 1), GET_MODE (XEXP (x, 1)), in combine_simplify_rtx()
4825 << exact_log2 (GET_MODE_BITSIZE (GET_MODE (x)))) in combine_simplify_rtx()
4842 enum machine_mode mode = GET_MODE (x); in simplify_if_then_else()
4892 && exact_log2 (nzb = nonzero_bits (from, GET_MODE (from))) >= 0) in simplify_if_then_else()
4895 && (num_sign_bit_copies (from, GET_MODE (from)) in simplify_if_then_else()
4896 == GET_MODE_BITSIZE (GET_MODE (from)))) in simplify_if_then_else()
4939 SUBST (XEXP (x, 0), reversed_comparison (cond, GET_MODE (cond))); in simplify_if_then_else()
5060 && (num_sign_bit_copies (f, GET_MODE (f)) in simplify_if_then_else()
5063 - GET_MODE_BITSIZE (GET_MODE (XEXP (XEXP (t, 0), 0)))))) in simplify_if_then_else()
5067 m = GET_MODE (XEXP (t, 0)); in simplify_if_then_else()
5076 && (num_sign_bit_copies (f, GET_MODE (f)) in simplify_if_then_else()
5079 - GET_MODE_BITSIZE (GET_MODE (XEXP (XEXP (t, 0), 1)))))) in simplify_if_then_else()
5083 m = GET_MODE (XEXP (t, 0)); in simplify_if_then_else()
5097 && ((nonzero_bits (f, GET_MODE (f)) in simplify_if_then_else()
5098 & ~GET_MODE_MASK (GET_MODE (XEXP (XEXP (t, 0), 0)))) in simplify_if_then_else()
5103 m = GET_MODE (XEXP (t, 0)); in simplify_if_then_else()
5113 && ((nonzero_bits (f, GET_MODE (f)) in simplify_if_then_else()
5114 & ~GET_MODE_MASK (GET_MODE (XEXP (XEXP (t, 0), 1)))) in simplify_if_then_else()
5119 m = GET_MODE (XEXP (t, 0)); in simplify_if_then_else()
5159 && GET_MODE (XEXP (cond, 0)) == mode in simplify_if_then_else()
5176 = GET_MODE (src) != VOIDmode ? GET_MODE (src) : GET_MODE (dest); in simplify_set()
5210 enum machine_mode compare_mode = GET_MODE (dest); in simplify_set()
5215 op0 = src, op1 = CONST0_RTX (GET_MODE (src)); in simplify_set()
5253 if (GET_MODE_CLASS (GET_MODE (op0)) == MODE_CC) in simplify_set()
5254 compare_mode = GET_MODE (op0); in simplify_set()
5264 if (compare_mode != GET_MODE (dest)) in simplify_set()
5296 SUBST (*cc_use, gen_rtx_fmt_ee (new_code, GET_MODE (*cc_use), in simplify_set()
5309 && GET_MODE_BITSIZE (GET_MODE (op0)) <= HOST_BITS_PER_WIDE_INT in simplify_set()
5310 && exact_log2 (mask = nonzero_bits (op0, GET_MODE (op0))) >= 0) in simplify_set()
5320 op0 = simplify_gen_binary (XOR, GET_MODE (op0), in simplify_set()
5342 if (GET_CODE (src) != COMPARE || GET_MODE (src) != compare_mode) in simplify_set()
5347 else if (GET_MODE (op0) == compare_mode && op1 == const0_rtx) in simplify_set()
5381 && (((GET_MODE_SIZE (GET_MODE (src)) + (UNITS_PER_WORD - 1)) in simplify_set()
5383 == ((GET_MODE_SIZE (GET_MODE (SUBREG_REG (src))) in simplify_set()
5386 && (GET_MODE_SIZE (GET_MODE (src)) in simplify_set()
5387 < GET_MODE_SIZE (GET_MODE (SUBREG_REG (src)))) in simplify_set()
5392 GET_MODE (SUBREG_REG (src)), in simplify_set()
5393 GET_MODE (src))) in simplify_set()
5400 gen_lowpart (GET_MODE (SUBREG_REG (src)), in simplify_set()
5413 && (GET_MODE_BITSIZE (GET_MODE (src)) in simplify_set()
5414 < GET_MODE_BITSIZE (GET_MODE (SUBREG_REG (src))))) in simplify_set()
5417 enum machine_mode inner_mode = GET_MODE (inner); in simplify_set()
5423 << (GET_MODE_BITSIZE (GET_MODE (src)) - 1)))) in simplify_set()
5437 && LOAD_EXTEND_OP (GET_MODE (SUBREG_REG (src))) != UNKNOWN in simplify_set()
5439 && (GET_MODE_SIZE (GET_MODE (src)) in simplify_set()
5440 > GET_MODE_SIZE (GET_MODE (SUBREG_REG (src)))) in simplify_set()
5444 gen_rtx_fmt_e (LOAD_EXTEND_OP (GET_MODE (SUBREG_REG (src))), in simplify_set()
5445 GET_MODE (src), SUBREG_REG (src))); in simplify_set()
5459 && GET_MODE_CLASS (GET_MODE (src)) == MODE_INT in simplify_set()
5462 && GET_MODE (src) == GET_MODE (XEXP (XEXP (src, 0), 0)) in simplify_set()
5464 && ! can_conditionally_move_p (GET_MODE (src)) in simplify_set()
5467 GET_MODE (XEXP (XEXP (src, 0), 0))) in simplify_set()
5468 == GET_MODE_BITSIZE (GET_MODE (XEXP (XEXP (src, 0), 0)))) in simplify_set()
5490 term2 = simplify_gen_binary (AND, GET_MODE (src), in simplify_set()
5492 term3 = simplify_gen_binary (AND, GET_MODE (src), in simplify_set()
5493 simplify_gen_unary (NOT, GET_MODE (src), in simplify_set()
5495 GET_MODE (src)), in simplify_set()
5499 simplify_gen_binary (IOR, GET_MODE (src), in simplify_set()
5500 simplify_gen_binary (IOR, GET_MODE (src), in simplify_set()
5524 enum machine_mode mode = GET_MODE (x); in simplify_logical()
5635 if (GET_MODE_SIZE (GET_MODE (XEXP (x, 0))) > UNITS_PER_WORD) in expand_compound_operation()
5641 if (! SCALAR_INT_MODE_P (GET_MODE (XEXP (x, 0)))) in expand_compound_operation()
5644 len = GET_MODE_BITSIZE (GET_MODE (XEXP (x, 0))); in expand_compound_operation()
5665 || GET_MODE (XEXP (x, 0)) == VOIDmode) in expand_compound_operation()
5671 if (! SCALAR_INT_MODE_P (GET_MODE (XEXP (x, 0)))) in expand_compound_operation()
5678 if (len + pos > GET_MODE_BITSIZE (GET_MODE (XEXP (x, 0)))) in expand_compound_operation()
5682 pos = GET_MODE_BITSIZE (GET_MODE (XEXP (x, 0))) - len - pos; in expand_compound_operation()
5693 && (GET_MODE_BITSIZE (GET_MODE (x)) <= HOST_BITS_PER_WIDE_INT in expand_compound_operation()
5694 && ((nonzero_bits (XEXP (x, 0), GET_MODE (XEXP (x, 0))) in expand_compound_operation()
5696 GET_MODE_MASK (GET_MODE (XEXP (x, 0)))) in expand_compound_operation()
5700 rtx temp = gen_rtx_ZERO_EXTEND (GET_MODE (x), XEXP (x, 0)); in expand_compound_operation()
5719 && GET_MODE (XEXP (XEXP (x, 0), 0)) == GET_MODE (x) in expand_compound_operation()
5720 && GET_MODE_BITSIZE (GET_MODE (x)) <= HOST_BITS_PER_WIDE_INT in expand_compound_operation()
5721 && (nonzero_bits (XEXP (XEXP (x, 0), 0), GET_MODE (x)) in expand_compound_operation()
5722 & ~GET_MODE_MASK (GET_MODE (XEXP (x, 0)))) == 0) in expand_compound_operation()
5727 && GET_MODE (SUBREG_REG (XEXP (x, 0))) == GET_MODE (x) in expand_compound_operation()
5729 && GET_MODE_BITSIZE (GET_MODE (x)) <= HOST_BITS_PER_WIDE_INT in expand_compound_operation()
5730 && (nonzero_bits (SUBREG_REG (XEXP (x, 0)), GET_MODE (x)) in expand_compound_operation()
5731 & ~GET_MODE_MASK (GET_MODE (XEXP (x, 0)))) == 0) in expand_compound_operation()
5739 && GET_MODE (XEXP (XEXP (x, 0), 0)) == GET_MODE (x) in expand_compound_operation()
5741 && (GET_MODE_BITSIZE (GET_MODE (XEXP (x, 0))) in expand_compound_operation()
5744 & ~GET_MODE_MASK (GET_MODE (XEXP (x, 0)))) == 0) in expand_compound_operation()
5749 && GET_MODE (SUBREG_REG (XEXP (x, 0))) == GET_MODE (x) in expand_compound_operation()
5752 && (GET_MODE_BITSIZE (GET_MODE (XEXP (x, 0))) in expand_compound_operation()
5755 & ~GET_MODE_MASK (GET_MODE (XEXP (x, 0)))) == 0) in expand_compound_operation()
5775 modewidth = GET_MODE_BITSIZE (GET_MODE (x)); in expand_compound_operation()
5778 enum machine_mode mode = GET_MODE (x); in expand_compound_operation()
5788 tem = simplify_and_const_int (NULL_RTX, GET_MODE (x), in expand_compound_operation()
5790 GET_MODE (x), in expand_compound_operation()
5829 len = GET_MODE_BITSIZE (GET_MODE (XEXP (SET_DEST (x), 0))); in expand_field_assignment()
5841 && INTVAL (pos) + len > GET_MODE_BITSIZE (GET_MODE (inner))) in expand_field_assignment()
5847 pos = GEN_INT (GET_MODE_BITSIZE (GET_MODE (inner)) - len in expand_field_assignment()
5852 == GET_MODE_BITSIZE (GET_MODE (inner)) - len)) in expand_field_assignment()
5856 pos = simplify_gen_binary (MINUS, GET_MODE (pos), in expand_field_assignment()
5858 GET_MODE (inner)) in expand_field_assignment()
5869 && (((GET_MODE_SIZE (GET_MODE (SET_DEST (x))) in expand_field_assignment()
5871 == ((GET_MODE_SIZE (GET_MODE (SUBREG_REG (SET_DEST (x)))) in expand_field_assignment()
5876 (GET_MODE (SUBREG_REG (SET_DEST (x))), in expand_field_assignment()
5886 compute_mode = GET_MODE (inner); in expand_field_assignment()
5964 enum machine_mode is_mode = GET_MODE (inner); in make_extraction()
5983 is_mode = GET_MODE (SUBREG_REG (inner)); in make_extraction()
6002 inner_mode = GET_MODE (inner); in make_extraction()
6190 if (pos_rtx && GET_MODE (pos_rtx) != VOIDmode in make_extraction()
6191 && GET_MODE_SIZE (pos_mode) < GET_MODE_SIZE (GET_MODE (pos_rtx))) in make_extraction()
6192 pos_mode = GET_MODE (pos_rtx); in make_extraction()
6239 = gen_rtx_MINUS (GET_MODE (pos_rtx), GEN_INT (width - len), pos_rtx); in make_extraction()
6285 if (GET_MODE (inner) != wanted_inner_mode in make_extraction()
6305 && GET_MODE_SIZE (pos_mode) > GET_MODE_SIZE (GET_MODE (pos_rtx))) in make_extraction()
6314 && (GET_MODE_BITSIZE (GET_MODE (pos_rtx)) <= HOST_BITS_PER_WIDE_INT in make_extraction()
6315 && ((nonzero_bits (pos_rtx, GET_MODE (pos_rtx)) in make_extraction()
6317 GET_MODE_MASK (GET_MODE (pos_rtx))) in make_extraction()
6331 && GET_MODE_SIZE (pos_mode) < GET_MODE_SIZE (GET_MODE (pos_rtx))) in make_extraction()
6359 enum machine_mode mode = GET_MODE (x); in extract_left_shift()
6420 enum machine_mode mode = GET_MODE (x); in make_compound_operation()
6481 new = make_extraction (GET_MODE (SUBREG_REG (XEXP (x, 0))), new, 0, in make_compound_operation()
6621 simplified = simplify_subreg (GET_MODE (x), tem, GET_MODE (tem), in make_compound_operation()
6628 && GET_MODE_SIZE (mode) < GET_MODE_SIZE (GET_MODE (tem)) in make_compound_operation()
6721 return simplify_gen_unary (GET_CODE (x), GET_MODE (x), op0, in canon_reg_for_combine()
6722 GET_MODE (reg)); in canon_reg_for_combine()
6730 return simplify_gen_binary (GET_CODE (x), GET_MODE (x), op0, op1); in canon_reg_for_combine()
6738 return simplify_gen_relational (GET_CODE (x), GET_MODE (x), in canon_reg_for_combine()
6739 GET_MODE (op0), op0, op1); in canon_reg_for_combine()
6748 return simplify_gen_ternary (GET_CODE (x), GET_MODE (x), in canon_reg_for_combine()
6749 GET_MODE (op0), op0, op1, op2); in canon_reg_for_combine()
6811 if (GET_MODE_SIZE (GET_MODE (x)) <= GET_MODE_SIZE (mode) in gen_lowpart_or_truncate()
6813 GET_MODE_BITSIZE (GET_MODE (x))) in gen_lowpart_or_truncate()
6817 return simplify_gen_unary (TRUNCATE, mode, x, GET_MODE (x)); in gen_lowpart_or_truncate()
6855 op_mode = ((GET_MODE_CLASS (mode) == GET_MODE_CLASS (GET_MODE (x)) in force_to_mode()
6857 ? mode : GET_MODE (x)); in force_to_mode()
6862 && GET_MODE_BITSIZE (mode) < GET_MODE_BITSIZE (GET_MODE (x))) in force_to_mode()
6863 op_mode = GET_MODE (x); in force_to_mode()
6900 if (GET_MODE_SIZE (GET_MODE (x)) < GET_MODE_SIZE (mode) in force_to_mode()
6901 && (GET_MODE_MASK (GET_MODE (x)) & ~mask) == 0) in force_to_mode()
6925 && ((GET_MODE_SIZE (GET_MODE (x)) in force_to_mode()
6926 < GET_MODE_SIZE (GET_MODE (SUBREG_REG (x)))) in force_to_mode()
6928 & GET_MODE_MASK (GET_MODE (x)) in force_to_mode()
6929 & ~GET_MODE_MASK (GET_MODE (SUBREG_REG (x))))))) in force_to_mode()
6948 && ((INTVAL (XEXP (x, 1)) & GET_MODE_MASK (GET_MODE (x))) in force_to_mode()
6958 && GET_MODE_MASK (GET_MODE (x)) != mask in force_to_mode()
6959 && GET_MODE_BITSIZE (GET_MODE (x)) <= HOST_BITS_PER_WIDE_INT) in force_to_mode()
6962 | (GET_MODE_MASK (GET_MODE (x)) & ~mask)); in force_to_mode()
6963 int width = GET_MODE_BITSIZE (GET_MODE (x)); in force_to_mode()
6972 y = simplify_gen_binary (AND, GET_MODE (x), in force_to_mode()
7026 x = simplify_gen_unary (NEG, GET_MODE (x), XEXP (x, 1), in force_to_mode()
7027 GET_MODE (x)); in force_to_mode()
7037 x = simplify_gen_unary (NOT, GET_MODE (x), in force_to_mode()
7038 XEXP (x, 1), GET_MODE (x)); in force_to_mode()
7059 < GET_MODE_BITSIZE (GET_MODE (x))) in force_to_mode()
7061 & ~nonzero_bits (XEXP (x, 0), GET_MODE (x))) == 0) in force_to_mode()
7065 temp = simplify_gen_binary (GET_CODE (x), GET_MODE (x), in force_to_mode()
7067 x = simplify_gen_binary (LSHIFTRT, GET_MODE (x), temp, in force_to_mode()
7083 if (op_mode != GET_MODE (x) || op0 != XEXP (x, 0) || op1 != XEXP (x, 1)) in force_to_mode()
7097 && ! (GET_MODE (XEXP (x, 1)) != VOIDmode in force_to_mode()
7098 && (nonzero_bits (XEXP (x, 1), GET_MODE (XEXP (x, 1))) in force_to_mode()
7117 if (op_mode != GET_MODE (x) || op0 != XEXP (x, 0)) in force_to_mode()
7139 if ((inner_mask & ~GET_MODE_MASK (GET_MODE (x))) != 0) in force_to_mode()
7140 op_mode = GET_MODE (x); in force_to_mode()
7144 if (GET_MODE (x) != op_mode || inner != XEXP (x, 0)) in force_to_mode()
7157 + num_sign_bit_copies (XEXP (x, 0), GET_MODE (XEXP (x, 0)))) in force_to_mode()
7158 >= GET_MODE_BITSIZE (GET_MODE (x))) in force_to_mode()
7163 <= GET_MODE_BITSIZE (GET_MODE (x))) in force_to_mode()
7165 && ((int) num_sign_bit_copies (XEXP (x, 0), GET_MODE (XEXP (x, 0))) in force_to_mode()
7167 x = simplify_gen_binary (LSHIFTRT, GET_MODE (x), XEXP (x, 0), in force_to_mode()
7168 GEN_INT (GET_MODE_BITSIZE (GET_MODE (x)) in force_to_mode()
7176 if (GET_MODE_BITSIZE (GET_MODE (x)) <= HOST_BITS_PER_WIDE_INT in force_to_mode()
7178 << (GET_MODE_BITSIZE (GET_MODE (x)) - 1)))) in force_to_mode()
7197 if (GET_MODE_BITSIZE (GET_MODE (x)) > HOST_BITS_PER_WIDE_INT) in force_to_mode()
7206 if (GET_MODE_BITSIZE (GET_MODE (x)) - INTVAL (XEXP (x, 1)) in force_to_mode()
7210 - GET_MODE_BITSIZE (GET_MODE (x)) ; in force_to_mode()
7214 nonzero = GET_MODE_MASK (GET_MODE (x)); in force_to_mode()
7220 x = simplify_shift_const (NULL_RTX, LSHIFTRT, GET_MODE (x), in force_to_mode()
7229 (NULL_RTX, LSHIFTRT, GET_MODE (x), XEXP (x, 0), in force_to_mode()
7230 GET_MODE_BITSIZE (GET_MODE (x)) - 1 - i); in force_to_mode()
7240 x = simplify_gen_binary (LSHIFTRT, GET_MODE (x), in force_to_mode()
7253 <= GET_MODE_BITSIZE (GET_MODE (x)) - (floor_log2 (mask) + 1)) in force_to_mode()
7271 GET_MODE (x), GEN_INT (mask), in force_to_mode()
7275 force_to_mode (XEXP (x, 0), GET_MODE (x), in force_to_mode()
7301 < GET_MODE_BITSIZE (GET_MODE (x))) in force_to_mode()
7305 GET_MODE (x)); in force_to_mode()
7306 temp = simplify_gen_binary (XOR, GET_MODE (x), in force_to_mode()
7308 x = simplify_gen_binary (LSHIFTRT, GET_MODE (x), in force_to_mode()
7322 if (op_mode != GET_MODE (x) || op0 != XEXP (x, 0)) in force_to_mode()
7331 && GET_MODE (XEXP (x, 0)) == mode in force_to_mode()
7344 gen_lowpart_or_truncate (GET_MODE (x), in force_to_mode()
7348 gen_lowpart_or_truncate (GET_MODE (x), in force_to_mode()
7371 enum machine_mode mode = GET_MODE (x); in if_then_else_cond()
7390 *ptrue = simplify_gen_unary (code, mode, true0, GET_MODE (XEXP (x, 0))); in if_then_else_cond()
7392 GET_MODE (XEXP (x, 0))); in if_then_else_cond()
7523 GET_MODE (SUBREG_REG (x)), SUBREG_BYTE (x)); in if_then_else_cond()
7525 GET_MODE (SUBREG_REG (x)), SUBREG_BYTE (x)); in if_then_else_cond()
7595 && ! FLOAT_MODE_P (GET_MODE (x)) in known_cond()
7596 && ! FLOAT_MODE_P (GET_MODE (val))) in known_cond()
7611 return simplify_gen_unary (NEG, GET_MODE (XEXP (x, 0)), in known_cond()
7613 GET_MODE (XEXP (x, 0))); in known_cond()
7671 enum machine_mode inner_mode = GET_MODE (SUBREG_REG (x)); in known_cond()
7678 new = simplify_subreg (GET_MODE (x), r, in known_cond()
7696 enum machine_mode inner_mode = GET_MODE (XEXP (x, 0)); in known_cond()
7703 new = simplify_unary_operation (ZERO_EXTEND, GET_MODE (x), in known_cond()
7737 if (x == 0 || y == 0 || GET_MODE (x) != GET_MODE (y)) in rtx_equal_for_field_assignment_p()
7746 gen_lowpart (GET_MODE (SUBREG_REG (y)), x))) in rtx_equal_for_field_assignment_p()
7752 gen_lowpart (GET_MODE (SUBREG_REG (x)), y))) in rtx_equal_for_field_assignment_p()
7800 && (GET_MODE_SIZE (GET_MODE (XEXP (src, 0))) in make_field_assignment()
7801 < GET_MODE_SIZE (GET_MODE (SUBREG_REG (XEXP (src, 0))))) in make_field_assignment()
7852 mode = GET_MODE (src); in make_field_assignment()
7884 pos = get_pos_from_mask ((~c1) & GET_MODE_MASK (GET_MODE (dest)), &len); in make_field_assignment()
7885 if (pos < 0 || pos + len > GET_MODE_BITSIZE (GET_MODE (dest)) in make_field_assignment()
7886 || GET_MODE_BITSIZE (GET_MODE (dest)) > HOST_BITS_PER_WIDE_INT in make_field_assignment()
7887 || (c1 & nonzero_bits (other, GET_MODE (dest))) != 0) in make_field_assignment()
7897 ? GET_MODE (XEXP (assign, 0)) : GET_MODE (assign)); in make_field_assignment()
7903 GET_MODE (src), in make_field_assignment()
7939 if (FLOAT_MODE_P (GET_MODE (x)) in apply_distributive_law()
7996 if (GET_MODE (SUBREG_REG (lhs)) != GET_MODE (SUBREG_REG (rhs)) in apply_distributive_law()
7999 || (GET_MODE_CLASS (GET_MODE (lhs)) in apply_distributive_law()
8000 != GET_MODE_CLASS (GET_MODE (SUBREG_REG (lhs)))) in apply_distributive_law()
8001 || (GET_MODE_SIZE (GET_MODE (lhs)) in apply_distributive_law()
8002 > GET_MODE_SIZE (GET_MODE (SUBREG_REG (lhs)))) in apply_distributive_law()
8003 || VECTOR_MODE_P (GET_MODE (lhs)) in apply_distributive_law()
8004 || GET_MODE_SIZE (GET_MODE (SUBREG_REG (lhs))) > UNITS_PER_WORD in apply_distributive_law()
8008 (GET_MODE_BITSIZE (GET_MODE (x)), in apply_distributive_law()
8009 GET_MODE_BITSIZE (GET_MODE (SUBREG_REG (lhs))))) in apply_distributive_law()
8012 tem = simplify_gen_binary (code, GET_MODE (SUBREG_REG (lhs)), in apply_distributive_law()
8014 return gen_lowpart (GET_MODE (x), tem); in apply_distributive_law()
8039 tem = simplify_gen_binary (code, GET_MODE (x), lhs, rhs); in apply_distributive_law()
8046 other = simplify_gen_unary (NOT, GET_MODE (x), other, GET_MODE (x)); in apply_distributive_law()
8052 return simplify_gen_binary (inner_code, GET_MODE (x), in apply_distributive_law()
8086 mode = GET_MODE (x); in distribute_and_simplify_rtx()
8193 (simplify_gen_binary (GET_CODE (varop), GET_MODE (varop), in simplify_and_const_int_1()
8195 GET_MODE (varop), in simplify_and_const_int_1()
8199 GET_MODE (varop), in simplify_and_const_int_1()
8252 x = simplify_gen_binary (AND, GET_MODE (varop), varop, in simplify_and_const_int()
8254 if (GET_MODE (x) != mode) in simplify_and_const_int()
8309 if (GET_MODE_BITSIZE (GET_MODE (x)) < GET_MODE_BITSIZE (mode) in reg_nonzero_bits_for_combine()
8314 << (GET_MODE_BITSIZE (GET_MODE (x)) - 1)))) in reg_nonzero_bits_for_combine()
8317 << GET_MODE_BITSIZE (GET_MODE (x)))); in reg_nonzero_bits_for_combine()
8325 if (GET_MODE_BITSIZE (GET_MODE (x)) < GET_MODE_BITSIZE (mode)) in reg_nonzero_bits_for_combine()
8327 mask |= GET_MODE_MASK (mode) ^ GET_MODE_MASK (GET_MODE (x)); in reg_nonzero_bits_for_combine()
8368 && GET_MODE_BITSIZE (GET_MODE (x)) == GET_MODE_BITSIZE (mode)) in reg_num_sign_bit_copies_for_combine()
8709 && (GET_MODE_SIZE (GET_MODE (SUBREG_REG (varop))) in simplify_shift_const_1()
8710 > GET_MODE_SIZE (GET_MODE (varop))) in simplify_shift_const_1()
8711 && (unsigned int) ((GET_MODE_SIZE (GET_MODE (SUBREG_REG (varop))) in simplify_shift_const_1()
8716 if (GET_MODE_SIZE (GET_MODE (varop)) > GET_MODE_SIZE (mode)) in simplify_shift_const_1()
8717 mode = GET_MODE (varop); in simplify_shift_const_1()
8730 = simplify_gen_binary (ASHIFT, GET_MODE (varop), in simplify_shift_const_1()
8744 = simplify_gen_binary (LSHIFTRT, GET_MODE (varop), in simplify_shift_const_1()
8761 >= GET_MODE_BITSIZE (GET_MODE (varop)))) in simplify_shift_const_1()
8776 && INTVAL (XEXP (varop, 1)) < GET_MODE_BITSIZE (GET_MODE (varop)) in simplify_shift_const_1()
8795 - GET_MODE_BITSIZE (GET_MODE (varop)))) in simplify_shift_const_1()
8819 && GET_MODE (varop) == shift_mode in simplify_shift_const_1()
8851 if (GET_MODE (varop) != result_mode in simplify_shift_const_1()
8864 || (GET_MODE (varop) != result_mode in simplify_shift_const_1()
8874 mask_rtx = GEN_INT (nonzero_bits (varop, GET_MODE (varop))); in simplify_shift_const_1()
8948 && count == (GET_MODE_BITSIZE (GET_MODE (varop)) - 1) in simplify_shift_const_1()
8952 varop = gen_rtx_LE (GET_MODE (varop), XEXP (varop, 1), in simplify_shift_const_1()
8956 varop = gen_rtx_NEG (GET_MODE (varop), varop); in simplify_shift_const_1()
9014 && GET_MODE (XEXP (varop, 0)) == result_mode in simplify_shift_const_1()
9143 && count == (GET_MODE_BITSIZE (GET_MODE (varop)) - 1) in simplify_shift_const_1()
9150 varop = gen_rtx_GT (GET_MODE (varop), XEXP (varop, 1), in simplify_shift_const_1()
9154 varop = gen_rtx_NEG (GET_MODE (varop), varop); in simplify_shift_const_1()
9167 >= (GET_MODE_BITSIZE (GET_MODE (XEXP (varop, 0))) in simplify_shift_const_1()
9168 - GET_MODE_BITSIZE (GET_MODE (varop))))) in simplify_shift_const_1()
9173 = gen_rtx_LSHIFTRT (GET_MODE (varop_inner), in simplify_shift_const_1()
9177 varop = gen_rtx_TRUNCATE (GET_MODE (varop), varop_inner); in simplify_shift_const_1()
9208 && shift_mode == GET_MODE (varop)) in simplify_shift_const_1()
9285 x = simplify_gen_binary (code, GET_MODE (varop), varop, GEN_INT (count)); in simplify_shift_const()
9286 if (GET_MODE (x) != result_mode) in simplify_shift_const()
9413 enum machine_mode imode = GET_MODE (x); in gen_lowpart_for_combine()
9447 imode = GET_MODE (x); in gen_lowpart_for_combine()
9553 && (GET_MODE (SUBREG_REG (XEXP (XEXP (op0, 0), 0))) in simplify_comparison()
9554 == GET_MODE (SUBREG_REG (XEXP (XEXP (op1, 0), 0)))) in simplify_comparison()
9560 == (GET_MODE_BITSIZE (GET_MODE (op0)) in simplify_comparison()
9562 (GET_MODE (SUBREG_REG (XEXP (XEXP (op0, 0), 0)))))))) in simplify_comparison()
9574 && GET_MODE_BITSIZE (GET_MODE (op0)) <= HOST_BITS_PER_WIDE_INT in simplify_comparison()
9586 enum machine_mode mode = GET_MODE (op0); in simplify_comparison()
9626 && (GET_MODE_SIZE (GET_MODE (inner_op0)) in simplify_comparison()
9627 > GET_MODE_SIZE (GET_MODE (SUBREG_REG (inner_op0)))) in simplify_comparison()
9628 && (GET_MODE (SUBREG_REG (inner_op0)) in simplify_comparison()
9629 == GET_MODE (SUBREG_REG (inner_op1))) in simplify_comparison()
9630 && (GET_MODE_BITSIZE (GET_MODE (SUBREG_REG (inner_op0))) in simplify_comparison()
9633 GET_MODE (SUBREG_REG (inner_op0))))) in simplify_comparison()
9635 GET_MODE (SUBREG_REG (inner_op1)))))) in simplify_comparison()
9649 (GET_MODE_CLASS (GET_MODE (op0))); in simplify_comparison()
9650 tmode != GET_MODE (op0); tmode = GET_MODE_WIDER_MODE (tmode)) in simplify_comparison()
9692 enum machine_mode mode = GET_MODE (op0); in simplify_comparison()
10057 mode = GET_MODE (XEXP (op0, 0)); in simplify_comparison()
10094 && GET_MODE_BITSIZE (GET_MODE (SUBREG_REG (op0))) > mode_width in simplify_comparison()
10098 enum machine_mode inner_mode = GET_MODE (SUBREG_REG (op0)); in simplify_comparison()
10132 && GET_MODE_BITSIZE (GET_MODE (SUBREG_REG (op0))) < mode_width) in simplify_comparison()
10140 mode = GET_MODE (XEXP (op0, 0)); in simplify_comparison()
10239 || GET_MODE_CLASS (GET_MODE (XEXP (op0, 0))) == MODE_CC) in simplify_comparison()
10251 || (GET_MODE_BITSIZE (GET_MODE (op0)) <= HOST_BITS_PER_WIDE_INT in simplify_comparison()
10252 && GET_MODE_CLASS (GET_MODE (op0)) == MODE_INT in simplify_comparison()
10255 << (GET_MODE_BITSIZE (GET_MODE (op0)) - 1)))) in simplify_comparison()
10361 GET_MODE_BITSIZE (GET_MODE (op0))) in simplify_comparison()
10376 tmode = GET_MODE (SUBREG_REG (XEXP (op0, 0))); in simplify_comparison()
10548 rtx new_const = simplify_gen_binary (ASHIFTRT, GET_MODE (op0), in simplify_comparison()
10634 && GET_MODE_CLASS (GET_MODE (op0)) == MODE_INT in simplify_comparison()
10635 && GET_MODE_CLASS (GET_MODE (SUBREG_REG (op0))) == MODE_INT in simplify_comparison()
10638 if (GET_MODE_SIZE (GET_MODE (op0)) in simplify_comparison()
10639 > GET_MODE_SIZE (GET_MODE (SUBREG_REG (op0)))) in simplify_comparison()
10646 op1 = gen_lowpart (GET_MODE (op0), op1); in simplify_comparison()
10649 else if ((GET_MODE_BITSIZE (GET_MODE (SUBREG_REG (op0))) in simplify_comparison()
10652 GET_MODE (SUBREG_REG (op0))) in simplify_comparison()
10653 & ~GET_MODE_MASK (GET_MODE (op0))) == 0) in simplify_comparison()
10655 tem = gen_lowpart (GET_MODE (SUBREG_REG (op0)), op1); in simplify_comparison()
10657 if ((nonzero_bits (tem, GET_MODE (SUBREG_REG (op0))) in simplify_comparison()
10658 & ~GET_MODE_MASK (GET_MODE (op0))) == 0) in simplify_comparison()
10669 mode = GET_MODE (op0); in simplify_comparison()
10804 ? hard_regno_nregs[regno][GET_MODE (x)] : 1); in update_table_tick()
10866 ? hard_regno_nregs[regno][GET_MODE (reg)] : 1); in record_value_for_reg()
10895 tem = gen_rtx_CLOBBER (GET_MODE (tem), const0_rtx); in record_value_for_reg()
10958 enum machine_mode mode = GET_MODE (reg); in record_value_for_reg()
10966 = num_sign_bit_copies (value, GET_MODE (reg)); in record_value_for_reg()
10999 && GET_MODE_BITSIZE (GET_MODE (dest)) <= BITS_PER_WORD in record_dead_and_set_regs_1()
11002 gen_lowpart (GET_MODE (dest), in record_dead_and_set_regs_1()
11009 && ! push_operand (dest, GET_MODE (dest))) in record_dead_and_set_regs_1()
11037 ? hard_regno_nregs[regno][GET_MODE (XEXP (link, 0))] in record_dead_and_set_regs()
11086 enum machine_mode mode = GET_MODE (subreg); in record_promoted_value()
11098 || GET_MODE (SET_DEST (set)) != GET_MODE (SUBREG_REG (subreg))) in record_promoted_value()
11151 enum machine_mode original_mode = GET_MODE (SUBREG_REG (x)); in record_truncated_value()
11152 truncated_mode = GET_MODE (x); in record_truncated_value()
11166 truncated_mode = GET_MODE (x); in record_truncated_value()
11239 ? hard_regno_nregs[regno][GET_MODE (x)] : 1); in get_last_value_validate()
11254 *loc = gen_rtx_CLOBBER (GET_MODE (x), const0_rtx); in get_last_value_validate()
11267 *loc = gen_rtx_CLOBBER (GET_MODE (x), const0_rtx); in get_last_value_validate()
11334 && (GET_MODE_SIZE (GET_MODE (x)) in get_last_value()
11335 <= GET_MODE_SIZE (GET_MODE (SUBREG_REG (x)))) in get_last_value()
11337 return gen_lowpart (GET_MODE (x), value); in get_last_value()
11399 ? hard_regno_nregs[regno][GET_MODE (x)] : 1); in use_crosses_set_p()
11456 ? hard_regno_nregs[regno][GET_MODE (dest)] : 1); in reg_dead_at_p_1()
11480 [GET_MODE (reg)] in reg_dead_at_p()
11583 endregno = regno + hard_regno_nregs[regno][GET_MODE (x)]; in mark_used_regs_combine()
11706 && (GET_MODE_SIZE (GET_MODE (XEXP (note, 0))) in move_deaths()
11707 > GET_MODE_SIZE (GET_MODE (x)))) in move_deaths()
11712 [GET_MODE (XEXP (note, 0))]); in move_deaths()
11714 = regno + hard_regno_nregs[regno][GET_MODE (x)]; in move_deaths()
11732 && (GET_MODE_SIZE (GET_MODE (XEXP (note, 0))) in move_deaths()
11733 < GET_MODE_SIZE (GET_MODE (x))))) in move_deaths()
11735 && hard_regno_nregs[regno][GET_MODE (x)] > 1) in move_deaths()
11738 = regno + hard_regno_nregs[regno][GET_MODE (x)]; in move_deaths()
11743 offset = hard_regno_nregs[regno][GET_MODE (XEXP (note, 0))]; in move_deaths()
11752 if (note != 0 && GET_MODE (XEXP (note, 0)) == GET_MODE (x)) in move_deaths()
11781 && (((GET_MODE_SIZE (GET_MODE (dest)) in move_deaths()
11783 == ((GET_MODE_SIZE (GET_MODE (SUBREG_REG (dest))) in move_deaths()
11856 endtregno = tregno + hard_regno_nregs[tregno][GET_MODE (target)]; in reg_bitfield_target_p()
11857 endregno = regno + hard_regno_nregs[regno][GET_MODE (x)]; in reg_bitfield_target_p()
12356 && hard_regno_nregs[regno][GET_MODE (XEXP (note, 0))] > 1) in distribute_notes()
12360 [GET_MODE (XEXP (note, 0))]; in distribute_notes()
12450 GET_MODE (note), in distribute_notes()