Add prototype
authorChris Lattner <sabre@nondot.org>
Wed, 25 Feb 2004 21:34:51 +0000 (21:34 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 25 Feb 2004 21:34:51 +0000 (21:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11837 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Transforms/IPO.h

index 5094866aacc2553d12d5e9681ddd5931a4678aa1..2b26afe3263b21ea1eedc1142a8d2eceea124c74 100644 (file)
@@ -37,6 +37,13 @@ Pass* createLowerSetJmpPass();
 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.