Lines Matching full:dead

1 //===- DeadArgumentElimination.cpp - Eliminate dead arguments -------------===//
9 // This pass deletes dead arguments from internal functions. Dead argument
10 // elimination removes arguments which are directly dead, as well as arguments
11 // only passed into function calls as dead arguments of other functions. This
12 // pass also deletes dead return values in a similar way.
15 // interprocedural passes, which add possibly-dead arguments or return values.
64 /// The dead argument elimination pass.
98 INITIALIZE_PASS(DAE, "deadargelim", "Dead Argument Elimination", false, false)
102 /// The DeadArgumentHacking pass, same as dead argument elimination, but deletes
117 "Dead Argument Hacking (BUGPOINT USE ONLY; DO NOT USE)", false,
127 /// called, the varargs list is dead for the function.
236 // at it, remove the dead arguments from the DeadArguments list. in deleteDeadVarargs()
267 // semantics. In the below example, the dead load from %p may not have been in removeDeadArgumentsFromCallers()
476 // Assume it's dead (which will only hold if there are no uses at all..). in surveyUses()
512 // Assume all return values are dead in surveyFunction()
754 // Construct the new parameter list from non-dead arguments. Also construct in removeDeadStuffFromFunction()
783 // If there is a function with a live 'returned' argument but a dead return in removeDeadStuffFromFunction()
963 // If the return value is dead, replace any uses of it with poison in removeDeadStuffFromFunction()
1028 // If this argument is dead, replace any uses of it with poison in removeDeadStuffFromFunction()
1093 // Now that the old function is dead, delete it. in removeDeadStuffFromFunction()
1127 LLVM_DEBUG(dbgs() << "DeadArgumentEliminationPass - Deleting dead varargs\n"); in run()
1133 // live. We assume all arguments are dead unless proven otherwise (allowing us in run()
1134 // to determine that dead arguments passed into recursive functions are dead). in run()
1141 // Now, remove all dead arguments and return values from each function in in run()