aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Bitcode/LLVMBitCodes.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-04-24 15:54:42 +0000
committerChris Lattner <sabre@nondot.org>2007-04-24 15:54:42 +0000
commit253bb78adb5121988f98fc57e944248eae8cf2ea (patch)
tree037c36fb21cca993697597d9b44b5b8c0d31ec46 /include/llvm/Bitcode/LLVMBitCodes.h
parentf581c3b81ee793ce1dcce4b4755393e56148ea68 (diff)
downloadexternal_llvm-253bb78adb5121988f98fc57e944248eae8cf2ea.zip
external_llvm-253bb78adb5121988f98fc57e944248eae8cf2ea.tar.gz
external_llvm-253bb78adb5121988f98fc57e944248eae8cf2ea.tar.bz2
comentate
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36395 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Bitcode/LLVMBitCodes.h')
-rw-r--r--include/llvm/Bitcode/LLVMBitCodes.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/llvm/Bitcode/LLVMBitCodes.h b/include/llvm/Bitcode/LLVMBitCodes.h
index 27fbd2c..e8b2d7c 100644
--- a/include/llvm/Bitcode/LLVMBitCodes.h
+++ b/include/llvm/Bitcode/LLVMBitCodes.h
@@ -106,6 +106,10 @@ namespace bitc {
CST_CODE_CE_CMP = 15 // CE_CMP: [opty, opval, opval, pred]
};
+ /// CastOpcodes - These are values used in the bitcode files to encode which
+ /// cast a CST_CODE_CE_CAST or a XXX refers to. The values of these enums
+ /// have no fixed relation to the LLVM IR enum values. Changing these will
+ /// break compatibility with old files.
enum CastOpcodes {
CAST_TRUNC = 0,
CAST_ZEXT = 1,
@@ -121,6 +125,10 @@ namespace bitc {
CAST_BITCAST = 11
};
+ /// BinaryOpcodes - These are values used in the bitcode files to encode which
+ /// binop a CST_CODE_CE_BINOP or a XXX refers to. The values of these enums
+ /// have no fixed relation to the LLVM IR enum values. Changing these will
+ /// break compatibility with old files.
enum BinaryOpcodes {
BINOP_ADD = 0,
BINOP_SUB = 1,