summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-02-25 21:34:51 +0000
committerChris Lattner <sabre@nondot.org>2004-02-25 21:34:51 +0000
commit14da4ead95da06a8bde7f0f3ccb580b8dacb5be9 (patch)
tree81af16e73d3cda7951e5a3356871dd6264c12ac1
parent8d1da1abee9ade0e81e50c5b9896059d7ef47a54 (diff)
downloadbcm5719-llvm-14da4ead95da06a8bde7f0f3ccb580b8dacb5be9.tar.gz
bcm5719-llvm-14da4ead95da06a8bde7f0f3ccb580b8dacb5be9.zip
Add prototype
llvm-svn: 11837
-rw-r--r--llvm/include/llvm/Transforms/IPO.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/include/llvm/Transforms/IPO.h b/llvm/include/llvm/Transforms/IPO.h
index 5094866aacc..2b26afe3263 100644
--- a/llvm/include/llvm/Transforms/IPO.h
+++ b/llvm/include/llvm/Transforms/IPO.h
@@ -38,6 +38,13 @@ Pass *createConstantMergePass();
//===----------------------------------------------------------------------===//
+// createGlobalConstifierPass - This function returns a new pass that marks
+// internal globals "constant" if they are provably never written to.
+//
+Pass *createGlobalConstifierPass();
+
+
+//===----------------------------------------------------------------------===//
// createRaiseAllocationsPass - Return a new pass that transforms malloc and
// free function calls into malloc and free instructions.
//
OpenPOWER on IntegriCloud