summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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