summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/IPO
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2008-10-01 15:25:41 +0000
committerDuncan Sands <baldrick@free.fr>2008-10-01 15:25:41 +0000
commitd65a4daeead235fbe3a66b9afcf8044df7f53bff (patch)
tree6bc0bc389541126b281b3a13ab60e2ee07d3bb9f /llvm/lib/Transforms/IPO
parent94798d31ddf28976048688699de008397b5e0d2a (diff)
downloadbcm5719-llvm-d65a4daeead235fbe3a66b9afcf8044df7f53bff.tar.gz
bcm5719-llvm-d65a4daeead235fbe3a66b9afcf8044df7f53bff.zip
Factorize code: remove variants of "strip off
pointer bitcasts and GEP's", and centralize the logic in Value::getUnderlyingObject. The difference with stripPointerCasts is that stripPointerCasts only strips GEPs if all indices are zero, while getUnderlyingObject strips GEPs no matter what the indices are. llvm-svn: 56922
Diffstat (limited to 'llvm/lib/Transforms/IPO')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud