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.
63 "Dead Instruction Elimination", false, false)
89 INITIALIZE_PASS(DCE, "dce", "Dead Code Elimination", false, false)
99 // Loop over the worklist finding instructions that are dead. If they are
100 // dead make them drop all of their uses, making other instructions
101 // potentially dead, and work until the worklist is empty.
108 if (isInstructionTriviallyDead(I, TLI)) { // If the instruction is dead.
111 // go dead after this one is removed.