Add more debug counter guards.
2010-06-23 Sebastian Pop <sebastian.pop@amd.com> * graphite.c (graphite_transform_loops): Add two more dbg_cnt calls. From-SVN: r163121
This commit is contained in:
parent
d4332d0017
commit
6a7441f5be
@ -1,3 +1,14 @@
|
||||
2010-08-02 Sebastian Pop <sebastian.pop@amd.com>
|
||||
|
||||
* graphite.c (graphite_transform_loops): Add two more dbg_cnt calls.
|
||||
|
||||
2010-08-02 Alexander Monakov <amonakov@ispras.ru>
|
||||
|
||||
* dbgcnt.def (graphite_scop): New counter.
|
||||
* graphite.c: Include dbgcnt.h.
|
||||
(graphite_transform_loops): Use new counter to limit transformations.
|
||||
* Makefile.in (graphite.o): Depend on DBGCNT_H.
|
||||
|
||||
2010-08-02 Sebastian Pop <sebastian.pop@amd.com>
|
||||
|
||||
* passes.c (init_optimization_passes): Add pass_graphite.
|
||||
|
@ -1,3 +1,7 @@
|
||||
2010-06-23 Sebastian Pop <sebastian.pop@amd.com>
|
||||
|
||||
* graphite.c (graphite_transform_loops): Add two more dbg_cnt calls.
|
||||
|
||||
2010-06-15 Sebastian Pop <sebastian.pop@amd.com>
|
||||
|
||||
* passes.c (init_optimization_passes): Add pass_graphite.
|
||||
|
@ -2663,7 +2663,7 @@ sese.o: sese.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
||||
pointer-set.h $(GIMPLE_H) sese.h tree-pretty-print.h
|
||||
graphite.o: graphite.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
||||
$(GGC_H) $(TREE_H) $(RTL_H) $(BASIC_BLOCK_H) $(DIAGNOSTIC_H) $(TOPLEV_H) $(DIAGNOSTIC_CORE_H) \
|
||||
$(TREE_FLOW_H) $(TREE_DUMP_H) $(TIMEVAR_H) $(CFGLOOP_H) $(GIMPLE_H) \
|
||||
$(TREE_FLOW_H) $(TREE_DUMP_H) $(TIMEVAR_H) $(CFGLOOP_H) $(GIMPLE_H) $(DBGCNT_H) \
|
||||
$(PREDICT_H) $(TREE_DATA_REF_H) tree-pass.h graphite.h \
|
||||
pointer-set.h value-prof.h graphite-ppl.h sese.h \
|
||||
graphite-scop-detection.h graphite-clast-to-gimple.h \
|
||||
|
@ -157,6 +157,7 @@ DEBUG_COUNTER (dse2)
|
||||
DEBUG_COUNTER (gcse2_delete)
|
||||
DEBUG_COUNTER (global_alloc_at_func)
|
||||
DEBUG_COUNTER (global_alloc_at_reg)
|
||||
DEBUG_COUNTER (graphite_scop)
|
||||
DEBUG_COUNTER (hoist)
|
||||
DEBUG_COUNTER (hoist_insn)
|
||||
DEBUG_COUNTER (ia64_sched2)
|
||||
|
@ -55,6 +55,7 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "gimple.h"
|
||||
#include "sese.h"
|
||||
#include "predict.h"
|
||||
#include "dbgcnt.h"
|
||||
|
||||
#ifdef HAVE_cloog
|
||||
|
||||
@ -271,18 +272,22 @@ graphite_transform_loops (void)
|
||||
sbitmap_zero (reductions);
|
||||
|
||||
for (i = 0; VEC_iterate (scop_p, scops, i, scop); i++)
|
||||
rewrite_commutative_reductions_out_of_ssa (SCOP_REGION (scop), reductions);
|
||||
if (dbg_cnt (graphite_scop))
|
||||
rewrite_commutative_reductions_out_of_ssa (SCOP_REGION (scop),
|
||||
reductions);
|
||||
|
||||
for (i = 0; VEC_iterate (scop_p, scops, i, scop); i++)
|
||||
{
|
||||
rewrite_reductions_out_of_ssa (scop);
|
||||
build_scop_bbs (scop, reductions);
|
||||
}
|
||||
if (dbg_cnt (graphite_scop))
|
||||
{
|
||||
rewrite_reductions_out_of_ssa (scop);
|
||||
build_scop_bbs (scop, reductions);
|
||||
}
|
||||
|
||||
sbitmap_free (reductions);
|
||||
|
||||
for (i = 0; VEC_iterate (scop_p, scops, i, scop); i++)
|
||||
build_poly_scop (scop);
|
||||
if (dbg_cnt (graphite_scop))
|
||||
build_poly_scop (scop);
|
||||
|
||||
for (i = 0; VEC_iterate (scop_p, scops, i, scop); i++)
|
||||
if (POLY_SCOP_P (scop)
|
||||
|
Loading…
Reference in New Issue
Block a user