Introduce class rtx_reader
[official-gcc.git] / gcc / print-rtl.h
blobe585a639602d1e7ce3729823d06c40210e72695a
1 /* Print RTL for GCC.
2 Copyright (C) 1987-2016 Free Software Foundation, Inc.
4 This file is part of GCC.
6 GCC is free software; you can redistribute it and/or modify it under
7 the terms of the GNU General Public License as published by the Free
8 Software Foundation; either version 3, or (at your option) any later
9 version.
11 GCC is distributed in the hope that it will be useful, but WITHOUT ANY
12 WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 for more details.
16 You should have received a copy of the GNU General Public License
17 along with GCC; see the file COPYING3. If not see
18 <http://www.gnu.org/licenses/>. */
20 #ifndef GCC_PRINT_RTL_H
21 #define GCC_PRINT_RTL_H
23 #ifdef BUFSIZ
24 extern void print_rtl (FILE *, const_rtx);
25 #endif
26 extern void print_rtx_insn_vec (FILE *file, const vec<rtx_insn *> &vec);
28 extern void dump_value_slim (FILE *, const_rtx, int);
29 extern void dump_insn_slim (FILE *, const rtx_insn *);
30 extern void dump_rtl_slim (FILE *, const rtx_insn *, const rtx_insn *,
31 int, int);
32 extern void print_value (pretty_printer *, const_rtx, int);
33 extern void print_pattern (pretty_printer *, const_rtx, int);
34 extern void print_insn (pretty_printer *pp, const rtx_insn *x, int verbose);
36 extern void rtl_dump_bb_for_graph (pretty_printer *, basic_block);
37 extern const char *str_pattern_slim (const_rtx);
39 #endif // GCC_PRINT_RTL_H