Lines Matching defs:Dead
205 // If Dead[n].first is the only use of a malloc result, we can delete its
206 // chain of computation and the store to the global in Dead[n].second.
207 SmallVector<std::pair<Instruction *, Instruction *>, 32> Dead;
220 Dead.push_back(std::make_pair(I, SI));
228 Dead.push_back(std::make_pair(I, MSI));
237 Dead.push_back(std::make_pair(I, MTI));
245 for (int i = 0, e = Dead.size(); i != e; ++i) {
246 if (IsSafeComputationToRemove(Dead[i].first, GetTLI)) {
247 Dead[i].second->eraseFromParent();
248 Instruction *I = Dead[i].first;
1328 bool Dead;
1330 Dead = (F->isDeclaration() && F->use_empty()) || F->isDefTriviallyDead();
1332 Dead = GV.use_empty();
1333 if (!Dead)