[PM] Add support to the analysis managers to query explicitly for cached
authorChandler Carruth <chandlerc@gmail.com>
Sat, 23 Nov 2013 00:38:42 +0000 (00:38 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sat, 23 Nov 2013 00:38:42 +0000 (00:38 +0000)
commitb88831b204bcc1645097dafee64efa2b6a91df2d
tree2323e483a8524cb8b208e0e043b851910b4f82e2
parent43d67d01e2e32c51ec974e4f5c67343c6bf524a1
[PM] Add support to the analysis managers to query explicitly for cached
results.

This is the last piece of infrastructure needed to effectively support
querying *up* the analysis layers. The next step will be to introduce
a proxy which provides access to those layers with appropriate use of
const to direct queries to the safe interface.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195525 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/PassManager.h
lib/IR/PassManager.cpp
unittests/IR/PassManagerTest.cpp