Add an important prototype

llvm-svn: 11320
This commit is contained in:
Chris Lattner 2004-02-11 06:11:06 +00:00
parent 36f91c80f4
commit 19d997875e

View File

@ -21,8 +21,16 @@
#ifndef LLVM_ANALYSIS_PROFILEINFO_H #ifndef LLVM_ANALYSIS_PROFILEINFO_H
#define LLVM_ANALYSIS_PROFILEINFO_H #define LLVM_ANALYSIS_PROFILEINFO_H
#include <string>
namespace llvm { namespace llvm {
class BasicBlock; 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 { struct ProfileInfo {
virtual ~ProfileInfo(); // We want to be subclassed virtual ~ProfileInfo(); // We want to be subclassed