summaryrefslogtreecommitdiff
path: root/lib/CodeGen/MachineRegisterInfo.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2012-03-10 08:39:09 +0000
committerChandler Carruth <chandlerc@gmail.com>2012-03-10 08:39:09 +0000
commit84dfc32ff906271c373819595e60a173624e1184 (patch)
tree0c403b25ac3430940d7e009bf0ee9b307d2e298b /lib/CodeGen/MachineRegisterInfo.cpp
parente060eb8916820fb7a2035dd14c848aa1fd545efe (diff)
downloadllvm-84dfc32ff906271c373819595e60a173624e1184.tar.gz
llvm-84dfc32ff906271c373819595e60a173624e1184.tar.bz2
llvm-84dfc32ff906271c373819595e60a173624e1184.tar.xz
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