aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-10-05 19:15:13 +0000
committerChris Lattner <sabre@nondot.org>2003-10-05 19:15:13 +0000
commit5e5252b4c926ee2bd75b36128c8fc7cdb065fca9 (patch)
tree5ad2feb4d19e719c5abb7a064cd5daa92ad995b9
parent86e4445ec3da628f6af0bdc46c16ed6b39173746 (diff)
downloadexternal_llvm-5e5252b4c926ee2bd75b36128c8fc7cdb065fca9.zip
external_llvm-5e5252b4c926ee2bd75b36128c8fc7cdb065fca9.tar.gz
external_llvm-5e5252b4c926ee2bd75b36128c8fc7cdb065fca9.tar.bz2
Add new prototype for createLowerInvokePass(). Make simplifycfg be a
functionpass git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8870 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Transforms/Scalar.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/include/llvm/Transforms/Scalar.h b/include/llvm/Transforms/Scalar.h
index 1c9a129..dde93c8 100644
--- a/include/llvm/Transforms/Scalar.h
+++ b/include/llvm/Transforms/Scalar.h
@@ -197,7 +197,7 @@ Pass *createTailDuplicationPass();
// CFG Simplification - Merge basic blocks, eliminate unreachable blocks,
// simplify terminator instructions, etc...
//
-Pass *createCFGSimplificationPass();
+FunctionPass *createCFGSimplificationPass();
//===----------------------------------------------------------------------===//
@@ -261,6 +261,15 @@ FunctionPass *createLowerAllocationsPass();
//
FunctionPass *createLowerSwitchPass();
+
+//===----------------------------------------------------------------------===//
+// This pass converts 'invoke' instructions calls, and 'unwind' instructions
+// into calls to abort().
+//
+FunctionPass *createLowerInvokePass();
+
+
+
//===----------------------------------------------------------------------===//
//
// These functions removes symbols from functions and modules.