From f0b607027254989f47ebb75a28d1a6f2cc6b0762 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 7 Mar 2004 21:30:08 +0000 Subject: [PATCH] Add prototype git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12194 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 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.