Check in header file I forgot before.

llvm-svn: 11115
This commit is contained in:
Chris Lattner 2004-02-04 03:59:08 +00:00
parent 8d414ad035
commit 4babe055d3
1 changed files with 5 additions and 2 deletions

View File

@ -55,11 +55,14 @@ Module *CloneModule(const Module *M);
/// is recorded in the ValueMap map. /// is recorded in the ValueMap map.
/// ///
/// If you have a particular suffix you'd like to use to add to any cloned /// 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, BasicBlock *CloneBasicBlock(const BasicBlock *BB,
std::map<const Value*, Value*> &ValueMap, 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 /// CloneFunction - Return a copy of the specified function, but without