This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On 12-09-28 4:43 AM, Steven Bosscher wrote:It seems to me this change ought to go forward now (rename to print-rtl-slim.c and add print_value_slim.On Fri, Sep 28, 2012 at 12:57 AM, Vladimir Makarov <vmakarov@redhat.com> wrote:LRA outputs a lot debug information about insns. I found that using slim insn/rtl presentation helps a lot for LRA debuging. The following patch makes slim presentation printing functions visible to LRA. It also implements one more such function.
2012-09-27 Vladimir Makarov <vmakarov@redhat.com>
* rtl.h (debug_bb_n_slim, debug_bb_slim, print_value_slim): New prototypes. (debug_rtl_slim, debug_insn_slim): Ditto. * sched-vis.c (print_value_slim): New.I have patches in the works to use the slim RTL dumping format more, too, and to use the pretty-printer code so that printing strings with escaped characters can be made more transparent (e.g. for use in GraphViz dumps).That would be nice. Slim printing is very useful for LRA which prints a lot of changes in RTL code during all its work. Regular printing is unreadable because of its volume. For LRA debugging I usually find a suspicious place in slim dump and if I need more info I use regular dump of the suspicious insn.Perhaps it's time to rename sched-vis.c to print-rtl-slim.c? :-)Yes, the name sched-vis.c is very misleading.
+/* Prints rtxes, I customarily classified as values. They're + constants, registers, labels, symbols and memory accesses. Print + them to file F. */
/* Print X, an RTL value node, to file F in slim format. Include additional information if VERBOSE is nonzero.
Value nodes are constants, registers, labels, symbols and memory. */
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |