From fdf6a3c8ccec4761ffb56f49fa9cdb23ea7985d7 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 25 Feb 2004 21:34:51 +0000 Subject: [PATCH] Add prototype git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11837 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Transforms/IPO.h | 7 +++++++ 1 file changed, 7 insertions(+) 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. -- 2.34.1