Add argmemonly attribute.
[oota-llvm.git] / include / llvm / IR / Attributes.h
index 366bf709ab164a9a7b09e2bac77fd3d90adc3159..4d6d7da1fa5b6d88b724c849a26e0b375cbe46ba 100644 (file)
@@ -98,6 +98,8 @@ public:
     OptimizeNone,          ///< Function must not be optimized.
     ReadNone,              ///< Function does not access memory
     ReadOnly,              ///< Function only reads from memory
+    ArgMemOnly,            ///< Funciton can access memory only using pointers
+                           ///< based on its arguments.
     Returned,              ///< Return value is always equal to this argument
     ReturnsTwice,          ///< Function can return twice
     SExt,                  ///< Sign extended before/after call