Searched refs:DeadFunctions (Results 1 – 1 of 1) sorted by relevance
105 std::vector<Function*> DeadFunctions; in runOnModule() local108 DeadFunctions.push_back(I); // Keep track of dead globals in runOnModule()122 if (!DeadFunctions.empty()) { in runOnModule()125 for (unsigned i = 0, e = DeadFunctions.size(); i != e; ++i) { in runOnModule()126 RemoveUnusedGlobalValue(*DeadFunctions[i]); in runOnModule()127 M.getFunctionList().erase(DeadFunctions[i]); in runOnModule()129 NumFunctions += DeadFunctions.size(); in runOnModule()