/dragonfly/contrib/gcc-8.0/gcc/ |
H A D | compare-elim.c | 286 machine_mode new_mode in can_eliminate_compare() local 289 if (new_mode == VOIDmode) in can_eliminate_compare() 292 if (cmp->orig_mode != new_mode) in can_eliminate_compare() 295 rtx flags = gen_rtx_REG (new_mode, targetm.flags_regnum); in can_eliminate_compare() 296 rtx x = gen_rtx_COMPARE (new_mode, cmp->in_a, cmp->in_b); in can_eliminate_compare() 302 cmp->orig_mode = new_mode; in can_eliminate_compare() 515 machine_mode new_mode = SELECT_CC_MODE (cmp->uses[i].code, a, b); in maybe_select_cc_mode() local 516 if (new_mode != sel_mode) in maybe_select_cc_mode() 518 sel_mode = targetm.cc_modes_compatible (sel_mode, new_mode); in maybe_select_cc_mode()
|
H A D | regcprop.c | 373 mode_change_ok (machine_mode orig_mode, machine_mode new_mode, in mode_change_ok() argument 376 if (partial_subreg_p (orig_mode, new_mode)) in mode_change_ok() 379 return REG_CAN_CHANGE_MODE_P (regno, orig_mode, new_mode); in mode_change_ok() 389 machine_mode new_mode, unsigned int regno, in maybe_mode_change() argument 393 && partial_subreg_p (copy_mode, new_mode)) in maybe_mode_change() 403 if (orig_mode == new_mode) in maybe_mode_change() 404 return gen_raw_REG (new_mode, regno); in maybe_mode_change() 405 else if (mode_change_ok (orig_mode, new_mode, regno)) in maybe_mode_change() 408 int use_nregs = hard_regno_nregs (copy_regno, new_mode); in maybe_mode_change() 418 if (targetm.hard_regno_mode_ok (regno, new_mode)) in maybe_mode_change() [all …]
|
H A D | genmodes.c | 158 new_mode (enum mode_class cl, const char *name, in new_mode() function 482 c = new_mode (cclass, buf, file, line); in make_complex_modes() 533 v = new_mode (vclass, xstrdup (buf), file, line); in make_vector_modes() 555 struct mode_data *v = new_mode (MODE_VECTOR_BOOL, name, file, line); in make_vector_bool_mode() 572 new_mode (cl, name, file, line); in make_special_mode() 597 struct mode_data *m = new_mode (MODE_INT, name, file, line); in make_int_mode() 625 struct mode_data *m = new_mode (cl, name, file, line); in make_fixed_point_mode() 641 struct mode_data *m = new_mode (MODE_FLOAT, name, file, line); in make_float_mode() 658 struct mode_data *m = new_mode (MODE_DECIMAL_FLOAT, name, file, line); in make_decimal_float_mode() 734 m = new_mode (MODE_PARTIAL_INT, name, file, line); in make_partial_integer_mode() [all …]
|
H A D | dse.c | 1693 scalar_int_mode new_mode; in find_shift_sequence() local 1711 new_mode = new_mode_iter.require (); in find_shift_sequence() 1712 if (GET_MODE_BITSIZE (new_mode) > BITS_PER_WORD) in find_shift_sequence() 1730 byte = subreg_lowpart_offset (read_mode, new_mode); in find_shift_sequence() 1731 ret = simplify_subreg (read_mode, ret, new_mode, byte); in find_shift_sequence() 1746 && !TRULY_NOOP_TRUNCATION_MODES_P (new_mode, store_mode)) in find_shift_sequence() 1752 && !targetm.modes_tieable_p (new_mode, store_mode)) in find_shift_sequence() 1755 new_reg = gen_reg_rtx (new_mode); in find_shift_sequence() 1762 target = expand_binop (new_mode, lshr_optab, new_reg, in find_shift_sequence() 1763 gen_int_shift_amount (new_mode, shift), in find_shift_sequence() [all …]
|
H A D | expmed.c | 1650 new_mode = VOIDmode; in extract_bit_field_1() 1653 if (new_mode != VOIDmode in extract_bit_field_1() 1664 if (new_mode != GET_MODE (op0)) in extract_bit_field_1() 1687 machine_mode new_mode; in extract_bit_field_1() local 1690 new_mode = MIN_MODE_VECTOR_FLOAT; in extract_bit_field_1() 1692 new_mode = MIN_MODE_VECTOR_FRACT; in extract_bit_field_1() 1696 new_mode = MIN_MODE_VECTOR_ACCUM; in extract_bit_field_1() 1700 new_mode = MIN_MODE_VECTOR_INT; in extract_bit_field_1() 1702 FOR_EACH_MODE_FROM (new_mode, new_mode) in extract_bit_field_1() 1707 if (new_mode != VOIDmode) in extract_bit_field_1() [all …]
|
H A D | ree.c | 259 update_reg_equal_equiv_notes (rtx_insn *insn, machine_mode new_mode, in update_reg_equal_equiv_notes() argument 272 && HWI_COMPUTABLE_MODE_P (new_mode)) in update_reg_equal_equiv_notes() 283 new_mode); in update_reg_equal_equiv_notes()
|
H A D | recog.c | 668 machine_mode new_mode = is_mode; in simplify_while_replacing() local 670 new_mode = insn_data[targetm.code_for_extzv].operand[1].mode; in simplify_while_replacing() 672 new_mode = insn_data[targetm.code_for_extv].operand[1].mode; in simplify_while_replacing() 673 scalar_int_mode wanted_mode = (new_mode == VOIDmode in simplify_while_replacing() 675 : as_a <scalar_int_mode> (new_mode)); in simplify_while_replacing()
|
H A D | cse.c | 6005 machine_mode new_mode = GET_MODE (SUBREG_REG (dest)); in cse_insn() local 6022 if (GET_MODE (elt->exp) == new_mode) in cse_insn() 6027 = subreg_lowpart_offset (new_mode, GET_MODE (dest)); in cse_insn() 6028 new_src = simplify_gen_subreg (new_mode, elt->exp, in cse_insn() 6041 src_hash = HASH (new_src, new_mode); in cse_insn() 6042 src_elt = lookup (new_src, src_hash, new_mode); in cse_insn() 6051 src_hash = HASH (new_src, new_mode); in cse_insn() 6053 src_elt = insert (new_src, classp, src_hash, new_mode); in cse_insn()
|
H A D | combine.c | 3265 machine_mode new_mode in try_combine() local 3267 if (new_mode != orig_compare_mode in try_combine() 3269 added_sets_2, new_mode)) in try_combine() 3272 compare_mode = new_mode; in try_combine() 3653 && new_mode != GET_MODE (i2dest) in try_combine() 3654 && new_mode != VOIDmode in try_combine() 4168 machine_mode new_mode = GET_MODE (reg); in try_combine() local 4185 adjust_reg_mode (reg, new_mode); in try_combine() 4218 adjust_reg_mode (reg, new_mode); in try_combine() 4220 lowpart_subreg (old_mode, reg, new_mode), in try_combine() [all …]
|
H A D | reload1.c | 7147 machine_mode new_mode) in reload_adjust_reg_for_temp() argument 7158 if (GET_MODE (reg) != new_mode) in reload_adjust_reg_for_temp() 7160 if (!targetm.hard_regno_mode_ok (regno, new_mode)) in reload_adjust_reg_for_temp() 7162 if (hard_regno_nregs (regno, new_mode) > REG_NREGS (reg)) in reload_adjust_reg_for_temp() 7164 reg = reload_adjust_reg_for_mode (reg, new_mode); in reload_adjust_reg_for_temp() 7182 machine_mode new_mode = insn_data[(int) icode].operand[2].mode; in reload_adjust_reg_for_icode() local 7185 new_class, new_mode); in reload_adjust_reg_for_icode()
|
/dragonfly/contrib/gcc-4.7/gcc/ |
H A D | regcprop.c | 382 if (GET_MODE_SIZE (orig_mode) < GET_MODE_SIZE (new_mode)) in mode_change_ok() 386 return !REG_CANNOT_CHANGE_MODE_P (regno, orig_mode, new_mode); in mode_change_ok() 399 enum machine_mode new_mode, unsigned int regno, in maybe_mode_change() argument 403 && GET_MODE_SIZE (copy_mode) < GET_MODE_SIZE (new_mode)) in maybe_mode_change() 406 if (orig_mode == new_mode) in maybe_mode_change() 407 return gen_rtx_raw_REG (new_mode, regno); in maybe_mode_change() 408 else if (mode_change_ok (orig_mode, new_mode, regno)) in maybe_mode_change() 411 int use_nregs = hard_regno_nregs[copy_regno][new_mode]; in maybe_mode_change() 415 = GET_MODE_SIZE (orig_mode) - GET_MODE_SIZE (new_mode) - copy_offset; in maybe_mode_change() 422 if (HARD_REGNO_MODE_OK (regno, new_mode)) in maybe_mode_change() [all …]
|
H A D | genmodes.c | 152 new_mode (enum mode_class cl, const char *name, in new_mode() function 474 c = new_mode (cclass, xstrdup (buf), file, line); in make_complex_modes() 521 v = new_mode (vclass, xstrdup (buf), file, line); in make_vector_modes() 537 new_mode (cl, name, file, line); in make_special_mode() 549 struct mode_data *m = new_mode (MODE_INT, name, file, line); in make_int_mode() 577 struct mode_data *m = new_mode (cl, name, file, line); in make_fixed_point_mode() 593 struct mode_data *m = new_mode (MODE_FLOAT, name, file, line); in make_float_mode() 610 struct mode_data *m = new_mode (MODE_DECIMAL_FLOAT, name, file, line); in make_decimal_float_mode() 658 m = new_mode (MODE_PARTIAL_INT, name, file, line); in make_partial_integer_mode() 702 v = new_mode (vclass, xstrdup (namebuf), file, line); in make_vector_mode()
|
H A D | compare-elim.c | 445 enum machine_mode new_mode; in maybe_select_cc_mode() local 446 new_mode = SELECT_CC_MODE (cmp->uses[i].code, a, b); in maybe_select_cc_mode() 447 if (new_mode != sel_mode) in maybe_select_cc_mode() 449 sel_mode = targetm.cc_modes_compatible (sel_mode, new_mode); in maybe_select_cc_mode()
|
H A D | dse.c | 1802 enum machine_mode new_mode; in find_shift_sequence() local 1814 GET_MODE_BITSIZE (new_mode) <= BITS_PER_WORD; in find_shift_sequence() 1815 new_mode = GET_MODE_WIDER_MODE (new_mode)) in find_shift_sequence() 1826 rtx ret = simplify_subreg (new_mode, store_info->const_rhs, in find_shift_sequence() 1834 byte = subreg_lowpart_offset (read_mode, new_mode); in find_shift_sequence() 1835 ret = simplify_subreg (read_mode, ret, new_mode, byte); in find_shift_sequence() 1849 && !TRULY_NOOP_TRUNCATION_MODES_P (new_mode, store_mode)) in find_shift_sequence() 1855 && !MODES_TIEABLE_P (new_mode, store_mode)) in find_shift_sequence() 1858 new_reg = gen_reg_rtx (new_mode); in find_shift_sequence() 1865 target = expand_binop (new_mode, lshr_optab, new_reg, in find_shift_sequence() [all …]
|
H A D | expmed.c | 1274 enum machine_mode new_mode; in extract_bit_field_1() local 1277 new_mode = MIN_MODE_VECTOR_FLOAT; in extract_bit_field_1() 1279 new_mode = MIN_MODE_VECTOR_FRACT; in extract_bit_field_1() 1281 new_mode = MIN_MODE_VECTOR_UFRACT; in extract_bit_field_1() 1283 new_mode = MIN_MODE_VECTOR_ACCUM; in extract_bit_field_1() 1285 new_mode = MIN_MODE_VECTOR_UACCUM; in extract_bit_field_1() 1287 new_mode = MIN_MODE_VECTOR_INT; in extract_bit_field_1() 1289 for (; new_mode != VOIDmode ; new_mode = GET_MODE_WIDER_MODE (new_mode)) in extract_bit_field_1() 1291 && targetm.vector_mode_supported_p (new_mode)) in extract_bit_field_1() 1293 if (new_mode != VOIDmode) in extract_bit_field_1() [all …]
|
H A D | recog.c | 636 enum machine_mode new_mode in simplify_while_replacing() local 638 if (new_mode != MAX_MACHINE_MODE) in simplify_while_replacing() 639 wanted_mode = new_mode; in simplify_while_replacing() 643 enum machine_mode new_mode in simplify_while_replacing() local 645 if (new_mode != MAX_MACHINE_MODE) in simplify_while_replacing() 646 wanted_mode = new_mode; in simplify_while_replacing()
|
H A D | cse.c | 5706 enum machine_mode new_mode = GET_MODE (SUBREG_REG (dest)); in cse_insn() local 5724 if (GET_MODE (elt->exp) == new_mode) in cse_insn() 5733 - GET_MODE_SIZE (new_mode)); in cse_insn() 5735 new_src = simplify_gen_subreg (new_mode, elt->exp, in cse_insn() 5748 src_hash = HASH (new_src, new_mode); in cse_insn() 5749 src_elt = lookup (new_src, src_hash, new_mode); in cse_insn() 5758 src_hash = HASH (new_src, new_mode); in cse_insn() 5760 src_elt = insert (new_src, classp, src_hash, new_mode); in cse_insn()
|
H A D | combine.c | 3121 enum machine_mode new_mode in try_combine() local 3123 if (new_mode != orig_compare_mode in try_combine() 3125 added_sets_2, new_mode)) in try_combine() 3128 compare_mode = new_mode; in try_combine() 3490 && new_mode != GET_MODE (i2dest) in try_combine() 3491 && new_mode != VOIDmode in try_combine() 3980 adjust_reg_mode (reg, new_mode); in try_combine() 4012 adjust_reg_mode (reg, new_mode); in try_combine() 11307 enum machine_mode new_mode in simplify_comparison() local 11309 if (new_mode == MAX_MACHINE_MODE) in simplify_comparison() [all …]
|
H A D | reload1.c | 7088 enum machine_mode new_mode) in reload_adjust_reg_for_temp() argument 7099 if (GET_MODE (reg) != new_mode) in reload_adjust_reg_for_temp() 7101 if (!HARD_REGNO_MODE_OK (regno, new_mode)) in reload_adjust_reg_for_temp() 7103 if (hard_regno_nregs[regno][new_mode] in reload_adjust_reg_for_temp() 7106 reg = reload_adjust_reg_for_mode (reg, new_mode); in reload_adjust_reg_for_temp() 7124 enum machine_mode new_mode = insn_data[(int) icode].operand[2].mode; in reload_adjust_reg_for_icode() local 7127 new_class, new_mode); in reload_adjust_reg_for_icode()
|
H A D | expr.c | 2985 emit_move_change_mode (enum machine_mode new_mode, in emit_move_change_mode() argument 2992 ret = gen_rtx_MEM (new_mode, XEXP (x, 0)); in emit_move_change_mode() 3003 ret = adjust_address_nv (x, new_mode, 0); in emit_move_change_mode() 3007 ret = adjust_address (x, new_mode, 0); in emit_move_change_mode() 3018 ret = simplify_gen_subreg (new_mode, x, old_mode, 0); in emit_move_change_mode() 3020 ret = simplify_subreg (new_mode, x, old_mode, 0); in emit_move_change_mode()
|
/dragonfly/contrib/cvs-1.12/src/ |
H A D | lock.c | 186 mode_t new_mode = 0; in lock_name() local 246 new_mode = sb.st_mode; in lock_name() 260 && CVS_MKDIR (retval, new_mode) < 0) in lock_name() 269 new_mode = sb.st_mode; in lock_name() 277 if (CVS_MKDIR (retval, new_mode) < 0 in lock_name()
|
/dragonfly/sys/kern/ |
H A D | vfs_helper.c | 224 vop_helper_chmod(struct vnode *vp, mode_t new_mode, struct ucred *cred, in vop_helper_chmod() argument 241 *cur_modep |= new_mode & ALLPERMS; in vop_helper_chmod()
|
/dragonfly/contrib/wpa_supplicant/src/drivers/ |
H A D | driver_wext.c | 2270 unsigned int new_mode = mode ? IW_MODE_ADHOC : IW_MODE_INFRA; in wpa_driver_wext_set_mode() local 2274 iwr.u.mode = new_mode; in wpa_driver_wext_set_mode() 2296 if (iwr.u.mode == new_mode) { in wpa_driver_wext_set_mode() 2303 iwr.u.mode = new_mode; in wpa_driver_wext_set_mode()
|
/dragonfly/sys/dev/drm/ |
H A D | drm_edid.c | 3316 struct drm_display_mode *new_mode; in add_hdmi_mandatory_stereo_modes() local 3323 new_mode = drm_mode_duplicate(dev, mode); in add_hdmi_mandatory_stereo_modes() 3324 if (!new_mode) in add_hdmi_mandatory_stereo_modes() 3327 new_mode->flags |= mandatory->flags; in add_hdmi_mandatory_stereo_modes() 3328 list_add_tail(&new_mode->head, &stereo_modes); in add_hdmi_mandatory_stereo_modes()
|
/dragonfly/sys/sys/ |
H A D | mount.h | 791 int vop_helper_chmod(struct vnode *vp, mode_t new_mode, struct ucred *cred,
|