OSDN Git Service

WholeProgramDevirt: Move logic for finding devirtualizable call sites to Analysis.
authorPeter Collingbourne <peter@pcc.me.uk>
Tue, 10 May 2016 17:34:21 +0000 (17:34 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Tue, 10 May 2016 17:34:21 +0000 (17:34 +0000)
commit190db6acaa60b447222d52cf612a7d303c55ef04
tree19b12de086d7f3db8eeb6e75ce3d7d4ddd747d1b
parent3bd20c6a9f6821b99843a00f8b35fe76d1c8b592
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
include/llvm/Analysis/BitSetUtils.h [new file with mode: 0644]
lib/Analysis/BitSetUtils.cpp [new file with mode: 0644]
lib/Analysis/CMakeLists.txt
lib/Transforms/IPO/WholeProgramDevirt.cpp