From 1224c386981f7948f298ed9ad444c40609570f2e Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Mon, 20 Jul 2009 21:19:07 +0000 Subject: Assembly and Bitcode support for unsigned/signed overflow flags and exact sdiv flags. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76475 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Bitcode/LLVMBitCodes.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'include/llvm/Bitcode/LLVMBitCodes.h') diff --git a/include/llvm/Bitcode/LLVMBitCodes.h b/include/llvm/Bitcode/LLVMBitCodes.h index c3a1bc1..753d0ff 100644 --- a/include/llvm/Bitcode/LLVMBitCodes.h +++ b/include/llvm/Bitcode/LLVMBitCodes.h @@ -171,6 +171,18 @@ namespace bitc { BINOP_XOR = 12 }; + /// OverflowingBinaryOperatorOptionalFlags - Flags for serializing + /// OverflowingBinaryOperator's SubclassOptionalData contents. + enum OverflowingBinaryOperatorOptionalFlags { + OBO_NO_UNSIGNED_OVERFLOW = 0, + OBO_NO_SIGNED_OVERFLOW = 1 + }; + + /// SDivOperatorOptionalFlags - Flags for serializing SDivOperator's + /// SubclassOptionalData contents. + enum SDivOperatorOptionalFlags { + SDIV_EXACT = 0 + }; // The function body block (FUNCTION_BLOCK_ID) describes function bodies. It // can contain a constant block (CONSTANTS_BLOCK_ID). -- cgit v1.1