aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Transforms
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Transforms')
-rw-r--r--include/llvm/Transforms/IPO.h6
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