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.
491 // Now try to reduce the number of functions in the module to something small.
492 std::vector<Function*> Functions;
496 Functions.push_back(I);
498 if (Functions.size() > 1 && !BugpointIsInterrupted) {
499 outs() << "\n*** Attempting to reduce the number of functions "
502 unsigned OldSize = Functions.size();
503 ReduceCrashingFunctions(BD, TestFn).reduceList(Functions, Error);
505 if (Functions.size() < OldSize)
551 // Now that we have deleted the functions that are unnecessary for the
554 // remaining functions, deleting them (replacing any values produced with