[llvm-commits] CVS: llvm/include/llvm/Transforms/Utils/FunctionUtils.h

Misha Brukman brukman at cs.uiuc.edu
Mon Mar 1 18:33:50 PST 2004


Changes in directory llvm/include/llvm/Transforms/Utils:

FunctionUtils.h updated: 1.2 -> 1.3

---
Log message:

Add prototype for ExtractCodeRegion()


---
Diffs of the changes:  (+5 -1)

Index: llvm/include/llvm/Transforms/Utils/FunctionUtils.h
diff -u llvm/include/llvm/Transforms/Utils/FunctionUtils.h:1.2 llvm/include/llvm/Transforms/Utils/FunctionUtils.h:1.3
--- llvm/include/llvm/Transforms/Utils/FunctionUtils.h:1.2	Mon Mar  1 12:27:13 2004
+++ llvm/include/llvm/Transforms/Utils/FunctionUtils.h	Mon Mar  1 18:20:32 2004
@@ -7,7 +7,7 @@
 // 
 //===----------------------------------------------------------------------===//
 //
-// This family of functions perform manipulations on functions.
+// This family of transformations manipulate LLVM functions.
 //
 //===----------------------------------------------------------------------===//
 
@@ -18,6 +18,10 @@
 
 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
 ///





More information about the llvm-commits mailing list