aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/TargetMachine.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
commit2846e9ef1529debcffcb7b10a5c289f00cd35c9f (patch)
treea71896f7692509cab54403e35887775cbb484f7b /llvm/lib/Target/TargetMachine.cpp
parent05c091455edf41709a7eeb9b3b7cdc2a644d884a (diff)
downloadllvm-2846e9ef1529debcffcb7b10a5c289f00cd35c9f.zip
llvm-2846e9ef1529debcffcb7b10a5c289f00cd35c9f.tar.gz
llvm-2846e9ef1529debcffcb7b10a5c289f00cd35c9f.tar.bz2
[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. llvm-svn: 195338
Diffstat (limited to 'llvm/lib/Target/TargetMachine.cpp')
0 files changed, 0 insertions, 0 deletions