summaryrefslogtreecommitdiffstats
path: root/include/llvm/Transforms/IPO.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Transforms/IPO.h')
-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 e86dd3d..1ae3c81 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.