aboutsummaryrefslogtreecommitdiff
path: root/tools/bugpoint/BugDriver.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-02-28 16:13:20 +0000
committerChris Lattner <sabre@nondot.org>2003-02-28 16:13:20 +0000
commitba386d943f4a83095d9c625cb0d46c1afe45ed1f (patch)
treed7ece90f3a70608d9d1eeafd066cbe9eddb163e7 /tools/bugpoint/BugDriver.h
parent74cd04ea0154defa837a6d4c12bad29aae44e5b6 (diff)
* Reduce the number of useless bytecode files produced by bugpoint.
- This also speeds it up as the bytecode writer isn't terribly fast. * Add a new cleanup pass after everything else to run -funcresolve -globaldce git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5668 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/bugpoint/BugDriver.h')
-rw-r--r--tools/bugpoint/BugDriver.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/bugpoint/BugDriver.h b/tools/bugpoint/BugDriver.h
index 3dbb84dab6..f88d29ffb7 100644
--- a/tools/bugpoint/BugDriver.h
+++ b/tools/bugpoint/BugDriver.h
@@ -125,6 +125,12 @@ private:
///
Module *deleteInstructionFromProgram(Instruction *I, unsigned Simp) const;
+ /// performFinalCleanups - This method clones the current Program and performs
+ /// a series of cleanups intended to get rid of extra cruft on the module
+ /// before handing it to the user...
+ ///
+ Module *performFinalCleanups() const;
+
/// initializeExecutionEnvironment - This method is used to set up the
/// environment for executing LLVM programs.
///