summaryrefslogtreecommitdiffstats
path: root/llvm/tools/bugpoint/BugDriver.h
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-04-22 15:57:18 +0000
committerDan Gohman <gohman@apple.com>2009-04-22 15:57:18 +0000
commit956ae9dc151d400f89cd6d461d2ab39ef195c683 (patch)
tree43f5078bcb481147f971050ac21e2f1d9faa9f46 /llvm/tools/bugpoint/BugDriver.h
parenta4fea5b2272ba09a807ef0fc65dacb6361c48888 (diff)
downloadbcm5719-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.h5
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
OpenPOWER on IntegriCloud