Add prototype for the new DAE pass
authorChris Lattner <sabre@nondot.org>
Mon, 16 Jun 2003 12:16:52 +0000 (12:16 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 16 Jun 2003 12:16:52 +0000 (12:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6703 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Transforms/IPO.h

index 404e1c13cf021c64f1061d53e5e5183be0416de1..610174176a7cb3ab008b4f98979d89ba27b5bbeb 100644 (file)
@@ -68,6 +68,12 @@ Pass *createFunctionInliningPass();
 //
 Pass *createInternalizePass();
 
+//===----------------------------------------------------------------------===//
+// createDeadArgEliminationPass - This pass removes arguments from functions
+// which are not used by the body of the function.
+//
+Pass *createDeadArgEliminationPass();
+
 
 //===----------------------------------------------------------------------===//
 // These passes are wrappers that can do a few simple structure mutation