Home | History | Annotate | Download | only in Scalar

Lines Matching defs:Dead

1 //===- DeadStoreElimination.cpp - Fast Dead Store Elimination -------------===//
10 // This file implements a trivial dead store elimination that only considers
64 // Only check non-dead blocks. Dead blocks may have strange pointer
92 INITIALIZE_PASS_BEGIN(DSE, "dse", "Dead Store Elimination", false, false)
96 INITIALIZE_PASS_END(DSE, "dse", "Dead Store Elimination", false, false)
106 /// dead, delete them and the computation tree that feeds them.
124 // This instruction is dead, zap it, in stages. Start by removing it from
133 // If this operand just became dead, add it to the NowDeadInsts list.
254 // Never remove dead lifetime_end's, e.g. because it is followed by a
446 /// input dead in the traditional sense. Consider this case:
451 /// In this case, the second store to A does not make the first store to A dead.
482 // then it can't be considered dead.
571 DEBUG(dbgs() << "DSE: Remove Dead Store:\n DEAD: "
574 // Delete the store and now-dead instructions that feed it.
597 DEBUG(dbgs() << "DSE: Remove Dead Store:\n OW END: "
632 // dead at its end, which means stores to them are also dead.
690 // which may also be dead, as in
720 /// handleEndBlock - Remove dead stores to stack-allocated locations in the
729 // Keep track of all of the stack objects that are dead at the end of the
739 // Okay, so these are dead heap objects, but if the pointer never escapes
745 // Treat byval arguments the same, stores to them are dead at the end of the
756 // If we find a store, check to see if it points into a dead stack value.
772 Instruction *Dead = BBI++;
774 DEBUG(dbgs() << "DSE: Dead Store at End of Block:\n DEAD: "
775 << *Dead << "\n Objects: ";
785 DeleteDeadInstruction(Dead, *MD, TLI, &DeadStackObjects);
792 // Remove any dead non-memory-mutating instructions.
802 // Remove allocas from the list of dead stack objects; there can't be
809 // Remove allocation function calls from the list of dead stack objects;
834 // If we encounter a use of the pointer, it is no longer considered dead
886 // A constant can't be in the dead pointer set.