Refactor graphite-isl-ast-to-gimple.c
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 20 Jul 2015 18:02:49 +0000 (18:02 +0000)
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 20 Jul 2015 18:02:49 +0000 (18:02 +0000)
commitbdb780099de4b7faac9325c59c2bfa8cb3d72a51
tree831ac1ab7bab2f7c6f763a8aacbf15920b32b776
parent0fc32b111e7af0c91d5273a48f7b9b803df6e878
Refactor graphite-isl-ast-to-gimple.c

Refactor graphite-isl-ast-to-gimple.c:
Refactor so that each function can access 'region'. This will help
maintain a parameter rename_map within a region. No functional change intended.
This patch will be followed by another set of patches
where translate_isl_ast_to_gimple::region is used to keep parameters which need
renaming. Since we are planning to remove limit_scops, we now have to maintain a
set of parameters which needs renaming. This refactoring helps avoid passing
`region' to all the functions in this file.

It passes bootstrap and regtest.

gcc/ChangeLog:

2015-07-19  Aditya Kumar  <hiraditya@msn.com>

        * graphite-isl-ast-to-gimple.c:
Refactor so that each function can access 'region'. This will help
maintain a parameter rename_map within a region.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@226014 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/graphite-isl-ast-to-gimple.c