diff options
| author | Chris Lattner <sabre@nondot.org> | 2004-02-25 21:34:51 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2004-02-25 21:34:51 +0000 |
| commit | 14da4ead95da06a8bde7f0f3ccb580b8dacb5be9 (patch) | |
| tree | 81af16e73d3cda7951e5a3356871dd6264c12ac1 | |
| parent | 8d1da1abee9ade0e81e50c5b9896059d7ef47a54 (diff) | |
| download | bcm5719-llvm-14da4ead95da06a8bde7f0f3ccb580b8dacb5be9.tar.gz bcm5719-llvm-14da4ead95da06a8bde7f0f3ccb580b8dacb5be9.zip | |
Add prototype
llvm-svn: 11837
| -rw-r--r-- | llvm/include/llvm/Transforms/IPO.h | 7 |
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. // |

