summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-06-16 12:16:52 +0000
committerChris Lattner <sabre@nondot.org>2003-06-16 12:16:52 +0000
commit4ff07067db26cc1188367652d6ad0426a30a6dea (patch)
tree7fb8922b17b1f3fdc3c134983ce9c752544b2713
parentcc7d6ff656b5c2476a10fb4e6da3ad681d64ad9b (diff)
downloadbcm5719-llvm-4ff07067db26cc1188367652d6ad0426a30a6dea.tar.gz
bcm5719-llvm-4ff07067db26cc1188367652d6ad0426a30a6dea.zip
Add prototype for the new DAE pass
llvm-svn: 6703
-rw-r--r--llvm/include/llvm/Transforms/IPO.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/include/llvm/Transforms/IPO.h b/llvm/include/llvm/Transforms/IPO.h
index 404e1c13cf0..610174176a7 100644
--- a/llvm/include/llvm/Transforms/IPO.h
+++ b/llvm/include/llvm/Transforms/IPO.h
@@ -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
OpenPOWER on IntegriCloud