Extend 'readonly' and 'readnone' to work on function arguments as well as
[oota-llvm.git] / utils / TableGen / CodeGenIntrinsics.h
index f0570f95b8abc595d139a4acc815a4b5e7935482..ababfa4e7e77af10e30b4fb6ba2e6f6fad5aba3a 100644 (file)
@@ -77,7 +77,9 @@ namespace llvm {
     bool isNoReturn;
 
     enum ArgAttribute {
-      NoCapture
+      NoCapture,
+      ReadOnly,
+      ReadNone
     };
     std::vector<std::pair<unsigned, ArgAttribute> > ArgumentAttributes;