gimple-pretty-print.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. /* Various declarations for pretty formatting of GIMPLE statements and
  2. expressions.
  3. Copyright (C) 2000-2015 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 "pretty-print.h"
  19. #include "tree-pretty-print.h"
  20. /* In gimple-pretty-print.c */
  21. extern void debug_gimple_stmt (gimple);
  22. extern void debug_gimple_seq (gimple_seq);
  23. extern void print_gimple_seq (FILE *, gimple_seq, int, int);
  24. extern void print_gimple_stmt (FILE *, gimple, int, int);
  25. extern void debug (gimple_statement_base &ref);
  26. extern void debug (gimple_statement_base *ptr);
  27. extern void print_gimple_expr (FILE *, gimple, int, int);
  28. extern void pp_gimple_stmt_1 (pretty_printer *, gimple, int, int);
  29. extern void gimple_dump_bb (FILE *, basic_block, int, int);
  30. extern void gimple_dump_bb_for_graph (pretty_printer *, basic_block);
  31. #endif /* ! GCC_GIMPLE_PRETTY_PRINT_H */