mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-17 21:29:02 +00:00
expose a ctor
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23924 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -11,6 +11,7 @@
|
|||||||
//
|
//
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
|
#include "llvm/Analysis/Passes.h"
|
||||||
#include "llvm/Pass.h"
|
#include "llvm/Pass.h"
|
||||||
#include "llvm/Function.h"
|
#include "llvm/Function.h"
|
||||||
#include "llvm/Support/InstVisitor.h"
|
#include "llvm/Support/InstVisitor.h"
|
||||||
@@ -57,6 +58,8 @@ namespace {
|
|||||||
"Counts the various types of Instructions");
|
"Counts the various types of Instructions");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
FunctionPass *llvm::createInstCountPass() { return new InstCount(); }
|
||||||
|
|
||||||
// InstCount::run - This is the main Analysis entry point for a
|
// InstCount::run - This is the main Analysis entry point for a
|
||||||
// function.
|
// function.
|
||||||
//
|
//
|
||||||
|
Reference in New Issue
Block a user