Searched refs:DeadFunctions (Results 1 - 1 of 1) sorted by relevance

/external/llvm/lib/Transforms/IPO/
H A DGlobalDCE.cpp143 std::vector<Function*> DeadFunctions; local
146 DeadFunctions.push_back(I); // Keep track of dead globals
160 if (!DeadFunctions.empty()) {
163 for (unsigned i = 0, e = DeadFunctions.size(); i != e; ++i) {
164 RemoveUnusedGlobalValue(*DeadFunctions[i]);
165 M.getFunctionList().erase(DeadFunctions[i]);
167 NumFunctions += DeadFunctions.size();

Completed in 83 milliseconds