From 5e5252b4c926ee2bd75b36128c8fc7cdb065fca9 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 5 Oct 2003 19:15:13 +0000 Subject: [PATCH] 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 --- include/llvm/Transforms/Scalar.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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. -- 2.34.1