summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-08-31 16:30:25 +0000
committerChris Lattner <sabre@nondot.org>2003-08-31 16:30:25 +0000
commitfa7f524162448d37feaa0e941a28c89ddca54e72 (patch)
tree82e4f69d0cbca95096e2777951b987da95b0bf9c /include
parentf6fb96f5591de185f45ba8cd6ba3a3d98e04a86d (diff)
downloadllvm-fa7f524162448d37feaa0e941a28c89ddca54e72.tar.gz
llvm-fa7f524162448d37feaa0e941a28c89ddca54e72.tar.bz2
llvm-fa7f524162448d37feaa0e941a28c89ddca54e72.tar.xz
Add accessor function for the PruneEH pass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8254 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Transforms/IPO.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/llvm/Transforms/IPO.h b/include/llvm/Transforms/IPO.h
index e86dd3d71b..1ae3c81b46 100644
--- a/include/llvm/Transforms/IPO.h
+++ b/include/llvm/Transforms/IPO.h
@@ -62,6 +62,12 @@ Pass *createFunctionResolvingPass();
Pass *createFunctionInliningPass();
//===----------------------------------------------------------------------===//
+// createPruneEHPass - Return a new pass object which transforms invoke
+// instructions into calls, if the callee can _not_ unwind the stack.
+//
+Pass *createPruneEHPass();
+
+//===----------------------------------------------------------------------===//
// createInternalizePass - This pass loops over all of the functions in the
// input module, looking for a main function. If a main function is found, all
// other functions are marked as internal.