Add prototype
authorChris Lattner <sabre@nondot.org>
Sun, 7 Mar 2004 21:30:08 +0000 (21:30 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 7 Mar 2004 21:30:08 +0000 (21:30 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12194 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Transforms/IPO.h

index 2b26afe3263b21ea1eedc1142a8d2eceea124c74..48a1895694bb96ef88bff49e35877d70ab3805db 100644 (file)
@@ -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.