aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-09-15 05:05:23 +0000
committerChris Lattner <sabre@nondot.org>2003-09-15 05:05:23 +0000
commit370910d2a0655056ccad108c2cd7490c7fe04650 (patch)
tree3e6a3ce08c9100f17bc98a2af82dd5da7905427e /include
parentf7c7f5abf88225d004e39632da0460e4fb62aaed (diff)
downloadexternal_llvm-370910d2a0655056ccad108c2cd7490c7fe04650.zip
external_llvm-370910d2a0655056ccad108c2cd7490c7fe04650.tar.gz
external_llvm-370910d2a0655056ccad108c2cd7490c7fe04650.tar.bz2
Add prototype for the lowersetjmp pass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8522 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Transforms/IPO.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/llvm/Transforms/IPO.h b/include/llvm/Transforms/IPO.h
index 4f0809a..0da6530 100644
--- a/include/llvm/Transforms/IPO.h
+++ b/include/llvm/Transforms/IPO.h
@@ -12,6 +12,13 @@ class Pass;
class Function;
//===----------------------------------------------------------------------===//
+// createLowerSetJmpPass - This function lowers the setjmp/longjmp intrinsics to
+// invoke/unwind instructions. This should really be part of the C/C++
+// front-end, but it's so much easier to write transformations in LLVM proper.
+//
+Pass* createLowerSetJmpPass();
+
+//===----------------------------------------------------------------------===//
// createConstantMergePass - This function returns a new pass that merges
// duplicate global constants together into a single constant that is shared.
// This is useful because some passes (ie TraceValues) insert a lot of string