diff options
author | Sebastian Pop <sebastian.pop@amd.com> | 2010-03-31 18:37:35 +0000 |
---|---|---|
committer | Sebastian Pop <spop@gcc.gnu.org> | 2010-03-31 18:37:35 +0000 |
commit | 40bf935e85b60e7d110d028bf975558589abef8c (patch) | |
tree | 3112ba2d75744ec0c4f5aedffd5fab03d5e8e1c6 /gcc/graphite-poly.h | |
parent | 730a98461a93b4e9a302fbaafc190bdf87f2b132 (diff) | |
download | gcc-40bf935e85b60e7d110d028bf975558589abef8c.zip gcc-40bf935e85b60e7d110d028bf975558589abef8c.tar.gz gcc-40bf935e85b60e7d110d028bf975558589abef8c.tar.bz2 |
Add a verbosity parameter to clean up the comments of pretty printers.
2010-03-23 Sebastian Pop <sebastian.pop@amd.com>
* graphite-dependences.c (print_pddr): Call print_pdr with an
extra argument.
* graphite-poly.c (debug_pdr): Add an extra argument for the
verbosity level.
(print_pdr): Same.
(print_pbb_domain): Same.
(print_pbb): Same.
(print_scop_context): Same.
(print_scop): Same.
(print_cloog): Same.
(debug_pbb_domain): Same.
(debug_pbb): Same.
(print_pdrs): Same.
(debug_pdrs): Same.
(debug_scop_context): Same.
(debug_scop): Same.
(debug_cloog): Same.
(print_scop_params): Same.
(debug_scop_params): Same.
(print_iteration_domain): Same.
(print_iteration_domains): Same.
(debug_iteration_domain): Same.
(debug_iteration_domains): Same.
(print_scattering_function): Same.
(print_scattering_functions): Same.
(debug_scattering_function): Same.
(debug_scattering_functions): Same.
* graphite-poly.h (debug_pdr): Update declaration.
(print_pdr): Same.
(print_pbb_domain): Same.
(print_pbb): Same.
(print_scop_context): Same.
(print_scop): Same.
(print_cloog): Same.
(debug_pbb_domain): Same.
(debug_pbb): Same.
(print_pdrs): Same.
(debug_pdrs): Same.
(debug_scop_context): Same.
(debug_scop): Same.
(debug_cloog): Same.
(print_scop_params): Same.
(debug_scop_params): Same.
(print_iteration_domain): Same.
(print_iteration_domains): Same.
(debug_iteration_domain): Same.
(debug_iteration_domains): Same.
(print_scattering_function): Same.
(print_scattering_functions): Same.
(debug_scattering_function): Same.
(debug_scattering_functions): Same.
From-SVN: r157888
Diffstat (limited to 'gcc/graphite-poly.h')
-rw-r--r-- | gcc/graphite-poly.h | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/gcc/graphite-poly.h b/gcc/graphite-poly.h index a3c0a5d..23e1890 100644 --- a/gcc/graphite-poly.h +++ b/gcc/graphite-poly.h @@ -155,8 +155,8 @@ struct poly_dr void new_poly_dr (poly_bb_p, int, ppl_Pointset_Powerset_C_Polyhedron_t, enum poly_dr_type, void *, graphite_dim_t); void free_poly_dr (poly_dr_p); -void debug_pdr (poly_dr_p); -void print_pdr (FILE *, poly_dr_p); +void debug_pdr (poly_dr_p, int); +void print_pdr (FILE *, poly_dr_p, int); static inline scop_p pdr_scop (poly_dr_p pdr); /* The dimension of the PDR_ACCESSES polyhedron of PDR. */ @@ -346,24 +346,24 @@ extern void new_poly_bb (scop_p, void *, bool); extern void free_poly_bb (poly_bb_p); extern void debug_loop_vec (poly_bb_p); extern void schedule_to_scattering (poly_bb_p, int); -extern void print_pbb_domain (FILE *, poly_bb_p); -extern void print_pbb (FILE *, poly_bb_p); -extern void print_scop_context (FILE *, scop_p); -extern void print_scop (FILE *, scop_p); -extern void print_cloog (FILE *, scop_p); -extern void debug_pbb_domain (poly_bb_p); -extern void debug_pbb (poly_bb_p); -extern void print_pdrs (FILE *, poly_bb_p); -extern void debug_pdrs (poly_bb_p); -extern void debug_scop_context (scop_p); -extern void debug_scop (scop_p); -extern void debug_cloog (scop_p); -extern void print_scop_params (FILE *, scop_p); -extern void debug_scop_params (scop_p); -extern void print_iteration_domain (FILE *, poly_bb_p); -extern void print_iteration_domains (FILE *, scop_p); -extern void debug_iteration_domain (poly_bb_p); -extern void debug_iteration_domains (scop_p); +extern void print_pbb_domain (FILE *, poly_bb_p, int); +extern void print_pbb (FILE *, poly_bb_p, int); +extern void print_scop_context (FILE *, scop_p, int); +extern void print_scop (FILE *, scop_p, int); +extern void print_cloog (FILE *, scop_p, int); +extern void debug_pbb_domain (poly_bb_p, int); +extern void debug_pbb (poly_bb_p, int); +extern void print_pdrs (FILE *, poly_bb_p, int); +extern void debug_pdrs (poly_bb_p, int); +extern void debug_scop_context (scop_p, int); +extern void debug_scop (scop_p, int); +extern void debug_cloog (scop_p, int); +extern void print_scop_params (FILE *, scop_p, int); +extern void debug_scop_params (scop_p, int); +extern void print_iteration_domain (FILE *, poly_bb_p, int); +extern void print_iteration_domains (FILE *, scop_p, int); +extern void debug_iteration_domain (poly_bb_p, int); +extern void debug_iteration_domains (scop_p, int); extern bool scop_do_interchange (scop_p); extern bool scop_do_strip_mine (scop_p); extern bool scop_do_block (scop_p); @@ -1338,10 +1338,10 @@ extern void free_scop (scop_p); extern void free_scops (VEC (scop_p, heap) *); extern void print_generated_program (FILE *, scop_p); extern void debug_generated_program (scop_p); -extern void print_scattering_function (FILE *, poly_bb_p); -extern void print_scattering_functions (FILE *, scop_p); -extern void debug_scattering_function (poly_bb_p); -extern void debug_scattering_functions (scop_p); +extern void print_scattering_function (FILE *, poly_bb_p, int); +extern void print_scattering_functions (FILE *, scop_p, int); +extern void debug_scattering_function (poly_bb_p, int); +extern void debug_scattering_functions (scop_p, int); extern int scop_max_loop_depth (scop_p); extern int unify_scattering_dimensions (scop_p); extern bool apply_poly_transforms (scop_p); |