Lines Matching full:dead
1 //===-- DeadArgumentElimination.cpp - Eliminate dead arguments ------------===//
10 // This pass deletes dead arguments from internal functions. Dead argument
11 // elimination removes arguments which are directly dead, as well as arguments
12 // only passed into function calls as dead arguments of other functions. This
13 // pass also deletes dead return values in a similar way.
16 // interprocedural passes, which add possibly-dead arguments or return values.
50 /// DAE - The dead argument elimination pass.
83 /// explicitly dead (even if we know they are), since anything not alive
85 /// thus become dead in the end.
166 INITIALIZE_PASS(DAE, "deadargelim", "Dead Argument Elimination", false, false)
169 /// DAH - DeadArgumentHacking pass - Same as dead argument elimination, but
182 "Dead Argument Hacking (BUGPOINT USE ONLY; DO NOT USE)",
192 /// llvm.vastart is never called, the varargs list is dead for the function.
289 // it, remove the dead arguments from the DeadArguments list.
477 // Assume it's dead (which will only hold if there are no uses at all..).
505 // Assume all return values are dead
709 // Construct the new parameter list from non-dead arguments. Also construct
745 // If there is a function with a live 'returned' argument but a dead return
1010 // If this argument is dead, replace any uses of it with null constants
1063 // Now that the old function is dead, delete it.
1079 DEBUG(dbgs() << "DAE - Deleting dead varargs\n");
1087 // We assume all arguments are dead unless proven otherwise (allowing us to
1088 // determine that dead arguments passed into recursive functions are dead).
1094 // Now, remove all dead arguments and return values from each function in