From 9a3113aeb8b560cf696bbd3684367fedcc10a9b3 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 12 Jan 2009 01:12:03 +0000 Subject: add nocapture attribute to llvm.mem* intrinsics and have tblgen parse them. tblgen doesn't yet do anything with this info though. llvm-svn: 62065 --- llvm/utils/TableGen/CodeGenIntrinsics.h | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'llvm/utils/TableGen/CodeGenIntrinsics.h') diff --git a/llvm/utils/TableGen/CodeGenIntrinsics.h b/llvm/utils/TableGen/CodeGenIntrinsics.h index 1170da0f359..dd99e319d6c 100644 --- a/llvm/utils/TableGen/CodeGenIntrinsics.h +++ b/llvm/utils/TableGen/CodeGenIntrinsics.h @@ -63,13 +63,17 @@ namespace llvm { NoMem, ReadArgMem, ReadMem, WriteArgMem, WriteMem } ModRef; - // This is set to true if the intrinsic is overloaded by its argument - // types. + /// This is set to true if the intrinsic is overloaded by its argument + /// types. bool isOverloaded; - // isCommutative - True if the intrinsic is commutative. - // + /// isCommutative - True if the intrinsic is commutative. bool isCommutative; + + enum ArgAttribute { + NoCapture + }; + std::vector > ArgumentAttributes; CodeGenIntrinsic(Record *R); }; -- cgit v1.2.3