diff options
Diffstat (limited to 'include/llvm/Transforms/IPO.h')
-rw-r--r-- | include/llvm/Transforms/IPO.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/llvm/Transforms/IPO.h b/include/llvm/Transforms/IPO.h index ad35498..ac8da77 100644 --- a/include/llvm/Transforms/IPO.h +++ b/include/llvm/Transforms/IPO.h @@ -188,6 +188,12 @@ ModulePass *createStripDeadPrototypesPass(); /// ModulePass* createPartialSpecializationPass(); +//===----------------------------------------------------------------------===// +/// createAddReadAttrsPass - This pass discovers functions that do not access +/// memory, or only read memory, and gives them the readnone/readonly attribute. +/// +Pass* createAddReadAttrsPass(); + } // End llvm namespace #endif |