summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/ProfileInfo.cpp
diff options
context:
space:
mode:
authorJeff Cohen <jeffc@jolt-lang.org>2005-01-08 22:01:16 +0000
committerJeff Cohen <jeffc@jolt-lang.org>2005-01-08 22:01:16 +0000
commitcede1ce95aa521dcac200d2378bd64c0751c4c1c (patch)
treed0e16e72b49f3249671bc5219207f302177f77cb /llvm/lib/Analysis/ProfileInfo.cpp
parentd7a3ee6d20cb1e6b0447c99edd23b99d041f096b (diff)
downloadbcm5719-llvm-cede1ce95aa521dcac200d2378bd64c0751c4c1c.tar.gz
bcm5719-llvm-cede1ce95aa521dcac200d2378bd64c0751c4c1c.zip
Add even more missing createXxxPass functions.
llvm-svn: 19402
Diffstat (limited to 'llvm/lib/Analysis/ProfileInfo.cpp')
-rw-r--r--llvm/lib/Analysis/ProfileInfo.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Analysis/ProfileInfo.cpp b/llvm/lib/Analysis/ProfileInfo.cpp
index 8cb1e001764..d5cd3cd9862 100644
--- a/llvm/lib/Analysis/ProfileInfo.cpp
+++ b/llvm/lib/Analysis/ProfileInfo.cpp
@@ -12,6 +12,7 @@
//
//===----------------------------------------------------------------------===//
+#include "llvm/Analysis/Passes.h"
#include "llvm/Analysis/ProfileInfo.h"
#include "llvm/Pass.h"
#include "llvm/Support/CFG.h"
@@ -90,3 +91,5 @@ namespace {
// Declare that we implement the ProfileInfo interface
RegisterAnalysisGroup<ProfileInfo, NoProfileInfo, true> Y;
} // End of anonymous namespace
+
+ImmutablePass *llvm::createNoProfileInfoPass() { return new NoProfileInfo(); }
OpenPOWER on IntegriCloud