New SCoPDetection detects first SCoPs.
authorVladimir Kargov <kargov@gmail.com>
Thu, 30 Sep 2010 21:19:42 +0000 (21:19 +0000)
committerSebastian Pop <spop@gcc.gnu.org>
Thu, 30 Sep 2010 21:19:42 +0000 (21:19 +0000)
commit0706c754ab81706e1508a958aae00f0490436200
treec80f3f4bdfce2a10c0d3dabf4d249b938ae0b8e3
parentda8cebd1e54aa2d53027883a840380c9d12d33d1
New SCoPDetection detects first SCoPs.

2010-09-02  Vladimir Kargov  <kargov@gmail.com>

* graphite-scop-detection.c (is_valid_expr_p, is_valid_loop_p): New.
(is_valid_stmt_p): Add data reference and operation-specific checks.
(is_valid_bb_p): Change structure, add loop validity check.
(is_scop_p): Move the TODO list
(find_scops_new): New.
(build_scops_new): Move part of functionality to find_scops_new and
build_scops.  Add necessary steps for successful SCoP construction.
(build_scops): Compute SCoP sets for both detection algorithms, choose
the resulting one depending on static condition.

From-SVN: r164796
gcc/ChangeLog.graphite