Home | History | Annotate | Download | only in Scalar

Lines Matching full:dead

1 //===- DCE.cpp - Code to perform dead code elimination --------------------===//
10 // This file implements dead inst elimination and dead code elimination.
12 // Dead Inst Elimination performs a single pass over the function removing
13 // instructions that are obviously dead. Dead Code Elimination is similar, but
15 // they are newly dead.
66 "Dead Instruction Elimination", false, false)
92 INITIALIZE_PASS(DCE, "dce", "Dead Code Elimination", false, false)
105 // Loop over the worklist finding instructions that are dead. If they are
106 // dead make them drop all of their uses, making other instructions
107 // potentially dead, and work until the worklist is empty.
114 if (isInstructionTriviallyDead(I, TLI)) { // If the instruction is dead.
117 // go dead after this one is removed.