Check in header file I forgot before.
authorChris Lattner <sabre@nondot.org>
Wed, 4 Feb 2004 03:59:08 +0000 (03:59 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 4 Feb 2004 03:59:08 +0000 (03:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11115 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Transforms/Utils/Cloning.h

index f6351d487624dc6fe0463a06e55d89657bc48fee..bb8e542b805fdb66bd405530cb699d8147709118 100644 (file)
@@ -55,11 +55,14 @@ Module *CloneModule(const Module *M);
 /// 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