summaryrefslogtreecommitdiffstats
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
commit3cf970e27f0901659f85f1f77dc71843f7c42657 (patch)
tree6fdec219ac745c78cb9a7438d021c2d3ea44b6ab
parentb8263bb809d38453c2e4c9dd8a641f106bb4c8e3 (diff)
downloadbcm5719-llvm-3cf970e27f0901659f85f1f77dc71843f7c42657.tar.gz
bcm5719-llvm-3cf970e27f0901659f85f1f77dc71843f7c42657.zip
Add an important prototype
llvm-svn: 11320
-rw-r--r--llvm/include/llvm/Analysis/ProfileInfo.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/include/llvm/Analysis/ProfileInfo.h b/llvm/include/llvm/Analysis/ProfileInfo.h
index 4cdce4f97d1..10b31d5dede 100644
--- a/llvm/include/llvm/Analysis/ProfileInfo.h
+++ b/llvm/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
OpenPOWER on IntegriCloud