aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Analysis
diff options
context:
space:
mode:
authorAndreas Neustifter <astifter@gmx.at>2009-09-01 08:48:42 +0000
committerAndreas Neustifter <astifter@gmx.at>2009-09-01 08:48:42 +0000
commit76448f751688349d8dc7330dbe56ba0165878790 (patch)
tree55015a2a2f9978f1379a039a303df0a12403bc8c /include/llvm/Analysis
parentaabe25ea1ff3a49b6daa2e643cdb92ac8cc285f5 (diff)
downloadexternal_llvm-76448f751688349d8dc7330dbe56ba0165878790.zip
external_llvm-76448f751688349d8dc7330dbe56ba0165878790.tar.gz
external_llvm-76448f751688349d8dc7330dbe56ba0165878790.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')
-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.
//