diff options
author | Chris Lattner <sabre@nondot.org> | 2005-10-24 01:00:45 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-10-24 01:00:45 +0000 |
commit | ca014adf8ee758aea755a17786a85d3a29d963ce (patch) | |
tree | da14370508011a669453877085ffed054984923d /llvm/lib/Analysis/InstCount.cpp | |
parent | 71a15b5b83785053edee397b5992b89a376016d0 (diff) | |
download | bcm5719-llvm-ca014adf8ee758aea755a17786a85d3a29d963ce.tar.gz bcm5719-llvm-ca014adf8ee758aea755a17786a85d3a29d963ce.zip |
expose a ctor
llvm-svn: 23924
Diffstat (limited to 'llvm/lib/Analysis/InstCount.cpp')
-rw-r--r-- | llvm/lib/Analysis/InstCount.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Analysis/InstCount.cpp b/llvm/lib/Analysis/InstCount.cpp index bd3f4db0c35..831cead4ce0 100644 --- a/llvm/lib/Analysis/InstCount.cpp +++ b/llvm/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. // |