commit | adf352bcfc24b22b75945ed45b1024943af3a690 | [log] [tgz] |
---|---|---|
author | Manasij Mukherjee <manasijm@google.com> | Tue Jul 19 13:31:36 2016 -0700 |
committer | Manasij Mukherjee <manasijm@google.com> | Tue Jul 19 13:31:36 2016 -0700 |
tree | f4e41e73ef9ddf8be4724ddd384bf4f520e7d951 | |
parent | 017a55389fd6ef05ad70870363911db0fc816d98 [diff] |
Improve LoopAnalyzer Interface Make LoopAnalyzer compute loop bodies and depth only. Move the logic for finding out loop headers and pre-headers to LoopInfo, which provides a visitor to iterate over the loops and easy access to the information. This does not change the core algorithm. BUG=None R=jpp@chromium.org, stichnot@chromium.org Review URL: https://codereview.chromium.org/2149803005 .