[llvm-commits] CVS: llvm/include/llvm/Transforms/Utils/FunctionUtils.h

Misha Brukman brukman at cs.uiuc.edu
Mon Mar 1 12:28:02 PST 2004


Changes in directory llvm/include/llvm/Transforms/Utils:

FunctionUtils.h updated: 1.1 -> 1.2

---
Log message:

Add ability to extract a single basic block into a new function.


---
Diffs of the changes:  (+4 -0)

Index: llvm/include/llvm/Transforms/Utils/FunctionUtils.h
diff -u llvm/include/llvm/Transforms/Utils/FunctionUtils.h:1.1 llvm/include/llvm/Transforms/Utils/FunctionUtils.h:1.2
--- llvm/include/llvm/Transforms/Utils/FunctionUtils.h:1.1	Fri Feb 27 21:33:30 2004
+++ llvm/include/llvm/Transforms/Utils/FunctionUtils.h	Mon Mar  1 12:27:13 2004
@@ -23,6 +23,10 @@
 ///
 Function* ExtractLoop(Loop *L);
 
+/// ExtractBasicBlock - rip out a basic block into a new function
+///
+Function* ExtractBasicBlock(BasicBlock *BB);
+
 }
 
 #endif





More information about the llvm-commits mailing list