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
95 cl::opt<bool> SilencePasses("silence-passes",
96 cl::desc("Suppress output of running passes (both stdout and stderr)"));
102 /// runPasses - Run the specified passes on Program, outputting a bitcode file
111 const std::vector<std::string> &Passes,
180 for (std::vector<std::string>::const_iterator I = Passes.begin(),
181 E = Passes.end(); I != E; ++I )
211 // If we are supposed to delete the bitcode file or if the passes crashed,
243 const std::vector<std::string> &Passes,
247 if (runPasses(M, Passes, BitcodeResult, false/*delete*/, true/*quiet*/,
250 errs() << " Error running this sequence of passes"