diff options
author | spop <spop@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-12-16 17:24:25 +0000 |
---|---|---|
committer | spop <spop@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-12-16 17:24:25 +0000 |
commit | 6fb10557280fd8b0b614816f12bedad18590d487 (patch) | |
tree | d39caa6949e1dc80b9b2ecc13bc3eea6f0a43788 /gcc/graphite-poly.c | |
parent | 1d65bac2efba67ce6235bd61fa44f79b1fcd2928 (diff) | |
download | gcc-6fb10557280fd8b0b614816f12bedad18590d487.tar.gz |
add more dumps on data dependence graph
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231703 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/graphite-poly.c')
-rw-r--r-- | gcc/graphite-poly.c | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/gcc/graphite-poly.c b/gcc/graphite-poly.c index f4bdd401877..6c01a4c1bb1 100644 --- a/gcc/graphite-poly.c +++ b/gcc/graphite-poly.c @@ -31,13 +31,15 @@ along with GCC; see the file COPYING3. If not see #include "tree.h" #include "gimple.h" #include "cfghooks.h" -#include "gimple-pretty-print.h" #include "diagnostic-core.h" #include "fold-const.h" #include "gimple-iterator.h" #include "tree-ssa-loop.h" #include "cfgloop.h" #include "tree-data-ref.h" +#include "pretty-print.h" +#include "gimple-pretty-print.h" +#include "tree-dump.h" #include <isl/constraint.h> #include <isl/set.h> @@ -147,6 +149,17 @@ new_poly_dr (poly_bb_p pbb, gimple *stmt, enum poly_dr_type type, pdr->subscript_sizes = subscript_sizes; PDR_TYPE (pdr) = type; PBB_DRS (pbb).safe_push (pdr); + + if (dump_file) + { + fprintf (dump_file, "Converting dr: "); + print_pdr (dump_file, pdr); + fprintf (dump_file, "To polyhedral representation:\n"); + fprintf (dump_file, " - access functions: "); + print_isl_map (dump_file, acc); + fprintf (dump_file, " - subscripts: "); + print_isl_set (dump_file, subscript_sizes); + } } /* Free polyhedral data reference PDR. */ |