From: Misha Brukman Date: Mon, 1 Mar 2004 18:27:13 +0000 (+0000) Subject: Add ability to extract a single basic block into a new function. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a8a06367f849d7742c7dace0fa2d4a395b513a43;p=oota-llvm.git Add ability to extract a single basic block into a new function. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12052 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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