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 | fdf6a3c8ccec4761ffb56f49fa9cdb23ea7985d7 (patch) | |
tree | d8fffaffecb3500b8bbe1245452aefaf137f4e07 /include/llvm/Transforms | |
parent | 079236d1c9909365ffd0ef06831523c87335bb4a (diff) | |
download | external_llvm-fdf6a3c8ccec4761ffb56f49fa9cdb23ea7985d7.zip external_llvm-fdf6a3c8ccec4761ffb56f49fa9cdb23ea7985d7.tar.gz external_llvm-fdf6a3c8ccec4761ffb56f49fa9cdb23ea7985d7.tar.bz2 |
Add prototype
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11837 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Transforms')
-rw-r--r-- | include/llvm/Transforms/IPO.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/llvm/Transforms/IPO.h b/include/llvm/Transforms/IPO.h index 5094866..2b26afe 100644 --- a/include/llvm/Transforms/IPO.h +++ b/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. // |