Lines Matching defs:Dead
1 //===- DeadStoreElimination.cpp - Fast Dead Store Elimination -------------===//
10 // This file implements a trivial dead store elimination that only considers
68 // Only check non-dead blocks. Dead blocks may have strange pointer
96 INITIALIZE_PASS_BEGIN(DSE, "dse", "Dead Store Elimination", false, false)
100 INITIALIZE_PASS_END(DSE, "dse", "Dead Store Elimination", false, false)
110 /// dead, delete them and the computation tree that feeds them.
128 // This instruction is dead, zap it, in stages. Start by removing it from
137 // If this operand just became dead, add it to the NowDeadInsts list.
259 // Never remove dead lifetime_end's, e.g. because it is followed by a
448 /// input dead in the traditional sense. Consider this case:
453 /// In this case, the second store to A does not make the first store to A dead.
484 // then it can't be considered dead.
573 DEBUG(dbgs() << "DSE: Remove Dead Store:\n DEAD: "
576 // Delete the store and now-dead instructions that feed it.
599 DEBUG(dbgs() << "DSE: Remove Dead Store:\n OW END: "
634 // dead at its end, which means stores to them are also dead.
692 // which may also be dead, as in
706 /// handleEndBlock - Remove dead stores to stack-allocated locations in the
715 // Keep track of all of the stack objects that are dead at the end of the
725 // Okay, so these are dead heap objects, but if the pointer never escapes
731 // Treat byval or inalloca arguments the same, stores to them are dead at the
742 // If we find a store, check to see if it points into a dead stack value.
758 Instruction *Dead = BBI++;
760 DEBUG(dbgs() << "DSE: Dead Store at End of Block:\n DEAD: "
761 << *Dead << "\n Objects: ";
771 DeleteDeadInstruction(Dead, *MD, TLI, &DeadStackObjects);
778 // Remove any dead non-memory-mutating instructions.
788 // Remove allocas from the list of dead stack objects; there can't be
795 // Remove allocation function calls from the list of dead stack objects;
825 // If we encounter a use of the pointer, it is no longer considered dead
863 // A constant can't be in the dead pointer set.