From 3cf970e27f0901659f85f1f77dc71843f7c42657 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 11 Feb 2004 06:11:06 +0000 Subject: Add an important prototype llvm-svn: 11320 --- llvm/include/llvm/Analysis/ProfileInfo.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'llvm') 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 + 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 -- cgit v1.2.3