aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/llvm/Transforms/Utils/FunctionUtils.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/llvm/Transforms/Utils/FunctionUtils.h b/include/llvm/Transforms/Utils/FunctionUtils.h
index 27fe7cc..9ea1e28 100644
--- a/include/llvm/Transforms/Utils/FunctionUtils.h
+++ b/include/llvm/Transforms/Utils/FunctionUtils.h
@@ -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);