Lines Matching refs:note
924 rtx set, note; in combine_instructions() local
927 && (note = find_reg_equal_equiv_note (temp)) != 0 in combine_instructions()
928 && (note = XEXP (note, 0), GET_CODE (note)) != EXPR_LIST in combine_instructions()
931 && ! unmentioned_reg_p (note, SET_SRC (set)) in combine_instructions()
932 && (GET_MODE (note) == VOIDmode in combine_instructions()
934 : GET_MODE (SET_DEST (set)) == GET_MODE (note))) in combine_instructions()
940 SET_SRC (set) = note; in combine_instructions()
943 i2mod_new_rhs = copy_rtx (note); in combine_instructions()
1173 rtx note; in can_combine_p() local
1224 && (!(note = find_reg_note (insn, REG_EH_REGION, NULL_RTX)) in can_combine_p()
1225 || INTVAL (XEXP (note, 0)) <= 0) in can_combine_p()
2507 rtx note; in try_combine() local
2513 && (!(note = find_reg_note (i3, REG_EH_REGION, NULL_RTX)) in try_combine()
2514 || INTVAL (XEXP (note, 0)) <= 0) in try_combine()
2526 && (!(note = find_reg_note (i3, REG_EH_REGION, NULL_RTX)) in try_combine()
2527 || INTVAL (XEXP (note, 0)) <= 0) in try_combine()
2977 rtx note, next; in try_combine() local
2995 for (note = REG_NOTES (undobuf.other_insn); note; note = next) in try_combine()
2997 next = XEXP (note, 1); in try_combine()
2999 if (REG_NOTE_KIND (note) == REG_UNUSED in try_combine()
3000 && ! reg_set_p (XEXP (note, 0), PATTERN (undobuf.other_insn))) in try_combine()
3002 if (REG_P (XEXP (note, 0))) in try_combine()
3003 REG_N_DEATHS (REGNO (XEXP (note, 0)))--; in try_combine()
3005 remove_note (undobuf.other_insn, note); in try_combine()
3009 for (note = new_other_notes; note; note = XEXP (note, 1)) in try_combine()
3010 if (REG_P (XEXP (note, 0))) in try_combine()
3011 REG_N_DEATHS (REGNO (XEXP (note, 0)))++; in try_combine()
5312 rtx pat = PATTERN (other_insn), note = 0; in simplify_set() local
5314 if ((recog_for_combine (&pat, other_insn, ¬e) < 0 in simplify_set()
11638 rtx note = find_regno_note (insn, REG_DEAD, regno); in remove_death() local
11640 if (note) in remove_death()
11643 remove_note (insn, note); in remove_death()
11646 return note; in remove_death()
11694 rtx note = remove_death (regno, where_dead); in move_deaths() local
11705 if (note != 0 && regno < FIRST_PSEUDO_REGISTER in move_deaths()
11706 && (GET_MODE_SIZE (GET_MODE (XEXP (note, 0))) in move_deaths()
11709 unsigned int deadregno = REGNO (XEXP (note, 0)); in move_deaths()
11712 [GET_MODE (XEXP (note, 0))]); in move_deaths()
11730 else if ((note == 0 in move_deaths()
11731 || (note != 0 in move_deaths()
11732 && (GET_MODE_SIZE (GET_MODE (XEXP (note, 0))) in move_deaths()
11742 if (note) 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()
11754 XEXP (note, 1) = *pnotes; in move_deaths()
11755 *pnotes = note; in move_deaths()
11885 rtx note, next_note; in distribute_notes() local
11888 for (note = notes; note; note = next_note) in distribute_notes()
11892 next_note = XEXP (note, 1); in distribute_notes()
11893 switch (REG_NOTE_KIND (note)) in distribute_notes()
11967 if (reg_set_p (XEXP (note, 0), PATTERN (i3))) in distribute_notes()
11972 if (! (REG_P (XEXP (note, 0)) in distribute_notes()
11973 ? find_regno_note (i3, REG_UNUSED, REGNO (XEXP (note, 0))) in distribute_notes()
11974 : find_reg_note (i3, REG_UNUSED, XEXP (note, 0)))) in distribute_notes()
11980 else if (reg_referenced_p (XEXP (note, 0), PATTERN (i3)) in distribute_notes()
11981 && ! (REG_P (XEXP (note, 0)) in distribute_notes()
11983 REGNO (XEXP (note, 0))) in distribute_notes()
11984 : find_reg_note (i3, REG_DEAD, XEXP (note, 0)))) in distribute_notes()
11986 PUT_REG_NOTE_KIND (note, REG_DEAD); in distribute_notes()
12006 && (XEXP (note, 0) == 0 || CONSTANT_P (XEXP (note, 0)))) in distribute_notes()
12014 if (reg_mentioned_p (XEXP (note, 0), PATTERN (i3))) in distribute_notes()
12017 if (i2 && reg_mentioned_p (XEXP (note, 0), PATTERN (i2))) in distribute_notes()
12031 if (reg_mentioned_p (XEXP (note, 0), PATTERN (i3)) in distribute_notes()
12034 && XEXP (XEXP (tem, 0), 0) == XEXP (note, 0))) in distribute_notes()
12038 && (reg_mentioned_p (XEXP (note, 0), PATTERN (i2)) in distribute_notes()
12041 && XEXP (XEXP (tem, 0), 0) == XEXP (note, 0)))) in distribute_notes()
12056 JUMP_LABEL (place) = XEXP (note, 0); in distribute_notes()
12059 gcc_assert (label == XEXP (note, 0)); in distribute_notes()
12070 JUMP_LABEL (place2) = XEXP (note, 0); in distribute_notes()
12073 gcc_assert (label == XEXP (note, 0)); in distribute_notes()
12096 tem = find_reg_note (XEXP (note, 0), REG_LIBCALL, NULL_RTX); in distribute_notes()
12102 else if (XEXP (note, 0) == from_insn) in distribute_notes()
12116 tem = find_reg_note (XEXP (note, 0), REG_RETVAL, NULL_RTX); in distribute_notes()
12122 else if (XEXP (note, 0) == from_insn) in distribute_notes()
12155 && !reg_overlap_mentioned_p (XEXP (note, 0), i2mod_new_rhs)) in distribute_notes()
12161 && find_reg_fusage (from_insn, USE, XEXP (note, 0))) in distribute_notes()
12163 else if (reg_referenced_p (XEXP (note, 0), PATTERN (i3))) in distribute_notes()
12166 && reg_referenced_p (XEXP (note, 0), PATTERN (i2))) in distribute_notes()
12168 else if ((rtx_equal_p (XEXP (note, 0), elim_i2) in distribute_notes()
12170 && reg_overlap_mentioned_p (XEXP (note, 0), in distribute_notes()
12172 || rtx_equal_p (XEXP (note, 0), elim_i1)) in distribute_notes()
12194 if ((REGNO (XEXP (note, 0)) >= FIRST_PSEUDO_REGISTER in distribute_notes()
12195 || !global_regs[REGNO (XEXP (note, 0))]) in distribute_notes()
12196 && reg_set_p (XEXP (note, 0), PATTERN (tem))) in distribute_notes()
12221 && rtx_equal_p (XEXP (note, 0), inner_dest) in distribute_notes()
12263 PUT_REG_NOTE_KIND (note, REG_UNUSED); in distribute_notes()
12272 REGNO (XEXP (note, 0)))) in distribute_notes()
12277 else if (reg_referenced_p (XEXP (note, 0), PATTERN (tem)) in distribute_notes()
12279 && find_reg_fusage (tem, USE, XEXP (note, 0)))) in distribute_notes()
12293 && reg_referenced_p (XEXP (note, 0), PATTERN (i2))) in distribute_notes()
12311 if (REG_NOTE_KIND (note) == REG_DEAD && place == 0 in distribute_notes()
12313 REGNO (XEXP (note, 0)))) in distribute_notes()
12323 if (place && REG_NOTE_KIND (note) == REG_DEAD) in distribute_notes()
12325 unsigned int regno = REGNO (XEXP (note, 0)); in distribute_notes()
12333 if (dead_or_set_p (place, XEXP (note, 0)) in distribute_notes()
12334 || reg_bitfield_target_p (XEXP (note, 0), PATTERN (place))) in distribute_notes()
12356 && hard_regno_nregs[regno][GET_MODE (XEXP (note, 0))] > 1) in distribute_notes()
12360 [GET_MODE (XEXP (note, 0))]; in distribute_notes()
12434 XEXP (note, 1) = REG_NOTES (place); in distribute_notes()
12435 REG_NOTES (place) = note; in distribute_notes()
12437 else if ((REG_NOTE_KIND (note) == REG_DEAD in distribute_notes()
12438 || REG_NOTE_KIND (note) == REG_UNUSED) in distribute_notes()
12439 && REG_P (XEXP (note, 0))) in distribute_notes()
12440 REG_N_DEATHS (REGNO (XEXP (note, 0)))--; in distribute_notes()
12444 if ((REG_NOTE_KIND (note) == REG_DEAD in distribute_notes()
12445 || REG_NOTE_KIND (note) == REG_UNUSED) in distribute_notes()
12446 && REG_P (XEXP (note, 0))) in distribute_notes()
12447 REG_N_DEATHS (REGNO (XEXP (note, 0)))++; in distribute_notes()
12449 REG_NOTES (place2) = gen_rtx_fmt_ee (GET_CODE (note), in distribute_notes()
12450 GET_MODE (note), in distribute_notes()
12451 XEXP (note, 0), in distribute_notes()