Lines Matching refs:Passes
1 //===- OptimizerDriver.cpp - Allow BugPoint to run passes safely ----------===//
10 // This file defines an interface that allows bugpoint to run various passes
107 cl::opt<bool> SilencePasses("silence-passes",
108 cl::desc("Suppress output of running passes (both stdout and stderr)"));
114 /// runPasses - Run the specified passes on Program, outputting a bitcode file
123 const std::vector<std::string> &Passes,
188 for (std::vector<std::string>::const_iterator I = Passes.begin(),
189 E = Passes.end(); I != E; ++I )
220 // If we are supposed to delete the bitcode file or if the passes crashed,
252 const std::vector<std::string> &Passes,
256 if (runPasses(M, Passes, BitcodeResult, false/*delete*/, true/*quiet*/,
259 errs() << " Error running this sequence of passes"