Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(88)

Side by Side Diff: include/llvm/Bitcode/NaCl/NaClLLVMBitCodes.h

Issue 221693002: PNaCl: Add support for GCC/LLVM vector extensions (Closed) Base URL: http://git.chromium.org/native_client/pnacl-llvm.git@master
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 TYPE_CODE_LABEL = 5, // LABEL 90 TYPE_CODE_LABEL = 5, // LABEL
91 TYPE_CODE_OPAQUE = 6, // Not used in PNaCl. 91 TYPE_CODE_OPAQUE = 6, // Not used in PNaCl.
92 TYPE_CODE_INTEGER = 7, // INTEGER: [width] 92 TYPE_CODE_INTEGER = 7, // INTEGER: [width]
93 TYPE_CODE_POINTER = 8, // POINTER: [pointee type] 93 TYPE_CODE_POINTER = 8, // POINTER: [pointee type]
94 94
95 TYPE_CODE_FUNCTION_OLD = 9, // Not used in PNaCl. 95 TYPE_CODE_FUNCTION_OLD = 9, // Not used in PNaCl.
96 96
97 TYPE_CODE_HALF = 10, // Not used in PNaCl. 97 TYPE_CODE_HALF = 10, // Not used in PNaCl.
98 98
99 TYPE_CODE_ARRAY = 11, // Not used in PNaCl. 99 TYPE_CODE_ARRAY = 11, // Not used in PNaCl.
100 TYPE_CODE_VECTOR = 12, // Not used in PNaCl. 100 TYPE_CODE_VECTOR = 12, // VECTOR: [numelts, eltty]
101 101
102 // These are not with the other floating point types because they're 102 // These are not with the other floating point types because they're
103 // a late addition, and putting them in the right place breaks 103 // a late addition, and putting them in the right place breaks
104 // binary compatibility. 104 // binary compatibility.
105 TYPE_CODE_X86_FP80 = 13, // Not used in PNaCl. 105 TYPE_CODE_X86_FP80 = 13, // Not used in PNaCl.
106 TYPE_CODE_FP128 = 14, // Not used in PNaCl. 106 TYPE_CODE_FP128 = 14, // Not used in PNaCl.
107 TYPE_CODE_PPC_FP128= 15, // Not used in PNaCl. 107 TYPE_CODE_PPC_FP128= 15, // Not used in PNaCl.
108 108
109 TYPE_CODE_METADATA = 16, // Not used in PNaCl. 109 TYPE_CODE_METADATA = 16, // Not used in PNaCl.
110 110
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 FUNC_CODE_INST_PHI = 16, // PHI: [ty, val0,bb0, ...] 330 FUNC_CODE_INST_PHI = 16, // PHI: [ty, val0,bb0, ...]
331 // 17 is unused. 331 // 17 is unused.
332 // 18 is unused. 332 // 18 is unused.
333 FUNC_CODE_INST_ALLOCA = 19, // ALLOCA: [op, align] 333 FUNC_CODE_INST_ALLOCA = 19, // ALLOCA: [op, align]
334 FUNC_CODE_INST_LOAD = 20, // LOAD: [op, align, ty] 334 FUNC_CODE_INST_LOAD = 20, // LOAD: [op, align, ty]
335 // 21 is unused. 335 // 21 is unused.
336 // 22 is unused. 336 // 22 is unused.
337 FUNC_CODE_INST_VAARG = 23, // Not used in PNaCl. 337 FUNC_CODE_INST_VAARG = 23, // Not used in PNaCl.
338 FUNC_CODE_INST_STORE = 24, // STORE: [ptr, val, align] 338 FUNC_CODE_INST_STORE = 24, // STORE: [ptr, val, align]
339 // 25 is unused. 339 // 25 is unused.
340 FUNC_CODE_INST_EXTRACTVAL = 26, // Not used in PNaCl. 340 FUNC_CODE_INST_EXTRACTVAL = 26, // Not used in PNaCl.
Karl 2014/04/02 15:56:22 Fix the comment to show that we are now using, and
JF 2014/04/02 18:37:12 Done.
341 FUNC_CODE_INST_INSERTVAL = 27, // Not used in PNaCl. 341 FUNC_CODE_INST_INSERTVAL = 27, // Not used in PNaCl.
Karl 2014/04/02 15:56:22 Same here.
JF 2014/04/02 18:37:12 Done.
342 // fcmp/icmp returning Int1TY or vector of Int1Ty. Same as CMP, exists to 342 // fcmp/icmp returning Int1TY or vector of Int1Ty. Same as CMP, exists to
343 // support legacy vicmp/vfcmp instructions. 343 // support legacy vicmp/vfcmp instructions.
344 FUNC_CODE_INST_CMP2 = 28, // CMP2: [opval, opval, pred] 344 FUNC_CODE_INST_CMP2 = 28, // CMP2: [opval, opval, pred]
345 // new select on i1 or [N x i1] 345 // new select on i1 or [N x i1]
346 FUNC_CODE_INST_VSELECT = 29, // VSELECT: [opval, opval, pred] 346 FUNC_CODE_INST_VSELECT = 29, // VSELECT: [opval, opval, pred]
347 FUNC_CODE_INST_INBOUNDS_GEP= 30, // Not used in PNaCl. 347 FUNC_CODE_INST_INBOUNDS_GEP= 30, // Not used in PNaCl.
348 FUNC_CODE_INST_INDIRECTBR = 31, // Not used in PNaCl. 348 FUNC_CODE_INST_INDIRECTBR = 31, // Not used in PNaCl.
349 // 32 is unused. 349 // 32 is unused.
350 FUNC_CODE_DEBUG_LOC_AGAIN = 33, // Not used in PNaCl. 350 FUNC_CODE_DEBUG_LOC_AGAIN = 33, // Not used in PNaCl.
351 351
352 FUNC_CODE_INST_CALL = 34, // CALL: [cc, fnid, args...] 352 FUNC_CODE_INST_CALL = 34, // CALL: [cc, fnid, args...]
353 // See FUNC_CODE_INST_CALL_INDIRECT below. 353 // See FUNC_CODE_INST_CALL_INDIRECT below.
354 FUNC_CODE_DEBUG_LOC = 35, // Not used in PNaCl. 354 FUNC_CODE_DEBUG_LOC = 35, // Not used in PNaCl.
355 FUNC_CODE_INST_FENCE = 36, // Not used in PNaCl. 355 FUNC_CODE_INST_FENCE = 36, // Not used in PNaCl.
356 FUNC_CODE_INST_CMPXCHG = 37, // Not used in PNaCl. 356 FUNC_CODE_INST_CMPXCHG = 37, // Not used in PNaCl.
357 FUNC_CODE_INST_ATOMICRMW = 38, // Not used in PNaCl. 357 FUNC_CODE_INST_ATOMICRMW = 38, // Not used in PNaCl.
358 FUNC_CODE_INST_RESUME = 39, // Not used in PNaCl. 358 FUNC_CODE_INST_RESUME = 39, // Not used in PNaCl.
359 FUNC_CODE_INST_LANDINGPAD = 40, // Not used in PNaCl. 359 FUNC_CODE_INST_LANDINGPAD = 40, // Not used in PNaCl.
360 FUNC_CODE_INST_LOADATOMIC = 41, // Not used in PNaCl. 360 FUNC_CODE_INST_LOADATOMIC = 41, // Not used in PNaCl.
361 FUNC_CODE_INST_STOREATOMIC = 42, // Not used in PNaCl. 361 FUNC_CODE_INST_STOREATOMIC = 42, // Not used in PNaCl.
362 FUNC_CODE_INST_FORWARDTYPEREF = 43, // TYPE: [opval, ty] 362 FUNC_CODE_INST_FORWARDTYPEREF = 43, // TYPE: [opval, ty]
363 // CALL_INDIRECT: [cc, fnid, returnty, args...] 363 // CALL_INDIRECT: [cc, fnid, returnty, args...]
364 FUNC_CODE_INST_CALL_INDIRECT = 44 364 FUNC_CODE_INST_CALL_INDIRECT = 44
365 }; 365 };
366 } // End naclbitc namespace 366 } // End naclbitc namespace
367 } // End llvm namespace 367 } // End llvm namespace
368 368
369 #endif 369 #endif
OLDNEW
« no previous file with comments | « no previous file | include/llvm/InitializePasses.h » ('j') | lib/Bitcode/NaCl/Reader/NaClBitcodeReader.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698