From: Chris Lattner Date: Sun, 7 Mar 2004 21:30:08 +0000 (+0000) Subject: Add prototype X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f0b607027254989f47ebb75a28d1a6f2cc6b0762;p=oota-llvm.git Add prototype git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12194 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Transforms/IPO.h b/include/llvm/Transforms/IPO.h index 2b26afe3263..48a1895694b 100644 --- a/include/llvm/Transforms/IPO.h +++ b/include/llvm/Transforms/IPO.h @@ -114,6 +114,12 @@ Pass *createDeadArgEliminationPass(); // as well. This is definitely not safe, and should only be used by bugpoint. Pass *createDeadArgHackingPass(); +//===----------------------------------------------------------------------===// +// createArgumentPromotionPass - This pass promotes "by reference" arguments to +// be passed by value. +// +Pass *createArgumentPromotionPass(); + //===----------------------------------------------------------------------===// // createIPConstantPropagationPass - This pass propagates constants from call // sites into the bodies of functions.