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

Chris Lattner lattner at cs.uiuc.edu
Tue Feb 3 22:00:02 PST 2004


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

Cloning.h updated: 1.13 -> 1.14

---
Log message:

Check in header file I forgot before.


---
Diffs of the changes:  (+5 -2)

Index: llvm/include/llvm/Transforms/Utils/Cloning.h
diff -u llvm/include/llvm/Transforms/Utils/Cloning.h:1.13 llvm/include/llvm/Transforms/Utils/Cloning.h:1.14
--- llvm/include/llvm/Transforms/Utils/Cloning.h:1.13	Tue Nov 11 16:41:31 2003
+++ llvm/include/llvm/Transforms/Utils/Cloning.h	Tue Feb  3 21:59:08 2004
@@ -55,11 +55,14 @@
 /// is recorded in the ValueMap map.
 ///
 /// If you have a particular suffix you'd like to use to add to any cloned
-/// names, specify it as the optional second parameter.
+/// names, specify it as the optional third parameter.
+///
+/// If you would like the basic block to be auto-inserted into the end of a
+/// function, you can specify it as the optional fourth parameter.
 ///
 BasicBlock *CloneBasicBlock(const BasicBlock *BB,
                             std::map<const Value*, Value*> &ValueMap,
-                            const char *NameSuffix = "");
+                            const char *NameSuffix = "", Function *F = 0);
 
 
 /// CloneFunction - Return a copy of the specified function, but without





More information about the llvm-commits mailing list