summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/PassManager.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2013-11-23 01:25:07 +0000
committerChandler Carruth <chandlerc@gmail.com>2013-11-23 01:25:07 +0000
commitc1ff9ed6e0d9a78de74699c42754eabb4389cc1d (patch)
tree6cddee3e4adada9d6b51ab81c1888d882aa04418 /llvm/lib/IR/PassManager.cpp
parent2ad185836f27fe9783ee545b42093d0f9648352a (diff)
downloadbcm5719-llvm-c1ff9ed6e0d9a78de74699c42754eabb4389cc1d.tar.gz
bcm5719-llvm-c1ff9ed6e0d9a78de74699c42754eabb4389cc1d.zip
[PM] Complete the cross-layer interfaces with a Module-to-Function
proxy. This lets a function pass query a module analysis manager. However, the interface is const to indicate that only cached results can be safely queried. With this, I think the new pass manager is largely functionally complete for modules and analyses. Still lots to test, and need to generalize to SCCs and Loops, and need to build an adaptor layer to support the use of existing Pass objects in the new managers. llvm-svn: 195538
Diffstat (limited to 'llvm/lib/IR/PassManager.cpp')
-rw-r--r--llvm/lib/IR/PassManager.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/IR/PassManager.cpp b/llvm/lib/IR/PassManager.cpp
index bbfc304e6dd..05aea0743ae 100644
--- a/llvm/lib/IR/PassManager.cpp
+++ b/llvm/lib/IR/PassManager.cpp
@@ -170,3 +170,5 @@ bool FunctionAnalysisManagerModuleProxy::Result::invalidate(
// Return false to indicate that this result is still a valid proxy.
return false;
}
+
+char ModuleAnalysisManagerFunctionProxy::PassID;
OpenPOWER on IntegriCloud