diff options
author | Andreas Neustifter <astifter-llvm@gmx.at> | 2009-09-01 08:48:42 +0000 |
---|---|---|
committer | Andreas Neustifter <astifter-llvm@gmx.at> | 2009-09-01 08:48:42 +0000 |
commit | e7ddcfdebe357b4067f9c7d68d44616e11351a23 (patch) | |
tree | 55015a2a2f9978f1379a039a303df0a12403bc8c /include | |
parent | 9535b314833c50bd1c7002b414a9dbabd6690b09 (diff) | |
download | external_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')
-rw-r--r-- | include/llvm/Analysis/Passes.h | 6 | ||||
-rw-r--r-- | include/llvm/LinkAllPasses.h | 1 |
2 files changed, 7 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. // diff --git a/include/llvm/LinkAllPasses.h b/include/llvm/LinkAllPasses.h index 347dba4..8d93557 100644 --- a/include/llvm/LinkAllPasses.h +++ b/include/llvm/LinkAllPasses.h @@ -94,6 +94,7 @@ namespace { (void) llvm::createNoAAPass(); (void) llvm::createNoProfileInfoPass(); (void) llvm::createProfileEstimatorPass(); + (void) llvm::createProfileVerifierPass(); (void) llvm::createProfileLoaderPass(); (void) llvm::createPromoteMemoryToRegisterPass(); (void) llvm::createDemoteRegisterToMemoryPass(); |