Searched refs:DeadFunctions (Results 1 – 5 of 5) 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()
66 SmallPtrSet<Function *, 8> DeadFunctions; member136 DeadFunctions.insert(Callee); in inlineFunctions()146 for(SmallPtrSet<Function *, 8>::iterator I = DeadFunctions.begin(), in inlineFunctions()147 E = DeadFunctions.end(); I != E; ++I) { in inlineFunctions()
141 std::vector<Function *> DeadFunctions; in run() local144 DeadFunctions.push_back(&F); // Keep track of dead globals in run()165 if (!DeadFunctions.empty()) { in run()168 for (Function *F : DeadFunctions) { in run()172 NumFunctions += DeadFunctions.size(); in run()
223 std::vector<Function *> DeadFunctions; in run() local226 DeadFunctions.push_back(&F); // Keep track of dead globals in run()255 NumFunctions += DeadFunctions.size(); in run()256 for (Function *F : DeadFunctions) in run()
898 SmallVector<Function *, 4> DeadFunctions; in run() local1053 assert(find(DeadFunctions, &Callee) == DeadFunctions.end() && in run()1055 DeadFunctions.push_back(&Callee); in run()1122 for (Function *DeadF : DeadFunctions) { in run()