aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-03-07 21:30:08 +0000
committerChris Lattner <sabre@nondot.org>2004-03-07 21:30:08 +0000
commitf0b607027254989f47ebb75a28d1a6f2cc6b0762 (patch)
treea6fb0b544dfa470e08503a1ae0b8709c7531d274
parented570a7dca45e001a6223e2a25d034b838934f88 (diff)
Add prototype
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12194 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Transforms/IPO.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/llvm/Transforms/IPO.h b/include/llvm/Transforms/IPO.h
index 2b26afe326..48a1895694 100644
--- a/include/llvm/Transforms/IPO.h
+++ b/include/llvm/Transforms/IPO.h
@@ -115,6 +115,12 @@ Pass *createDeadArgEliminationPass();
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.
//