PR rtl-optimization/82913
[official-gcc.git] / gcc / gimple-pretty-print.h
blob08720f4593661c7a0a4b929813c2ed840f05b512
1 /* Various declarations for pretty formatting of GIMPLE statements and
2 expressions.
3 Copyright (C) 2000-2017 Free Software Foundation, Inc.
5 This file is part of GCC.
7 GCC is free software; you can redistribute it and/or modify it under
8 the terms of the GNU General Public License as published by the Free
9 Software Foundation; either version 3, or (at your option) any later
10 version.
12 GCC is distributed in the hope that it will be useful, but WITHOUT ANY
13 WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
15 for more details.
17 You should have received a copy of the GNU General Public License
18 along with GCC; see the file COPYING3. If not see
19 <http://www.gnu.org/licenses/>. */
21 #ifndef GCC_GIMPLE_PRETTY_PRINT_H
22 #define GCC_GIMPLE_PRETTY_PRINT_H
24 #include "tree-pretty-print.h"
26 /* In gimple-pretty-print.c */
27 extern void debug_gimple_stmt (gimple *);
28 extern void debug_gimple_seq (gimple_seq);
29 extern void print_gimple_seq (FILE *, gimple_seq, int, dump_flags_t);
30 extern void print_gimple_stmt (FILE *, gimple *, int, dump_flags_t = TDF_NONE);
31 extern void debug (gimple &ref);
32 extern void debug (gimple *ptr);
33 extern void print_gimple_expr (FILE *, gimple *, int, dump_flags_t = TDF_NONE);
34 extern void pp_gimple_stmt_1 (pretty_printer *, gimple *, int, dump_flags_t);
35 extern void gimple_dump_bb (FILE *, basic_block, int, dump_flags_t);
36 extern void gimple_dump_bb_for_graph (pretty_printer *, basic_block);
37 extern void dump_ssaname_info_to_file (FILE *, tree, int);
38 extern void percent_G_format (text_info *);
40 #endif /* ! GCC_GIMPLE_PRETTY_PRINT_H */