aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-02-11 06:11:06 +0000
committerChris Lattner <sabre@nondot.org>2004-02-11 06:11:06 +0000
commit54a6662da36d2c45d33c2a20883d197720e28a8d (patch)
tree9bca97eebd8e56c337b5e89d9d5ce85bd9836488
parentecefc96f05a904e1932f0c9508fcd926d501099d (diff)
Add an important prototype
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11320 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Analysis/ProfileInfo.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/llvm/Analysis/ProfileInfo.h b/include/llvm/Analysis/ProfileInfo.h
index 4cdce4f97d..10b31d5ded 100644
--- a/include/llvm/Analysis/ProfileInfo.h
+++ b/include/llvm/Analysis/ProfileInfo.h
@@ -21,8 +21,16 @@
#ifndef LLVM_ANALYSIS_PROFILEINFO_H
#define LLVM_ANALYSIS_PROFILEINFO_H
+#include <string>
+
namespace llvm {
class BasicBlock;
+ class Pass;
+
+ /// createProfileLoaderPass - This function returns a Pass that loads the
+ /// profiling information for the module from the specified filename, making
+ /// it available to the optimizers.
+ Pass *createProfileLoaderPass(const std::string &Filename);
struct ProfileInfo {
virtual ~ProfileInfo(); // We want to be subclassed