Home | History | Annotate | Download | only in bugpoint

Lines Matching defs:Functions

173   /// ReduceCrashingFunctions reducer - This works by removing functions and
211 std::set<Function*> Functions;
217 Functions.insert(CMF);
220 outs() << "Checking for crash with only these functions: ";
224 // Loop over and delete any functions which we aren't supposed to be playing
227 if (!I->isDeclaration() && !Functions.count(I))
236 Funcs.assign(Functions.begin(), Functions.end());
248 /// the CFG really fast which can reduce large functions quickly.
492 // Now try to reduce the number of functions in the module to something small.
493 std::vector<Function*> Functions;
497 Functions.push_back(I);
499 if (Functions.size() > 1 && !BugpointIsInterrupted) {
500 outs() << "\n*** Attempting to reduce the number of functions "
503 unsigned OldSize = Functions.size();
504 ReduceCrashingFunctions(BD, TestFn).reduceList(Functions, Error);
506 if (Functions.size() < OldSize)
552 // Now that we have deleted the functions that are unnecessary for the
555 // remaining functions, deleting them (replacing any values produced with