3 Commits

Author SHA1 Message Date
Peter Collingbourne
aa07a976c3 Re-apply r269081 and r269082 with a fix for MSVC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@269094 91177308-0d34-0410-b5e6-96231b3b80d8
2016-05-10 18:07:21 +00:00
Peter Collingbourne
b6f6e4455c Revert r269081 and r269082 while I try to find the right incantation to fix MSVC build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@269091 91177308-0d34-0410-b5e6-96231b3b80d8
2016-05-10 17:54:43 +00:00
Peter Collingbourne
190db6acaa WholeProgramDevirt: Move logic for finding devirtualizable call sites to Analysis.
The plan is to eventually make this logic simpler, however I expect it to
be a little tricky for the foreseeable future (at least until we're rid of
pointee types), so move it here so that it can be reused to build a summary
index for devirtualization.

Differential Revision: http://reviews.llvm.org/D20005

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@269081 91177308-0d34-0410-b5e6-96231b3b80d8
2016-05-10 17:34:21 +00:00