aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Transforms
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2012-03-23 23:22:59 +0000
committerKostya Serebryany <kcc@google.com>2012-03-23 23:22:59 +0000
commit1db394921b9635980555cc8d7e0d05b5e885784f (patch)
treebbfb86aa895aa35188ee8d80bbe5e6eddaa5b295 /include/llvm/Transforms
parenta20689fd7e7fa095276491ff238f248339d28800 (diff)
downloadexternal_llvm-1db394921b9635980555cc8d7e0d05b5e885784f.zip
external_llvm-1db394921b9635980555cc8d7e0d05b5e885784f.tar.gz
external_llvm-1db394921b9635980555cc8d7e0d05b5e885784f.tar.bz2
add EP_OptimizerLast extension point
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153353 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Transforms')
-rw-r--r--include/llvm/Transforms/IPO/PassManagerBuilder.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/Transforms/IPO/PassManagerBuilder.h b/include/llvm/Transforms/IPO/PassManagerBuilder.h
index a1b4f5c..734f37e 100644
--- a/include/llvm/Transforms/IPO/PassManagerBuilder.h
+++ b/include/llvm/Transforms/IPO/PassManagerBuilder.h
@@ -73,6 +73,10 @@ public:
/// cleanup-ish optimizations.
EP_ScalarOptimizerLate,
+ /// EP_OptimizerLast -- This extension point allows adding passes that
+ /// run after everything else.
+ EP_OptimizerLast,
+
/// EP_EnabledOnOptLevel0 - This extension point allows adding passes that
/// should not be disabled by O0 optimization level. The passes will be
/// inserted after the inlining pass.