diff options
author | Bin Cheng <bin.cheng@arm.com> | 2017-12-15 12:22:24 +0000 |
---|---|---|
committer | Bin Cheng <amker@gcc.gnu.org> | 2017-12-15 12:22:24 +0000 |
commit | 1eeeda473c577152f6a1a9846b4c0df376622b95 (patch) | |
tree | 0de6009104de57d1594bee0ca244fda4f96e528c /gcc/dse.c | |
parent | 76fc4a85933e84c70c0441d7d87935d805694052 (diff) | |
download | gcc-1eeeda473c577152f6a1a9846b4c0df376622b95.zip gcc-1eeeda473c577152f6a1a9846b4c0df376622b95.tar.gz gcc-1eeeda473c577152f6a1a9846b4c0df376622b95.tar.bz2 |
gimple-loop-interchange.cc (STMT_COST_RATIO): New macro.
* gimple-loop-interchange.cc (STMT_COST_RATIO): New macro.
(loop_cand::m_num_stmts, loop_cand::m_const_init_reduc): New members.
(loop_cand::loop_cand): Initialize above members.
(loop_cand::supported_operations): Delete.
(loop_cand::can_interchange_p): Inline above function.
(loop_cand::classify_simple_reduction): Record number of constant
initialized simple reductions.
(should_interchange_loops): New parameters. Check stmt cost of loops
to be interchange.
(tree_loop_interchange::interchange): Prepare stmt cost of outer loop.
Update call to should_interchange_loops.
(should_interchange_loop_nest): Update call to
should_interchange_loops.
From-SVN: r255691
Diffstat (limited to 'gcc/dse.c')
0 files changed, 0 insertions, 0 deletions