diff options
author | Sebastian Pop <spop@gcc.gnu.org> | 2010-09-30 21:21:21 +0000 |
---|---|---|
committer | Sebastian Pop <spop@gcc.gnu.org> | 2010-09-30 21:21:21 +0000 |
commit | 03c830c2d92d3214d44102c9cfd128ceffeb341c (patch) | |
tree | 8065513565232de8d934bd7c491af04eb5593793 /gcc/graphite-cloog-compat.h | |
parent | 61c6973f4c8ee11d0f86600f54b6b776ef56830b (diff) | |
download | gcc-03c830c2d92d3214d44102c9cfd128ceffeb341c.tar.gz |
New flag: -fgraphite-dump-cloog.
Introduce a new flag: -fgraphite-dump-cloog. If enabled, graphite
dumps each SCoP into a CLooG input file for further debugging.
The naming follows the naming scheme of -fgraphite-write:
<basename>.<scopnumber>.cloog
The file is dumped into the current working directory.
2010-09-16 Andreas Simbuerger <simbuerg@fim.uni-passau.de>
* common.opt (fgraphite-dump-cloog): New flag.
* doc/invoke.texi (-fgraphite-dump-cloog): Documented.
* graphite-clast-to-gimple.c (init_cloog_input_file): New.
(build_cloog_prog): Dump CLooG input file when
flag_graphite_dump_cloog is set.
* graphite-cloog-compat.h (cloog_program_dump_cloog): New.
From-SVN: r164808
Diffstat (limited to 'gcc/graphite-cloog-compat.h')
-rw-r--r-- | gcc/graphite-cloog-compat.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/graphite-cloog-compat.h b/gcc/graphite-cloog-compat.h index 061aa47e643..b7a3b23cb5a 100644 --- a/gcc/graphite-cloog-compat.h +++ b/gcc/graphite-cloog-compat.h @@ -72,6 +72,8 @@ typedef const char *clast_name_p; #define cloog_scattering cloog_domain #define cloog_next_scattering cloog_next_domain #define cloog_scattering_free cloog_domain_free +#define cloog_program_dump_cloog(DUMPFILE, PROGRAM, SCATTERINGLIST)\ + cloog_program_dump_cloog (DUMPFILE, PROGRAM) #endif |