Add a new prototype

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13685 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2004-05-23 21:16:13 +00:00
parent 5a24d70d99
commit bab838e76d

View File

@ -279,12 +279,21 @@ FunctionPass *createLowerSelectPass(bool OnlyFP = false);
// handling mechanisms. Note that after this pass runs the CFG is not entirely // handling mechanisms. Note that after this pass runs the CFG is not entirely
// accurate (exceptional control flow edges are not correct anymore) so only // accurate (exceptional control flow edges are not correct anymore) so only
// very simple things should be done after the lowerinvoke pass has run (like // very simple things should be done after the lowerinvoke pass has run (like
// generation of native code). This should not be used as a general purpose "my // generation of native code). This should *NOT* be used as a general purpose
// LLVM-to-LLVM pass doesn't support the invoke instruction yet" lowering pass. // "my LLVM-to-LLVM pass doesn't support the invoke instruction yet" lowering
// pass.
// //
FunctionPass *createLowerInvokePass(); FunctionPass *createLowerInvokePass();
extern const PassInfo *LowerInvokePassID; extern const PassInfo *LowerInvokePassID;
//===----------------------------------------------------------------------===//
/// createLowerGCPass - This function returns an instance of the "lowergc"
/// pass, which lowers garbage collection intrinsics to normal LLVM code.
///
FunctionPass *createLowerGCPass();
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
// //
// These functions removes symbols from functions and modules. // These functions removes symbols from functions and modules.