Remove the 'N' modifier from llvm-ar.
[oota-llvm.git] / include / llvm / IR / Argument.h
index 40d61ff6854b01e90c2bd053e2c58ee454965f68..eb6ed46b473e95ec3230385629ee34bc266832d5 100644 (file)
@@ -82,6 +82,11 @@ public:
   /// its containing function.
   bool hasReturnedAttr() const;
 
+  /// \brief Return true if this argument has the readonly or readnone attribute
+  /// on it in its containing function.
+  bool onlyReadsMemory() const;
+
+
   /// \brief Add a Attribute to an argument.
   void addAttr(AttributeSet AS);