[llvm-commits] CVS: llvm/include/llvm/Analysis/ProfileInfo.h

Chris Lattner lattner at cs.uiuc.edu
Wed Feb 11 00:12:11 PST 2004


Changes in directory llvm/include/llvm/Analysis:

ProfileInfo.h updated: 1.1 -> 1.2

---
Log message:

Add an important prototype


---
Diffs of the changes:  (+8 -0)

Index: llvm/include/llvm/Analysis/ProfileInfo.h
diff -u llvm/include/llvm/Analysis/ProfileInfo.h:1.1 llvm/include/llvm/Analysis/ProfileInfo.h:1.2
--- llvm/include/llvm/Analysis/ProfileInfo.h:1.1	Tue Feb 10 16:11:42 2004
+++ llvm/include/llvm/Analysis/ProfileInfo.h	Wed Feb 11 00:11:06 2004
@@ -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





More information about the llvm-commits mailing list