diff options
author | Chris Lattner <sabre@nondot.org> | 2004-02-04 03:59:08 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-02-04 03:59:08 +0000 |
commit | cb2b3e5005c09f24afeb0dab49ac8bc1967e491a (patch) | |
tree | 71af4192980b177f5eb11501ccfce1da2094692b /include/llvm/Transforms | |
parent | c24a076c6a22a932e4fc2b745fd748fe7ee3cb15 (diff) |
Check in header file I forgot before.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11115 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Transforms')
-rw-r--r-- | include/llvm/Transforms/Utils/Cloning.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/llvm/Transforms/Utils/Cloning.h b/include/llvm/Transforms/Utils/Cloning.h index f6351d48762..bb8e542b805 100644 --- a/include/llvm/Transforms/Utils/Cloning.h +++ b/include/llvm/Transforms/Utils/Cloning.h @@ -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 |