From 1989d34b3b6a1fe5a771d2297b2af07e3d8d0d71 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 16 Jun 2003 12:16:52 +0000 Subject: [PATCH] Add prototype for the new DAE pass git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6703 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Transforms/IPO.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/llvm/Transforms/IPO.h b/include/llvm/Transforms/IPO.h index 404e1c13cf0..610174176a7 100644 --- a/include/llvm/Transforms/IPO.h +++ b/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 -- 2.34.1