Lines Matching refs:dest
401 optimize_reg_copy_1 (rtx insn, rtx dest, rtx src)
407 int dregno = REGNO (dest);
428 if (reg_set_p (src, p) || reg_set_p (dest, p)
476 && reg_mentioned_p (dest, PATTERN (q)))
481 else if (validate_replace_rtx (src, dest, q)
488 validate_replace_rtx (dest, src, q);
517 if (GET_MODE (XEXP (dest_death, 0)) != GET_MODE (dest))
601 optimize_reg_copy_2 (rtx insn, rtx dest, rtx src)
606 int dregno = REGNO (dest);
618 if (set && SET_SRC (set) == dest && SET_DEST (set) == src
619 && find_reg_note (p, REG_DEAD, dest))
628 if (reg_mentioned_p (dest, PATTERN (q)))
629 PATTERN (q) = replace_rtx (PATTERN (q), dest, src);
639 remove_note (p, find_reg_note (p, REG_DEAD, dest));
647 || find_reg_note (p, REG_DEAD, dest)
659 optimize_reg_copy_3 (rtx insn, rtx dest, rtx src)
663 int dst_no = REGNO (dest);
742 /* If we were not able to update the users of src to use dest directly, try
743 instead moving the value to dest directly before the operation. */
746 copy_src_to_dest (rtx insn, rtx src, rtx dest, int old_max_uid)
768 && REG_P (dest)
769 && REG_LIVE_LENGTH (REGNO (dest)) > 0
771 && !reg_mentioned_p (dest, SET_SRC (set))
772 && GET_MODE (src) == GET_MODE (dest))
776 /* Generate the src->dest move. */
778 emit_move_insn (dest, src);
783 || ! validate_replace_rtx (src, dest, insn))
829 dest_regno = REGNO (dest);
921 another add immediate instruction with the same source and dest registers,
1148 Then scan forward for an instruction which uses the dest
1150 If it dies there, then replace the dest in both operands with
1257 dest operand in both instructions. */
1891 /* The lifetime of src and dest overlap,
2340 rtx dest = SET_DEST (set);
2344 if (dest == stack_pointer_rtx
2430 && MEM_P (dest)
2431 && ((GET_CODE (XEXP (dest, 0)) == PRE_DEC
2433 == (HOST_WIDE_INT) GET_MODE_SIZE (GET_MODE (dest))))
2434 || (GET_CODE (XEXP (dest, 0)) == PRE_MODIFY
2435 && GET_CODE (XEXP (XEXP (dest, 0), 1)) == PLUS
2436 && XEXP (XEXP (XEXP (dest, 0), 1), 0) == stack_pointer_rtx
2437 && (GET_CODE (XEXP (XEXP (XEXP (dest, 0), 1), 1))
2439 && (INTVAL (XEXP (XEXP (XEXP (dest, 0), 1), 1))
2441 && XEXP (XEXP (dest, 0), 0) == stack_pointer_rtx
2443 && memory_address_p (GET_MODE (dest), stack_pointer_rtx)
2445 replace_equiv_address (dest,