aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Analysis/Passes.h
diff options
context:
space:
mode:
authorAndreas Neustifter <astifter-llvm@gmx.at>2009-09-01 08:48:42 +0000
committerAndreas Neustifter <astifter-llvm@gmx.at>2009-09-01 08:48:42 +0000
commite7ddcfdebe357b4067f9c7d68d44616e11351a23 (patch)
tree55015a2a2f9978f1379a039a303df0a12403bc8c /include/llvm/Analysis/Passes.h
parent9535b314833c50bd1c7002b414a9dbabd6690b09 (diff)
downloadexternal_llvm-e7ddcfdebe357b4067f9c7d68d44616e11351a23.zip
external_llvm-e7ddcfdebe357b4067f9c7d68d44616e11351a23.tar.gz
external_llvm-e7ddcfdebe357b4067f9c7d68d44616e11351a23.tar.bz2
Preparation for Optimal Edge Profiling:
This adds a pass to verify the current profile against the flow conditions. This is very helpful when later on trying to perserve the profiling information during all passes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80666 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis/Passes.h')
-rw-r--r--include/llvm/Analysis/Passes.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/llvm/Analysis/Passes.h b/include/llvm/Analysis/Passes.h
index e687653..66ab3ea 100644
--- a/include/llvm/Analysis/Passes.h
+++ b/include/llvm/Analysis/Passes.h
@@ -109,6 +109,12 @@ namespace llvm {
//===--------------------------------------------------------------------===//
//
+ // createProfileVerifierPass - This pass verifies profiling information.
+ //
+ FunctionPass *createProfileVerifierPass();
+
+ //===--------------------------------------------------------------------===//
+ //
// createDSAAPass - This pass implements simple context sensitive alias
// analysis.
//