aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-02-26 20:04:59 +0000
committerChris Lattner <sabre@nondot.org>2002-02-26 20:04:59 +0000
commiteded4916d6679a8c42e5f16d022afe0252c2df8e (patch)
tree9cd3acd6d1bf66eeb5317ebfaa0d872399a51950 /include/llvm
parentdc9a1f5ce813d7d397726106bb796520c47d20e6 (diff)
downloadexternal_llvm-eded4916d6679a8c42e5f16d022afe0252c2df8e.zip
external_llvm-eded4916d6679a8c42e5f16d022afe0252c2df8e.tar.gz
external_llvm-eded4916d6679a8c42e5f16d022afe0252c2df8e.tar.bz2
Move ProfilePaths class into ProfilePaths library, only expose a creation function
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1812 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r--include/llvm/Transforms/Instrumentation/ProfilePaths.h14
1 files changed, 4 insertions, 10 deletions
diff --git a/include/llvm/Transforms/Instrumentation/ProfilePaths.h b/include/llvm/Transforms/Instrumentation/ProfilePaths.h
index de9d37c..4004c7f 100644
--- a/include/llvm/Transforms/Instrumentation/ProfilePaths.h
+++ b/include/llvm/Transforms/Instrumentation/ProfilePaths.h
@@ -27,17 +27,11 @@
#ifndef LLVM_TRANSFORMS_INSTRUMENTATION_PROFILE_PATHS_H
#define LLVM_TRANSFORMS_INSTRUMENTATION_PROFILE_PATHS_H
-#include "llvm/Pass.h"
+class Pass;
-class ProfilePaths: public MethodPass {
- public:
- bool runOnMethod(Method *M);
-
- // getAnalysisUsageInfo - transform cfg to have just one exit node
- virtual void getAnalysisUsageInfo(Pass::AnalysisSet &Requires,
- Pass::AnalysisSet &Destroyed,
- Pass::AnalysisSet &Provided);
-};
+// createProfilePathsPass - Create a new pass to add path profiling
+//
+Pass *createProfilePathsPass();
#endif