Add prototype for ExtractCodeRegion()
authorMisha Brukman <brukman+llvm@gmail.com>
Tue, 2 Mar 2004 00:20:32 +0000 (00:20 +0000)
committerMisha Brukman <brukman+llvm@gmail.com>
Tue, 2 Mar 2004 00:20:32 +0000 (00:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12069 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Transforms/Utils/FunctionUtils.h

index 27fe7cc1001859c21b822d1b5094311c65930c56..9ea1e28dd37cf1fc19de8afa114967f466a8ff2f 100644 (file)
@@ -7,7 +7,7 @@
 // 
 //===----------------------------------------------------------------------===//
 //
-// This family of functions perform manipulations on functions.
+// This family of transformations manipulate LLVM functions.
 //
 //===----------------------------------------------------------------------===//
 
@@ -19,6 +19,10 @@ namespace llvm {
 class Function;
 class Loop;
 
+/// ExtractCodeRegion - rip out a sequence of basic blocks into a new function
+///
+Function* ExtractCodeRegion(const std::vector<BasicBlock*> &code);
+
 /// ExtractLoop - rip out a natural loop into a new function
 ///
 Function* ExtractLoop(Loop *L);