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.