Add an important prototype
authorChris Lattner <sabre@nondot.org>
Wed, 11 Feb 2004 06:11:06 +0000 (06:11 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 11 Feb 2004 06:11:06 +0000 (06:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11320 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/ProfileInfo.h

index 4cdce4f97d1c32d62844c961134e2a90a3a3ec34..10b31d5dede4f9072e2db26dab50abcc8fb38401 100644 (file)
 #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