Add a pass
authorChris Lattner <sabre@nondot.org>
Fri, 13 Aug 2004 03:03:44 +0000 (03:03 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 13 Aug 2004 03:03:44 +0000 (03:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15713 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Transforms/IPO.h

index 88754545c83c2ffce82d4c43d03f1e3625462962..1adc1d16f809fcea2280810d21ce0e06fe3d1e85 100644 (file)
 #ifndef LLVM_TRANSFORMS_IPO_H
 #define LLVM_TRANSFORMS_IPO_H
 
+#include <vector>
+
 namespace llvm {
 
 class Pass;
 class Function;
+class BasicBlock;
 
 //===----------------------------------------------------------------------===//
 /// createLowerSetJmpPass - This function lowers the setjmp/longjmp intrinsics
@@ -136,6 +139,11 @@ Pass *createIPConstantPropagationPass();
 ///
 Pass *createSingleLoopExtractorPass();
 
+// createBlockExtractorPass - This pass extracts all blocks (except those
+// specified in the argument list) from the functions in the module.
+//
+Pass *llvm::createBlockExtractorPass(std::vector<BasicBlock*> &BTNE);
+
 } // End llvm namespace
 
 #endif