diff options
author | Dan Gohman <gohman@apple.com> | 2009-04-22 15:57:18 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-04-22 15:57:18 +0000 |
commit | 956ae9dc151d400f89cd6d461d2ab39ef195c683 (patch) | |
tree | 43f5078bcb481147f971050ac21e2f1d9faa9f46 /llvm/tools/bugpoint/BugDriver.h | |
parent | a4fea5b2272ba09a807ef0fc65dacb6361c48888 (diff) | |
download | bcm5719-llvm-956ae9dc151d400f89cd6d461d2ab39ef195c683.tar.gz bcm5719-llvm-956ae9dc151d400f89cd6d461d2ab39ef195c683.zip |
Use CloneModule's ValueMap in more places, instead of looking
up functions by name.
llvm-svn: 69805
Diffstat (limited to 'llvm/tools/bugpoint/BugDriver.h')
-rw-r--r-- | llvm/tools/bugpoint/BugDriver.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/tools/bugpoint/BugDriver.h b/llvm/tools/bugpoint/BugDriver.h index 6a2105392f1..96e9fb98017 100644 --- a/llvm/tools/bugpoint/BugDriver.h +++ b/llvm/tools/bugpoint/BugDriver.h @@ -16,11 +16,13 @@ #ifndef BUGDRIVER_H #define BUGDRIVER_H +#include "llvm/ADT/DenseMap.h" #include <vector> #include <string> namespace llvm { +class Value; class PassInfo; class Module; class GlobalVariable; @@ -312,7 +314,8 @@ void DeleteFunctionBody(Function *F); /// SplitFunctionsOutOfModule - Given a module and a list of functions in the /// module, split the functions OUT of the specified module, and place them in /// the new module. -Module *SplitFunctionsOutOfModule(Module *M, const std::vector<Function*> &F); +Module *SplitFunctionsOutOfModule(Module *M, const std::vector<Function*> &F, + DenseMap<const Value*, Value*> &ValueMap); } // End llvm namespace |