[llvm-commits] CVS: llvm/include/llvm/Transforms/IPO.h

Chris Lattner lattner at cs.uiuc.edu
Wed Feb 25 15:37:05 PST 2004


Changes in directory llvm/include/llvm/Transforms:

IPO.h updated: 1.26 -> 1.27

---
Log message:

Add prototype


---
Diffs of the changes:  (+7 -0)

Index: llvm/include/llvm/Transforms/IPO.h
diff -u llvm/include/llvm/Transforms/IPO.h:1.26 llvm/include/llvm/Transforms/IPO.h:1.27
--- llvm/include/llvm/Transforms/IPO.h:1.26	Tue Dec 16 15:55:45 2003
+++ llvm/include/llvm/Transforms/IPO.h	Wed Feb 25 15:34:51 2004
@@ -38,6 +38,13 @@
 
 
 //===----------------------------------------------------------------------===//
+// 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.
 //





More information about the llvm-commits mailing list