forked from OSchip/llvm-project
Split the DAE pass into DAE and DAH passes
llvm-svn: 9742
This commit is contained in:
parent
9e60aced2e
commit
a2e48a82fe
|
@ -97,12 +97,13 @@ Pass *createInternalizePass();
|
|||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// createDeadArgEliminationPass - This pass removes arguments from functions
|
||||
// which are not used by the body of the function. If
|
||||
// DeleteFromExternalFunctions is true, the pass will modify functions that have
|
||||
// external linkage, which is not usually safe (this is used by bugpoint to
|
||||
// reduce testcases).
|
||||
// which are not used by the body of the function.
|
||||
//
|
||||
Pass *createDeadArgEliminationPass(bool DeleteFromExternalFunctions=false);
|
||||
Pass *createDeadArgEliminationPass();
|
||||
|
||||
// DeadArgHacking pass - Same as DAE, but delete arguments of external functions
|
||||
// as well. This is definately not safe, and should only be used by bugpoint.
|
||||
Pass *createDeadArgHackingPass();
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// createIPConstantPropagationPass - This pass propagates constants from call
|
||||
|
|
Loading…
Reference in New Issue