diff options
author | Sebastian Pop <pop@cri.ensmp.fr> | 2004-07-16 19:55:47 +0200 |
---|---|---|
committer | Sebastian Pop <spop@gcc.gnu.org> | 2004-07-16 17:55:47 +0000 |
commit | 4619c7017fd62d7df2b73d57c492f30a173b8394 (patch) | |
tree | a2652fbc3bf785d92087b4b70ea0f48b74376763 /gcc/tree-pretty-print.c | |
parent | 58ec6ece35f6af8ea22b4b483b44b49aa5b64056 (diff) | |
download | gcc-4619c7017fd62d7df2b73d57c492f30a173b8394.zip gcc-4619c7017fd62d7df2b73d57c492f30a173b8394.tar.gz gcc-4619c7017fd62d7df2b73d57c492f30a173b8394.tar.bz2 |
Makefile.in (tree-pretty-print.o): Depend on tree-chrec.h.
* Makefile.in (tree-pretty-print.o): Depend on tree-chrec.h.
* tree-pretty-print.c: Include tree-chrec.h.
(dump_generic_node): Pretty print SCEV_KNOWN, SCEV_NOT_KNOWN
and POLYNOMIAL_CHREC nodes.
From-SVN: r84826
Diffstat (limited to 'gcc/tree-pretty-print.c')
-rw-r--r-- | gcc/tree-pretty-print.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/gcc/tree-pretty-print.c b/gcc/tree-pretty-print.c index e660b44..65d362a 100644 --- a/gcc/tree-pretty-print.c +++ b/gcc/tree-pretty-print.c @@ -31,6 +31,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA #include "tree-flow.h" #include "langhooks.h" #include "tree-iterator.h" +#include "tree-chrec.h" /* Local functions, macros and variables. */ static int op_prio (tree); @@ -1416,6 +1417,24 @@ dump_generic_node (pretty_printer *buffer, tree node, int spc, int flags, pp_printf (buffer, "VH.%d", VALUE_HANDLE_ID (node)); break; + case SCEV_KNOWN: + pp_string (buffer, "scev_known"); + break; + + case SCEV_NOT_KNOWN: + pp_string (buffer, "scev_not_known"); + break; + + case POLYNOMIAL_CHREC: + pp_string (buffer, "{"); + dump_generic_node (buffer, CHREC_LEFT (node), spc, flags, false); + pp_string (buffer, ", +, "); + dump_generic_node (buffer, CHREC_RIGHT (node), spc, flags, false); + pp_string (buffer, "}_"); + dump_generic_node (buffer, CHREC_VAR (node), spc, flags, false); + is_stmt = false; + break; + default: NIY; } |