From 013a8899f5d9469a835cf1f6ccb1b29f69344959 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Tue, 20 Oct 2015 23:56:37 -0600 Subject: [PATCH] Move RTL printing code from sched-vis.c into print-rtl.c * Makefile.in (OBJS): Remove sched-vis.c * sched-vis.c: Removed. Code moved into... * print-rtl.c: Here. Include cfg.h, pretty-print.h and print-rtl.h. * rtl.h: Remove prototypes for functions now living in print-rtl.c * print-rtl.h Add prototypes for new functions in print-rtl.c. * auto-inc-dec.c: Include print-rtl.h * cfgrtl.c, combine.c, final.c haifa-sched.c: Likewise. * ira.c, lra-constraints.c, lra.c, sel-sched-dump.c: Likewise. From-SVN: r229110 --- gcc/rtl.h | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'gcc/rtl.h') diff --git a/gcc/rtl.h b/gcc/rtl.h index d6edc71..ad0cf6a 100644 --- a/gcc/rtl.h +++ b/gcc/rtl.h @@ -3565,19 +3565,6 @@ extern int print_rtl_single (FILE *, const_rtx); extern int print_rtl_single_with_indent (FILE *, const_rtx, int); extern void print_inline_rtx (FILE *, const_rtx, int); -/* Functions in sched-vis.c. FIXME: Ideally these functions would - not be in sched-vis.c but in rtl.c, because they are not only used - by the scheduler anymore but for all "slim" RTL dumping. */ -extern void dump_value_slim (FILE *, const_rtx, int); -extern void dump_insn_slim (FILE *, const rtx_insn *); -extern void dump_rtl_slim (FILE *, const rtx_insn *, const rtx_insn *, - int, int); -extern void print_value (pretty_printer *, const_rtx, int); -extern void print_pattern (pretty_printer *, const_rtx, int); -extern void print_insn (pretty_printer *, const rtx_insn *, int); -extern void rtl_dump_bb_for_graph (pretty_printer *, basic_block); -extern const char *str_pattern_slim (const_rtx); - /* In stmt.c */ extern void expand_null_return (void); extern void expand_naked_return (void); -- cgit v1.1