From f5abaea3a5fc4c5bf0dff75dbe27421e70472591 Mon Sep 17 00:00:00 2001 From: Misha Brukman Date: Mon, 1 Mar 2004 18:27:13 +0000 Subject: [PATCH] Add ability to extract a single basic block into a new function. llvm-svn: 12052 --- include/llvm/Transforms/Utils/FunctionUtils.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/llvm/Transforms/Utils/FunctionUtils.h b/include/llvm/Transforms/Utils/FunctionUtils.h index 4bb7c1050df..27fe7cc1001 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