Home | History | Annotate | Download | only in gcc

Lines Matching refs:undobuf

397 struct undobuf
404 static struct undobuf undobuf;
721 if (undobuf.frees)
722 buf = undobuf.frees, undobuf.frees = buf->next;
731 buf->next = undobuf.undos, undobuf.undos = buf;
749 if (undobuf.frees)
750 buf = undobuf.frees, undobuf.frees = buf->next;
759 buf->next = undobuf.undos, undobuf.undos = buf;
779 if (undobuf.frees)
780 buf = undobuf.frees, undobuf.frees = buf->next;
789 buf->next = undobuf.undos, undobuf.undos = buf;
803 if (undobuf.frees)
804 buf = undobuf.frees, undobuf.frees = buf->next;
813 buf->next = undobuf.undos, undobuf.undos = buf;
821 than the original sequence I0, I1, I2, I3 and undobuf.other_insn. Note
823 undobuf.other_insn may also both be NULL_RTX. Return false if the cost
893 if (undobuf.other_insn)
897 old_other_cost = INSN_COST (undobuf.other_insn);
898 tmp = PATTERN (undobuf.other_insn);
899 PATTERN (undobuf.other_insn) = newotherpat;
900 tmpi = INSN_CODE (undobuf.other_insn);
901 INSN_CODE (undobuf.other_insn) = -1;
902 new_other_cost = insn_cost (undobuf.other_insn,
904 PATTERN (undobuf.other_insn) = tmp;
905 INSN_CODE (undobuf.other_insn) = tmpi;
1454 for (undo = undobuf.frees; undo; undo = next)
1459 undobuf.frees = 0;
2670 undobuf.other_insn = 0;
3194 if (undobuf.other_insn == 0
3212 operator. undobuf.other_insn is assigned the CC use insn
3243 undobuf.other_insn = cc_use_insn;
3249 undobuf.other_insn = cc_use_insn;
3636 buf = undobuf.undos;
3637 undobuf.undos = buf->next;
3638 buf->next = undobuf.frees;
3639 undobuf.frees = buf;
4103 if (undobuf.other_insn)
4107 other_pat = PATTERN (undobuf.other_insn);
4108 other_code_number = recog_for_combine (&other_pat, undobuf.other_insn,
4130 for (undo = undobuf.undos; undo; undo = undo->next)
4166 last = undobuf.other_insn;
4205 if (undobuf.other_insn)
4209 PATTERN (undobuf.other_insn) = other_pat;
4214 for (note = REG_NOTES (undobuf.other_insn); note; note = next)
4220 PATTERN (undobuf.other_insn)))
4223 PATTERN (undobuf.other_insn)))
4233 remove_note (undobuf.other_insn, note);
4236 distribute_notes (new_other_notes, undobuf.other_insn,
4237 undobuf.other_insn, NULL, NULL_RTX, NULL_RTX,
4359 if (undobuf.other_insn)
4360 reset_used_flags (PATTERN (undobuf.other_insn));
4368 if (undobuf.other_insn)
4369 reset_used_flags (PATTERN (undobuf.other_insn));
4397 if (undobuf.other_insn)
4398 INSN_CODE (undobuf.other_insn) = other_code_number;
4656 if (undobuf.other_insn != NULL_RTX)
4661 dump_insn_slim (dump_file, undobuf.other_insn);
4663 df_insn_rescan (undobuf.other_insn);
4715 if (undobuf.other_insn != NULL_RTX
4716 && (returnjump_p (undobuf.other_insn)
4717 || any_uncondjump_p (undobuf.other_insn)))
4720 update_cfg_for_uncondjump (undobuf.other_insn);
4733 if (undobuf.other_insn
4734 && GET_CODE (PATTERN (undobuf.other_insn)) == TRAP_IF
4735 && XEXP (PATTERN (undobuf.other_insn), 0) == const1_rtx)
4737 basic_block bb = BLOCK_FOR_INSN (undobuf.other_insn);
4739 remove_edge (split_block (bb, undobuf.other_insn));
4755 if (undobuf.other_insn != NULL_RTX
4756 && JUMP_P (undobuf.other_insn)
4757 && GET_CODE (PATTERN (undobuf.other_insn)) == SET
4758 && SET_SRC (PATTERN (undobuf.other_insn)) == pc_rtx
4759 && SET_DEST (PATTERN (undobuf.other_insn)) == pc_rtx)
4762 update_cfg_for_uncondjump (undobuf.other_insn);
4783 return undobuf.undos;
4793 for (undo = undobuf.undos; undo != marker; undo = next)
4817 undo->next = undobuf.frees;
4818 undobuf.frees = undo;
4821 undobuf.undos = (struct undo *) marker;
4824 /* Undo all the modifications recorded in undobuf. */
4840 for (undo = undobuf.undos; undo; undo = next)
4843 undo->next = undobuf.frees;
4844 undobuf.frees = undo;
4846 undobuf.undos = 0;
5327 If they were modified, a record was made in undobuf so that
5333 undobuf.num_undo is incremented for such changes, so by testing that
6788 and try to simplify it unless we already have used undobuf.other_insn. */
6791 && (undobuf.other_insn == 0 || other_insn == undobuf.other_insn)
6827 undobuf.other_insn = other_insn;
6891 undobuf.other_insn. */
6930 undobuf.other_insn = other_insn;