From a8a06367f849d7742c7dace0fa2d4a395b513a43 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12052 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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 -- 2.11.0