From: Chris Lattner Date: Wed, 25 Feb 2004 21:34:51 +0000 (+0000) Subject: Add prototype X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=fdf6a3c8ccec4761ffb56f49fa9cdb23ea7985d7;p=oota-llvm.git Add prototype git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11837 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Transforms/IPO.h b/include/llvm/Transforms/IPO.h index 5094866aacc..2b26afe3263 100644 --- a/include/llvm/Transforms/IPO.h +++ b/include/llvm/Transforms/IPO.h @@ -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.