commit | 97f6f03c42f32a5edf59a27b56940f68c89d146b | [log] [tgz] |
---|---|---|
author | Chandler Carruth <chandlerc@gmail.com> | Sat Mar 10 08:39:09 2012 +0000 |
committer | Chandler Carruth <chandlerc@gmail.com> | Sat Mar 10 08:39:09 2012 +0000 |
tree | 72ce7ba37172714198857f83a7f51fa1f893c974 | |
parent | f604212a444c248a5909842bfff67e4476136fdb [diff] |
Refactor some methods to look through bitcasts and GEPs on pointers into a common collection of methods on Value, and share their implementation. We had two variations in two different places already, and I need the third variation for inline cost estimation. Reviewed by Duncan Sands on IRC, but further comments here welcome. llvm-svn: 152490