diff options
-rw-r--r-- | include/llvm/Transforms/Scalar.h | 11 |
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. |