Lines Matching refs:note
1688 rtx note; in hash_scan_set() local
1702 note = find_reg_equal_equiv_note (insn); in hash_scan_set()
1703 if (note != 0 in hash_scan_set()
1705 ? gcse_constant_p (XEXP (note, 0)) in hash_scan_set()
1706 : want_to_gcse_p (XEXP (note, 0)))) in hash_scan_set()
1707 src = XEXP (note, 0), pat = gen_rtx_SET (VOIDmode, dest, src); in hash_scan_set()
1727 && (note == NULL_RTX || ! MEM_P (XEXP (note, 0)))) in hash_scan_set()
1785 && ((note = find_reg_note (insn, REG_EQUIV, NULL_RTX)) == 0 in hash_scan_set()
1786 || ! MEM_P (XEXP (note, 0)))) in hash_scan_set()
2645 rtx note = find_reg_equal_equiv_note (insn); in try_replace_reg() local
2665 if (note != 0 && REG_NOTE_KIND (note) == REG_EQUAL) in try_replace_reg()
2666 XEXP (note, 0) = simplify_replace_rtx (XEXP (note, 0), from, to); in try_replace_reg()
2682 if (!success && note == 0 && set != 0 in try_replace_reg()
2685 note = set_unique_reg_note (insn, REG_EQUAL, copy_rtx (src)); in try_replace_reg()
2692 if (note && REG_NOTE_KIND (note) == REG_EQUAL && REG_P (XEXP (note, 0))) in try_replace_reg()
2693 remove_note (insn, note); in try_replace_reg()
2777 rtx note = find_reg_equal_equiv_note (jump); in cprop_jump() local
2779 if (note) in cprop_jump()
2781 note_src = XEXP (note, 0); in cprop_jump()
2840 remove_note (jump, note); in cprop_jump()
2913 rtx note; in cprop_insn() local
2921 note = find_reg_equal_equiv_note (insn); in cprop_insn()
2924 if (note) in cprop_insn()
2925 find_used_regs (&XEXP (note, 0), NULL); in cprop_insn()
3069 rtx note; in do_local_cprop() local
3083 && (!(note = find_reg_note (l->setting_insn, REG_EQUIV, NULL_RTX)) in do_local_cprop()
3084 || ! MEM_P (XEXP (note, 0)))) in do_local_cprop()
3139 rtx note = find_reg_equal_equiv_note (end); in adjust_libcall_notes() local
3141 if (! note) in adjust_libcall_notes()
3150 note = find_reg_equal_equiv_note (end); in adjust_libcall_notes()
3151 if (! note) in adjust_libcall_notes()
3153 if (reg_mentioned_p (newval, XEXP (note, 0))) in adjust_libcall_notes()
3160 XEXP (note, 0) = simplify_replace_rtx (XEXP (note, 0), oldreg, newval); in adjust_libcall_notes()
3190 rtx note = find_reg_note (insn, REG_LIBCALL, NULL_RTX); in local_cprop_pass() local
3192 if (note) in local_cprop_pass()
3195 *--libcall_sp = XEXP (note, 0); in local_cprop_pass()
3197 note = find_reg_note (insn, REG_RETVAL, NULL_RTX); in local_cprop_pass()
3198 if (note) in local_cprop_pass()
3200 note = find_reg_equal_equiv_note (insn); in local_cprop_pass()
3206 if (note) in local_cprop_pass()
3207 local_cprop_find_used_regs (&XEXP (note, 0), NULL); in local_cprop_pass()
3521 rtx insn, note; in bypass_block() local
3533 note = find_reg_equal_equiv_note (insn); in bypass_block()
3534 if (note) in bypass_block()
3535 find_used_regs (&XEXP (note, 0), NULL); in bypass_block()
4012 rtx note; in insert_insn_end_bb() local
4031 note = find_reg_note (insn, REG_CC_SETTER, NULL_RTX); in insert_insn_end_bb()
4032 if (note) in insert_insn_end_bb()
4033 insn = XEXP (note, 0); in insert_insn_end_bb()
4378 rtx note; in gcse_emit_move_after() local
4390 if ((note = find_reg_equal_equiv_note (insn))) in gcse_emit_move_after()
4391 eqv = XEXP (note, 0); in gcse_emit_move_after()
5912 rtx reg, base, note; in store_killed_in_insn() local
5970 note = find_reg_equal_equiv_note (insn); in store_killed_in_insn()
5971 if (! note) in store_killed_in_insn()
5973 note = XEXP (note, 0); in store_killed_in_insn()
5977 if (expr_equiv_p (note, x)) in store_killed_in_insn()
5981 return find_loads (note, x, after); in store_killed_in_insn()
6233 rtx last, insn, note; in remove_reachable_equiv_notes() local
6281 note = find_reg_equal_equiv_note (insn); in remove_reachable_equiv_notes()
6282 if (!note || !expr_equiv_p (XEXP (note, 0), mem)) in remove_reachable_equiv_notes()
6288 remove_note (insn, note); in remove_reachable_equiv_notes()
6310 rtx insn, mem, note, set, ptr, pair; in replace_store_insn() local
6337 note = find_reg_note (insn, REG_RETVAL, NULL_RTX); in replace_store_insn()
6338 if (note) in replace_store_insn()
6340 pair = XEXP (note, 0); in replace_store_insn()
6341 note = find_reg_note (pair, REG_LIBCALL, NULL_RTX); in replace_store_insn()
6342 XEXP (note, 0) = insn; in replace_store_insn()
6344 note = find_reg_note (insn, REG_LIBCALL, NULL_RTX); in replace_store_insn()
6345 if (note) in replace_store_insn()
6347 pair = XEXP (note, 0); in replace_store_insn()
6348 note = find_reg_note (pair, REG_RETVAL, NULL_RTX); in replace_store_insn()
6349 XEXP (note, 0) = insn; in replace_store_insn()
6365 note = find_reg_equal_equiv_note (insn); in replace_store_insn()
6366 if (!note || !expr_equiv_p (XEXP (note, 0), mem)) in replace_store_insn()
6372 remove_note (insn, note); in replace_store_insn()