diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2012-03-10 08:39:09 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2012-03-10 08:39:09 +0000 |
commit | 84dfc32ff906271c373819595e60a173624e1184 (patch) | |
tree | 0c403b25ac3430940d7e009bf0ee9b307d2e298b /lib/CodeGen/MachineRegisterInfo.cpp | |
parent | e060eb8916820fb7a2035dd14c848aa1fd545efe (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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152490 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineRegisterInfo.cpp')
0 files changed, 0 insertions, 0 deletions