static int
mark_mem_use (rtx *x, void *data ATTRIBUTE_UNUSED)
{
- if (GET_CODE (*x) == MEM)
+ if (MEM_P (*x))
mem_ref_p = true;
return 0;
}
static void
mark_mem_store (rtx loc, rtx setter ATTRIBUTE_UNUSED, void *data ATTRIBUTE_UNUSED)
{
- if (GET_CODE (loc) == MEM)
+ if (MEM_P (loc))
mem_ref_p = true;
}
if (x == 0)
return false;
- if (GET_CODE (x) == MEM)
+ if (MEM_P (x))
return true;
code = GET_CODE (x);
{
if (! INSN_P (insn))
{
- if (! first_note && GET_CODE (insn) == NOTE
+ if (! first_note && NOTE_P (insn)
&& NOTE_LINE_NUMBER (insn) != NOTE_INSN_BASIC_BLOCK)
first_note = insn;
continue;
}
- if (GET_CODE (insn) == JUMP_INSN)
+ if (JUMP_P (insn))
{
if (g->closing_branch)
abort (); /* Found two branches in DDG. */