Skip to content
Snippets Groups Projects
Commit a11d217c authored by Chris Lattner's avatar Chris Lattner
Browse files

comentate

llvm-svn: 36395
parent 1e16bcf7
No related branches found
No related tags found
No related merge requests found
...@@ -106,6 +106,10 @@ namespace bitc { ...@@ -106,6 +106,10 @@ namespace bitc {
CST_CODE_CE_CMP = 15 // CE_CMP: [opty, opval, opval, pred] 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 { enum CastOpcodes {
CAST_TRUNC = 0, CAST_TRUNC = 0,
CAST_ZEXT = 1, CAST_ZEXT = 1,
...@@ -121,6 +125,10 @@ namespace bitc { ...@@ -121,6 +125,10 @@ namespace bitc {
CAST_BITCAST = 11 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 { enum BinaryOpcodes {
BINOP_ADD = 0, BINOP_ADD = 0,
BINOP_SUB = 1, BINOP_SUB = 1,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment