From: Chris Lattner Date: Mon, 16 Jun 2003 12:16:52 +0000 (+0000) Subject: Add prototype for the new DAE pass X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=1989d34b3b6a1fe5a771d2297b2af07e3d8d0d71;p=oota-llvm.git Add prototype for the new DAE pass git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6703 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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