aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Transforms
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Transforms')
-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 de9d37c4e8..4004c7fd95 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