X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=utils%2FTableGen%2FCodeGenIntrinsics.h;h=ababfa4e7e77af10e30b4fb6ba2e6f6fad5aba3a;hb=d92ff21d6f526cadea7d6db21f493ba5c85e1411;hp=3208c0d628d96bafc83a7a224a226c19f0373a6f;hpb=7365c091f92db5e68c98d7faedc6c34e1bbbc898;p=oota-llvm.git diff --git a/utils/TableGen/CodeGenIntrinsics.h b/utils/TableGen/CodeGenIntrinsics.h index 3208c0d628d..ababfa4e7e7 100644 --- a/utils/TableGen/CodeGenIntrinsics.h +++ b/utils/TableGen/CodeGenIntrinsics.h @@ -14,9 +14,9 @@ #ifndef CODEGEN_INTRINSIC_H #define CODEGEN_INTRINSIC_H +#include "llvm/CodeGen/ValueTypes.h" #include #include -#include "llvm/CodeGen/ValueTypes.h" namespace llvm { class Record; @@ -69,9 +69,17 @@ namespace llvm { /// isCommutative - True if the intrinsic is commutative. bool isCommutative; - + + /// canThrow - True if the intrinsic can throw. + bool canThrow; + + /// isNoReturn - True if the intrinsic is no-return. + bool isNoReturn; + enum ArgAttribute { - NoCapture + NoCapture, + ReadOnly, + ReadNone }; std::vector > ArgumentAttributes;