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 | 4fb1b21b312fd91b93c50b1c625edbc1fd34cf56 (patch) | |
tree | 4b910da59683b4483716cf0cbe7a4bfaadeae17f /lib/Analysis/InstCount.cpp | |
parent | d5bc0e5f9c20a3f8e44f23ea7795ed5ccd301ca9 (diff) |
expose a ctor
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23924 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/InstCount.cpp')
-rw-r--r-- | lib/Analysis/InstCount.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Analysis/InstCount.cpp b/lib/Analysis/InstCount.cpp index bd3f4db0c3..831cead4ce 100644 --- 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. // |