summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/Analysis.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2016-03-10 11:08:44 +0000
committerChandler Carruth <chandlerc@gmail.com>2016-03-10 11:08:44 +0000
commit1ecd740cf0b99a7c2ac79fdfdf08338588296910 (patch)
tree0802c9b569548e07b9145558cfe3a01c051bad15 /llvm/lib/Analysis/Analysis.cpp
parent5f432292a672f13549656ee3639f5916c3e01586 (diff)
downloadbcm5719-llvm-1ecd740cf0b99a7c2ac79fdfdf08338588296910.tar.gz
bcm5719-llvm-1ecd740cf0b99a7c2ac79fdfdf08338588296910.zip
[CG] Actually hoist up the generic CallGraphPrinter pass from a weird
location in the opt tool to live along side the analysis in LLVM's libraries. No functionality changed here, but this will allow me to port the printer to the new pass manager as well. llvm-svn: 263101
Diffstat (limited to 'llvm/lib/Analysis/Analysis.cpp')
-rw-r--r--llvm/lib/Analysis/Analysis.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Analysis/Analysis.cpp b/llvm/lib/Analysis/Analysis.cpp
index 4048146515f..77d89dcd7b5 100644
--- a/llvm/lib/Analysis/Analysis.cpp
+++ b/llvm/lib/Analysis/Analysis.cpp
@@ -27,6 +27,7 @@ void llvm::initializeAnalysis(PassRegistry &Registry) {
initializeBranchProbabilityInfoWrapperPassPass(Registry);
initializeCallGraphWrapperPassPass(Registry);
initializeCallGraphDOTPrinterPass(Registry);
+ initializeCallGraphPrinterLegacyPassPass(Registry);
initializeCallGraphViewerPass(Registry);
initializeCostModelAnalysisPass(Registry);
initializeCFGViewerPass(Registry);
OpenPOWER on IntegriCloud