/* Dump expression EXPR to stderr. */ void debug_expr (expr_t expr) { switch_dump (stderr); dump_expr_1 (expr, debug_expr_flags); sel_print ("\n"); restore_dump (); }
DEBUG_FUNCTION void debug_verbose (expr_def &ref) { switch_dump (stderr); dump_expr_1 (&ref, DUMP_EXPR_ALL); sel_print ("\n"); restore_dump (); }
DEBUG_FUNCTION void debug (expr_def &ref) { switch_dump (stderr); dump_expr_1 (&ref, 0); sel_print ("\n"); restore_dump (); }
/* Dump insn I honoring FLAGS. */ void dump_insn_1 (insn_t i, int flags) { int all; all = flags & 1; if (all) flags |= DUMP_INSN_ALL; if (!sched_dump_to_dot_p) sel_print ("("); if (flags & DUMP_INSN_EXPR) { dump_expr_1 (INSN_EXPR (i), dump_expr_flags | all); sel_print (";"); } else if (flags & DUMP_INSN_PATTERN) { dump_insn_rtx_1 (i, DUMP_INSN_RTX_PATTERN | all); sel_print (";"); } else if (flags & DUMP_INSN_UID) sel_print ("uid:%d;", INSN_UID (i)); if (flags & DUMP_INSN_SEQNO) sel_print ("seqno:%d;", INSN_SEQNO (i)); if (flags & DUMP_INSN_SCHED_CYCLE) { int cycle = INSN_SCHED_CYCLE (i); if (cycle != 0) sel_print ("cycle:%d;", cycle); } if (!sched_dump_to_dot_p) sel_print (")"); }
/* Dump expression EXPR with default flags. */ void dump_expr (expr_t expr) { dump_expr_1 (expr, dump_expr_flags); }