| OLD | NEW |
| 1 //===- NaClLLVMBitCodes.h ---------------------------------------*- C++ -*-===// | 1 //===- NaClLLVMBitCodes.h ---------------------------------------*- C++ -*-===// |
| 2 // Enum values for the NaCl bitcode wire format | 2 // Enum values for the NaCl bitcode wire format |
| 3 // | 3 // |
| 4 // The LLVM Compiler Infrastructure | 4 // The LLVM Compiler Infrastructure |
| 5 // | 5 // |
| 6 // This file is distributed under the University of Illinois Open Source | 6 // This file is distributed under the University of Illinois Open Source |
| 7 // License. See LICENSE.TXT for details. | 7 // License. See LICENSE.TXT for details. |
| 8 // | 8 // |
| 9 //===----------------------------------------------------------------------===// | 9 //===----------------------------------------------------------------------===// |
| 10 // | 10 // |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 | 80 |
| 81 // Type Codes | 81 // Type Codes |
| 82 TYPE_CODE_VOID = 2, // VOID | 82 TYPE_CODE_VOID = 2, // VOID |
| 83 TYPE_CODE_FLOAT = 3, // FLOAT | 83 TYPE_CODE_FLOAT = 3, // FLOAT |
| 84 TYPE_CODE_DOUBLE = 4, // DOUBLE | 84 TYPE_CODE_DOUBLE = 4, // DOUBLE |
| 85 TYPE_CODE_LABEL = 5, // LABEL | 85 TYPE_CODE_LABEL = 5, // LABEL |
| 86 TYPE_CODE_OPAQUE = 6, // OPAQUE | 86 TYPE_CODE_OPAQUE = 6, // OPAQUE |
| 87 TYPE_CODE_INTEGER = 7, // INTEGER: [width] | 87 TYPE_CODE_INTEGER = 7, // INTEGER: [width] |
| 88 TYPE_CODE_POINTER = 8, // POINTER: [pointee type] | 88 TYPE_CODE_POINTER = 8, // POINTER: [pointee type] |
| 89 | 89 |
| 90 TYPE_CODE_FUNCTION_OLD = 9, // FUNCTION: [vararg, attrid, retty, | 90 TYPE_CODE_FUNCTION_OLD = 9, // Not used in PNaCl. |
| 91 // paramty x N] | |
| 92 | 91 |
| 93 TYPE_CODE_HALF = 10, // HALF | 92 TYPE_CODE_HALF = 10, // HALF |
| 94 | 93 |
| 95 TYPE_CODE_ARRAY = 11, // ARRAY: [numelts, eltty] | 94 TYPE_CODE_ARRAY = 11, // ARRAY: [numelts, eltty] |
| 96 TYPE_CODE_VECTOR = 12, // VECTOR: [numelts, eltty] | 95 TYPE_CODE_VECTOR = 12, // VECTOR: [numelts, eltty] |
| 97 | 96 |
| 98 // These are not with the other floating point types because they're | 97 // These are not with the other floating point types because they're |
| 99 // a late addition, and putting them in the right place breaks | 98 // a late addition, and putting them in the right place breaks |
| 100 // binary compatibility. | 99 // binary compatibility. |
| 101 TYPE_CODE_X86_FP80 = 13, // X86 LONG DOUBLE | 100 TYPE_CODE_X86_FP80 = 13, // X86 LONG DOUBLE |
| (...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 323 FUNC_CODE_INST_FORWARDTYPEREF = 43 // TYPE: [opval, ty] | 322 FUNC_CODE_INST_FORWARDTYPEREF = 43 // TYPE: [opval, ty] |
| 324 }; | 323 }; |
| 325 | 324 |
| 326 enum NaClUseListCodes { | 325 enum NaClUseListCodes { |
| 327 USELIST_CODE_ENTRY = 1 // USELIST_CODE_ENTRY: TBD. | 326 USELIST_CODE_ENTRY = 1 // USELIST_CODE_ENTRY: TBD. |
| 328 }; | 327 }; |
| 329 } // End naclbitc namespace | 328 } // End naclbitc namespace |
| 330 } // End llvm namespace | 329 } // End llvm namespace |
| 331 | 330 |
| 332 #endif | 331 #endif |
| OLD | NEW |