Home | History | Annotate | Download | only in bugpoint

Lines Matching refs:Prefix

51     virtual TestResult doTest(std::vector<std::string> &Prefix,
61 ReduceMiscompilingPasses::doTest(std::vector<std::string> &Prefix,
65 // with JUST the kept passes, discard the prefix passes.
95 if (Prefix.empty()) return NoFailure;
97 // Next, see if the program is broken if we run the "prefix" passes first,
99 outs() << "Checking to see if '" << getPassesString(Prefix)
102 // If it is not broken with the kept passes, it's possible that the prefix
104 // WORKS after the prefix passes, but then fails if running the prefix AND
106 // prefix passes, then discard the prefix passes.
108 if (BD.runPasses(BD.getProgram(), Prefix, BitcodeResult, false/*delete*/,
112 BD.setPassesToRun(Prefix);
117 // If the prefix maintains the predicate by itself, only keep the prefix!
128 // Ok, so now we know that the prefix passes work, try running the suffix
129 // passes on the result of the prefix passes.
146 << getPassesString(Prefix) << "' passes: ";
185 virtual TestResult doTest(std::vector<Function*> &Prefix,
195 if (!Prefix.empty()) {
196 bool Ret = TestFuncs(Prefix, Error);
205 bool TestFuncs(const std::vector<Function*> &Prefix, std::string &Error);
470 virtual TestResult doTest(std::vector<BasicBlock*> &Prefix,
480 if (!Prefix.empty()) {
481 bool Ret = TestFuncs(Prefix, Error);