[PATCH] [graphite] use debug_printer throughout graphite.

2015-10-07 Thread hiraditya
The debug_printer provides an elegant way to represent debug related statements, so we are extending its usage throughout graphite infrastructure. No functional changes intended. Passes regtest and bootstrap. gcc/ChangeLog: 2015-10-07 hiraditya * graphite-isl-ast-to-gimple.c

[PATCH] RFC: Enable graphite at -O3 -fprofile_use

2015-11-08 Thread hiraditya
Since graphite will not modify the CFG when it does not do any optimization, we would like to propose that graphite's polyhedral optimizer be enabled at -O3 -fprofile-use where, compile time is of lesser concern. gcc/ChangeLog: 2015-11-08 Aditya Kumar Sebastian Pop * gra

[PATCH 2/2] [graphite] Enable condegen in case of cond phis.

2015-11-14 Thread hiraditya
From: hiraditya The codegen of conditional PHIs inside the scop where one predecessor dominates the other was difficult so it wasn't enabled in the previous patch. After a couple of bug-fixes this has been enabled in this patch. Not all the cases could be handled in this case because it be

[PATCH 2/2] Remove individial dependence pointers and add a scop::dependence to contain all the dependence.

2015-12-15 Thread hiraditya
Removed the member variables which are only used in scop_get_dependence. Instead only maintaining the overall dependence. Passes regtest and bootstrap. gcc/ChangeLog: 2015-12-15 hiraditya * graphite-dependences.c (scop_get_dependences): Use local pointers. * graphite-isl-ast

[PATCH 1/2] [graphite] Use refs instead of values.

2015-12-15 Thread hiraditya
Passes bootstrap and regtest. gcc/ChangeLog: 2015-12-15 hiraditya * graphite-sese-to-poly.c (build_poly_sr): Use refs. --- gcc/graphite-sese-to-poly.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/graphite-sese-to-poly.c b/gcc/graphite-sese-to-poly.c

[PATCH] Use const-ref instead of values for sese_l passed to functions.

2015-12-24 Thread hiraditya
gcc/ChangeLog: 2015-12-24 hiraditya * graphite-sese-to-poly.c (build_loop_iteration_domains): Use ref instead of value. * sese.c (invariant_in_sese_p_rec): Use const ref instead of value. (scalar_evolution_in_region): Same * sese.h (bb_in_region): Same

[PATCH] [graphite] PR67842 Remove dead code.

2015-12-24 Thread hiraditya
This check is not relevant anymore. Removing. gcc/ChangeLog: 2015-12-24 hiraditya * sese.h (bb_in_region): Remove dead code. --- gcc/sese.h | 14 -- 1 file changed, 14 deletions(-) diff --git a/gcc/sese.h b/gcc/sese.h index 99df354..f7e5570 100644 --- a/gcc/sese.h +++ b