diff options
author | Duncan Sands <baldrick@free.fr> | 2008-10-01 15:25:41 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2008-10-01 15:25:41 +0000 |
commit | d65a4daeead235fbe3a66b9afcf8044df7f53bff (patch) | |
tree | 6bc0bc389541126b281b3a13ab60e2ee07d3bb9f /llvm/lib/Transforms/IPO | |
parent | 94798d31ddf28976048688699de008397b5e0d2a (diff) | |
download | bcm5719-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