aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/llvm/Transforms/Utils/FunctionUtils.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/Transforms/Utils/FunctionUtils.h b/include/llvm/Transforms/Utils/FunctionUtils.h
index 4bb7c10..27fe7cc 100644
--- a/include/llvm/Transforms/Utils/FunctionUtils.h
+++ b/include/llvm/Transforms/Utils/FunctionUtils.h
@@ -23,6 +23,10 @@ class Loop;
///
Function* ExtractLoop(Loop *L);
+/// ExtractBasicBlock - rip out a basic block into a new function
+///
+Function* ExtractBasicBlock(BasicBlock *BB);
+
}
#endif