diff options
author | Dan Gohman <gohman@apple.com> | 2012-01-17 20:51:32 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2012-01-17 20:51:32 +0000 |
commit | 7d4c87ef6eea424b7a28392ea11137ed77b44b57 (patch) | |
tree | 364d5c57197a5efd068cf374ef626b69514b6098 /include | |
parent | bc51e501a0cd3d2bea770d07fe39ea5e87726cb4 (diff) | |
download | external_llvm-7d4c87ef6eea424b7a28392ea11137ed77b44b57.zip external_llvm-7d4c87ef6eea424b7a28392ea11137ed77b44b57.tar.gz external_llvm-7d4c87ef6eea424b7a28392ea11137ed77b44b57.tar.bz2 |
Add a new PassManagerBuilder customization point,
EP_ModuleOptimizerEarly, to allow passes to be added before the
main ModulePass optimizers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148329 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Transforms/IPO/PassManagerBuilder.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/Transforms/IPO/PassManagerBuilder.h b/include/llvm/Transforms/IPO/PassManagerBuilder.h index d265bda..b4ba184 100644 --- a/include/llvm/Transforms/IPO/PassManagerBuilder.h +++ b/include/llvm/Transforms/IPO/PassManagerBuilder.h @@ -60,6 +60,10 @@ public: /// out of the frontend. EP_EarlyAsPossible, + /// EP_ModuleOptimizerEarly - This extension point allows adding passes + /// just before the main module-level optimization passes. + EP_ModuleOptimizerEarly, + /// EP_LoopOptimizerEnd - This extension point allows adding loop passes to /// the end of the loop optimizer. EP_LoopOptimizerEnd, |