projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5bc0e5
)
expose a ctor
author
Chris Lattner
<sabre@nondot.org>
Mon, 24 Oct 2005 01:00:45 +0000
(
01:00
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 24 Oct 2005 01:00:45 +0000
(
01:00
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23924
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Analysis/InstCount.cpp
patch
|
blob
|
history
diff --git
a/lib/Analysis/InstCount.cpp
b/lib/Analysis/InstCount.cpp
index bd3f4db0c35e6c17647fb3a1ec0eccb0145d3de6..831cead4ce0aec3559cb8d74d37f569359a67884 100644
(file)
--- a/
lib/Analysis/InstCount.cpp
+++ b/
lib/Analysis/InstCount.cpp
@@
-11,6
+11,7
@@
//
//===----------------------------------------------------------------------===//
+#include "llvm/Analysis/Passes.h"
#include "llvm/Pass.h"
#include "llvm/Function.h"
#include "llvm/Support/InstVisitor.h"
@@
-57,6
+58,8
@@
namespace {
"Counts the various types of Instructions");
}
+FunctionPass *llvm::createInstCountPass() { return new InstCount(); }
+
// InstCount::run - This is the main Analysis entry point for a
// function.
//