summaryrefslogtreecommitdiff
path: root/lib/Target/XCore/XCoreTargetObjectFile.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2013-11-21 10:53:05 +0000
committerChandler Carruth <chandlerc@gmail.com>2013-11-21 10:53:05 +0000
commitedd2b4913433d92fa6b6b89c31a2837d1bba32a5 (patch)
tree14f4cc19077778e00a39e4005ad899cdc90b373c /lib/Target/XCore/XCoreTargetObjectFile.cpp
parent0bafaacfc96daefa43ac94fc186af71773c877a6 (diff)
downloadllvm-edd2b4913433d92fa6b6b89c31a2837d1bba32a5.tar.gz
llvm-edd2b4913433d92fa6b6b89c31a2837d1bba32a5.tar.bz2
llvm-edd2b4913433d92fa6b6b89c31a2837d1bba32a5.tar.xz
[PM] Widen the interface for invalidate on an analysis result now that
it is completely optional, and sink the logic for handling the preserved analysis set into it. This allows us to implement the delegation logic desired in the proxy module analysis for the function analysis manager where if the proxy itself is preserved we assume the set of functions hasn't changed and we do a fine grained invalidation by walking the functions in the module and running the invalidate for them all at the manager level and letting it try to invalidate any passes. This in turn makes it blindingly obvious why we should hoist the invalidate trait and have two collections of results. That allows handling invalidation for almost all analyses without indirect calls and it allows short circuiting when the preserved set is all. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195338 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/XCore/XCoreTargetObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions