gimple-pretty-print.h 1.6 KB

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