From: Chris Lattner Date: Sun, 5 Oct 2003 19:15:13 +0000 (+0000) Subject: Add new prototype for createLowerInvokePass(). Make simplifycfg be a X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=5e5252b4c926ee2bd75b36128c8fc7cdb065fca9;p=oota-llvm.git 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 --- diff --git a/include/llvm/Transforms/Scalar.h b/include/llvm/Transforms/Scalar.h index 1c9a1299c0c..dde93c8c034 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.