LLVM  8.0.1
LLVMBitCodes.h
Go to the documentation of this file.
1 //===- LLVMBitCodes.h - Enum values for the LLVM bitcode format -*- C++ -*-===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This header defines Bitcode enum values for LLVM IR bitcode files.
11 //
12 // The enum values defined in this file should be considered permanent. If
13 // new features are added, they should have values added at the end of the
14 // respective lists.
15 //
16 //===----------------------------------------------------------------------===//
17 
18 #ifndef LLVM_BITCODE_LLVMBITCODES_H
19 #define LLVM_BITCODE_LLVMBITCODES_H
20 
21 #include "llvm/Bitcode/BitCodes.h"
22 
23 namespace llvm {
24 namespace bitc {
25 // The only top-level block types are MODULE, IDENTIFICATION, STRTAB and SYMTAB.
26 enum BlockIDs {
27  // Blocks
29 
30  // Module sub-block id's.
33 
36 
37  // Block intended to contains information on the bitcode versioning.
38  // Can be used to provide better error messages when we fail to parse a
39  // bitcode file.
41 
45 
47 
49 
52 
54 
56 
58 
60 
62 
64 };
65 
66 /// Identification block contains a string that describes the producer details,
67 /// and an epoch that defines the auto-upgrade capability.
69  IDENTIFICATION_CODE_STRING = 1, // IDENTIFICATION: [strchr x N]
70  IDENTIFICATION_CODE_EPOCH = 2, // EPOCH: [epoch#]
71 };
72 
73 /// The epoch that defines the auto-upgrade compatibility for the bitcode.
74 ///
75 /// LLVM guarantees in a major release that a minor release can read bitcode
76 /// generated by previous minor releases. We translate this by making the reader
77 /// accepting only bitcode with the same epoch, except for the X.0 release which
78 /// also accepts N-1.
79 enum { BITCODE_CURRENT_EPOCH = 0 };
80 
81 /// MODULE blocks have a number of optional fields and subblocks.
83  MODULE_CODE_VERSION = 1, // VERSION: [version#]
84  MODULE_CODE_TRIPLE = 2, // TRIPLE: [strchr x N]
85  MODULE_CODE_DATALAYOUT = 3, // DATALAYOUT: [strchr x N]
86  MODULE_CODE_ASM = 4, // ASM: [strchr x N]
87  MODULE_CODE_SECTIONNAME = 5, // SECTIONNAME: [strchr x N]
88 
89  // FIXME: Remove DEPLIB in 4.0.
90  MODULE_CODE_DEPLIB = 6, // DEPLIB: [strchr x N]
91 
92  // GLOBALVAR: [pointer type, isconst, initid,
93  // linkage, alignment, section, visibility, threadlocal]
95 
96  // FUNCTION: [type, callingconv, isproto, linkage, paramattrs, alignment,
97  // section, visibility, gc, unnamed_addr]
99 
100  // ALIAS: [alias type, aliasee val#, linkage, visibility]
102 
103  MODULE_CODE_GCNAME = 11, // GCNAME: [strchr x N]
104  MODULE_CODE_COMDAT = 12, // COMDAT: [selection_kind, name]
105 
106  MODULE_CODE_VSTOFFSET = 13, // VSTOFFSET: [offset]
107 
108  // ALIAS: [alias value type, addrspace, aliasee val#, linkage, visibility]
110 
112 
113  // SOURCE_FILENAME: [namechar x N]
115 
116  // HASH: [5*i32]
118 
119  // IFUNC: [ifunc value type, addrspace, resolver val#, linkage, visibility]
121 };
122 
123 /// PARAMATTR blocks have code for defining a parameter attribute set.
125  // FIXME: Remove `PARAMATTR_CODE_ENTRY_OLD' in 4.0
126  PARAMATTR_CODE_ENTRY_OLD = 1, // ENTRY: [paramidx0, attr0,
127  // paramidx1, attr1...]
128  PARAMATTR_CODE_ENTRY = 2, // ENTRY: [attrgrp0, attrgrp1, ...]
129  PARAMATTR_GRP_CODE_ENTRY = 3 // ENTRY: [grpid, idx, attr0, attr1, ...]
130 };
131 
132 /// TYPE blocks have codes for each type primitive they use.
133 enum TypeCodes {
134  TYPE_CODE_NUMENTRY = 1, // NUMENTRY: [numentries]
135 
136  // Type Codes
137  TYPE_CODE_VOID = 2, // VOID
138  TYPE_CODE_FLOAT = 3, // FLOAT
139  TYPE_CODE_DOUBLE = 4, // DOUBLE
140  TYPE_CODE_LABEL = 5, // LABEL
141  TYPE_CODE_OPAQUE = 6, // OPAQUE
142  TYPE_CODE_INTEGER = 7, // INTEGER: [width]
143  TYPE_CODE_POINTER = 8, // POINTER: [pointee type]
144 
145  TYPE_CODE_FUNCTION_OLD = 9, // FUNCTION: [vararg, attrid, retty,
146  // paramty x N]
147 
148  TYPE_CODE_HALF = 10, // HALF
149 
150  TYPE_CODE_ARRAY = 11, // ARRAY: [numelts, eltty]
151  TYPE_CODE_VECTOR = 12, // VECTOR: [numelts, eltty]
152 
153  // These are not with the other floating point types because they're
154  // a late addition, and putting them in the right place breaks
155  // binary compatibility.
156  TYPE_CODE_X86_FP80 = 13, // X86 LONG DOUBLE
157  TYPE_CODE_FP128 = 14, // LONG DOUBLE (112 bit mantissa)
158  TYPE_CODE_PPC_FP128 = 15, // PPC LONG DOUBLE (2 doubles)
159 
160  TYPE_CODE_METADATA = 16, // METADATA
161 
162  TYPE_CODE_X86_MMX = 17, // X86 MMX
163 
164  TYPE_CODE_STRUCT_ANON = 18, // STRUCT_ANON: [ispacked, eltty x N]
165  TYPE_CODE_STRUCT_NAME = 19, // STRUCT_NAME: [strchr x N]
166  TYPE_CODE_STRUCT_NAMED = 20, // STRUCT_NAMED: [ispacked, eltty x N]
167 
168  TYPE_CODE_FUNCTION = 21, // FUNCTION: [vararg, retty, paramty x N]
169 
170  TYPE_CODE_TOKEN = 22 // TOKEN
171 };
172 
174  OPERAND_BUNDLE_TAG = 1, // TAG: [strchr x N]
175 };
176 
179 };
180 
181 // Value symbol table codes.
183  VST_CODE_ENTRY = 1, // VST_ENTRY: [valueid, namechar x N]
184  VST_CODE_BBENTRY = 2, // VST_BBENTRY: [bbid, namechar x N]
185  VST_CODE_FNENTRY = 3, // VST_FNENTRY: [valueid, offset, namechar x N]
186  // VST_COMBINED_ENTRY: [valueid, refguid]
188 };
189 
190 // The module path symbol table only has one code (MST_CODE_ENTRY).
192  MST_CODE_ENTRY = 1, // MST_ENTRY: [modid, namechar x N]
193  MST_CODE_HASH = 2, // MST_HASH: [5*i32]
194 };
195 
196 // The summary section uses different codes in the per-module
197 // and combined index cases.
199  // PERMODULE: [valueid, flags, instcount, numrefs, numrefs x valueid,
200  // n x (valueid)]
202  // PERMODULE_PROFILE: [valueid, flags, instcount, numrefs,
203  // numrefs x valueid,
204  // n x (valueid, hotness)]
206  // PERMODULE_GLOBALVAR_INIT_REFS: [valueid, flags, n x valueid]
208  // COMBINED: [valueid, modid, flags, instcount, numrefs, numrefs x valueid,
209  // n x (valueid)]
211  // COMBINED_PROFILE: [valueid, modid, flags, instcount, numrefs,
212  // numrefs x valueid,
213  // n x (valueid, hotness)]
215  // COMBINED_GLOBALVAR_INIT_REFS: [valueid, modid, flags, n x valueid]
217  // ALIAS: [valueid, flags, valueid]
218  FS_ALIAS = 7,
219  // COMBINED_ALIAS: [valueid, modid, flags, valueid]
221  // COMBINED_ORIGINAL_NAME: [original_name_hash]
223  // VERSION of the summary, bumped when adding flags for instance.
225  // The list of llvm.type.test type identifiers used by the following function
226  // that are used other than by an llvm.assume.
227  // [n x typeid]
229  // The list of virtual calls made by this function using
230  // llvm.assume(llvm.type.test) intrinsics that do not have all constant
231  // integer arguments.
232  // [n x (typeid, offset)]
234  // The list of virtual calls made by this function using
235  // llvm.type.checked.load intrinsics that do not have all constant integer
236  // arguments.
237  // [n x (typeid, offset)]
239  // Identifies a virtual call made by this function using an
240  // llvm.assume(llvm.type.test) intrinsic with all constant integer arguments.
241  // [typeid, offset, n x arg]
243  // Identifies a virtual call made by this function using an
244  // llvm.type.checked.load intrinsic with all constant integer arguments.
245  // [typeid, offset, n x arg]
247  // Assigns a GUID to a value ID. This normally appears only in combined
248  // summaries, but it can also appear in per-module summaries for PGO data.
249  // [valueid, guid]
251  // The list of local functions with CFI jump tables. Function names are
252  // strings in strtab.
253  // [n * name]
255  // The list of external functions with CFI jump tables. Function names are
256  // strings in strtab.
257  // [n * name]
259  // Per-module summary that also adds relative block frequency to callee info.
260  // PERMODULE_RELBF: [valueid, flags, instcount, numrefs,
261  // numrefs x valueid,
262  // n x (valueid, relblockfreq)]
264  // Index-wide flags
265  FS_FLAGS = 20,
266  // Maps type identifier to summary information for that type identifier.
267  // TYPE_ID: [typeid, kind, bitwidth, align, size, bitmask, inlinebits,
268  // n x (typeid, kind, name, numrba,
269  // numrba x (numarg, numarg x arg, kind, info, byte, bit))]
271 };
272 
274  METADATA_STRING_OLD = 1, // MDSTRING: [values]
275  METADATA_VALUE = 2, // VALUE: [type num, value num]
276  METADATA_NODE = 3, // NODE: [n x md num]
277  METADATA_NAME = 4, // STRING: [values]
278  METADATA_DISTINCT_NODE = 5, // DISTINCT_NODE: [n x md num]
279  METADATA_KIND = 6, // [n x [id, name]]
280  METADATA_LOCATION = 7, // [distinct, line, col, scope, inlined-at?]
281  METADATA_OLD_NODE = 8, // OLD_NODE: [n x (type num, value num)]
282  METADATA_OLD_FN_NODE = 9, // OLD_FN_NODE: [n x (type num, value num)]
283  METADATA_NAMED_NODE = 10, // NAMED_NODE: [n x mdnodes]
284  METADATA_ATTACHMENT = 11, // [m x [value, [n x [id, mdnode]]]
285  METADATA_GENERIC_DEBUG = 12, // [distinct, tag, vers, header, n x md num]
286  METADATA_SUBRANGE = 13, // [distinct, count, lo]
287  METADATA_ENUMERATOR = 14, // [isUnsigned|distinct, value, name]
288  METADATA_BASIC_TYPE = 15, // [distinct, tag, name, size, align, enc]
289  METADATA_FILE = 16, // [distinct, filename, directory, checksumkind, checksum]
290  METADATA_DERIVED_TYPE = 17, // [distinct, ...]
291  METADATA_COMPOSITE_TYPE = 18, // [distinct, ...]
292  METADATA_SUBROUTINE_TYPE = 19, // [distinct, flags, types, cc]
293  METADATA_COMPILE_UNIT = 20, // [distinct, ...]
294  METADATA_SUBPROGRAM = 21, // [distinct, ...]
295  METADATA_LEXICAL_BLOCK = 22, // [distinct, scope, file, line, column]
296  METADATA_LEXICAL_BLOCK_FILE = 23, //[distinct, scope, file, discriminator]
297  METADATA_NAMESPACE = 24, // [distinct, scope, file, name, line, exportSymbols]
298  METADATA_TEMPLATE_TYPE = 25, // [distinct, scope, name, type, ...]
299  METADATA_TEMPLATE_VALUE = 26, // [distinct, scope, name, type, value, ...]
300  METADATA_GLOBAL_VAR = 27, // [distinct, ...]
301  METADATA_LOCAL_VAR = 28, // [distinct, ...]
302  METADATA_EXPRESSION = 29, // [distinct, n x element]
303  METADATA_OBJC_PROPERTY = 30, // [distinct, name, file, line, ...]
304  METADATA_IMPORTED_ENTITY = 31, // [distinct, tag, scope, entity, line, name]
305  METADATA_MODULE = 32, // [distinct, scope, name, ...]
306  METADATA_MACRO = 33, // [distinct, macinfo, line, name, value]
307  METADATA_MACRO_FILE = 34, // [distinct, macinfo, line, file, ...]
308  METADATA_STRINGS = 35, // [count, offset] blob([lengths][chars])
309  METADATA_GLOBAL_DECL_ATTACHMENT = 36, // [valueid, n x [id, mdnode]]
310  METADATA_GLOBAL_VAR_EXPR = 37, // [distinct, var, expr]
311  METADATA_INDEX_OFFSET = 38, // [offset]
312  METADATA_INDEX = 39, // [bitpos]
313  METADATA_LABEL = 40, // [distinct, scope, name, file, line]
314 };
315 
316 // The constants block (CONSTANTS_BLOCK_ID) describes emission for each
317 // constant and maintains an implicit current type value.
319  CST_CODE_SETTYPE = 1, // SETTYPE: [typeid]
320  CST_CODE_NULL = 2, // NULL
321  CST_CODE_UNDEF = 3, // UNDEF
322  CST_CODE_INTEGER = 4, // INTEGER: [intval]
323  CST_CODE_WIDE_INTEGER = 5, // WIDE_INTEGER: [n x intval]
324  CST_CODE_FLOAT = 6, // FLOAT: [fpval]
325  CST_CODE_AGGREGATE = 7, // AGGREGATE: [n x value number]
326  CST_CODE_STRING = 8, // STRING: [values]
327  CST_CODE_CSTRING = 9, // CSTRING: [values]
328  CST_CODE_CE_BINOP = 10, // CE_BINOP: [opcode, opval, opval]
329  CST_CODE_CE_CAST = 11, // CE_CAST: [opcode, opty, opval]
330  CST_CODE_CE_GEP = 12, // CE_GEP: [n x operands]
331  CST_CODE_CE_SELECT = 13, // CE_SELECT: [opval, opval, opval]
332  CST_CODE_CE_EXTRACTELT = 14, // CE_EXTRACTELT: [opty, opval, opval]
333  CST_CODE_CE_INSERTELT = 15, // CE_INSERTELT: [opval, opval, opval]
334  CST_CODE_CE_SHUFFLEVEC = 16, // CE_SHUFFLEVEC: [opval, opval, opval]
335  CST_CODE_CE_CMP = 17, // CE_CMP: [opty, opval, opval, pred]
336  CST_CODE_INLINEASM_OLD = 18, // INLINEASM: [sideeffect|alignstack,
337  // asmstr,conststr]
338  CST_CODE_CE_SHUFVEC_EX = 19, // SHUFVEC_EX: [opty, opval, opval, opval]
339  CST_CODE_CE_INBOUNDS_GEP = 20, // INBOUNDS_GEP: [n x operands]
340  CST_CODE_BLOCKADDRESS = 21, // CST_CODE_BLOCKADDRESS [fnty, fnval, bb#]
341  CST_CODE_DATA = 22, // DATA: [n x elements]
342  CST_CODE_INLINEASM = 23, // INLINEASM: [sideeffect|alignstack|
343  // asmdialect,asmstr,conststr]
344  CST_CODE_CE_GEP_WITH_INRANGE_INDEX = 24, // [opty, flags, n x operands]
345  CST_CODE_CE_UNOP = 25, // CE_UNOP: [opcode, opval]
346 };
347 
348 /// CastOpcodes - These are values used in the bitcode files to encode which
349 /// cast a CST_CODE_CE_CAST or a XXX refers to. The values of these enums
350 /// have no fixed relation to the LLVM IR enum values. Changing these will
351 /// break compatibility with old files.
366 };
367 
368 /// UnaryOpcodes - These are values used in the bitcode files to encode which
369 /// unop a CST_CODE_CE_UNOP or a XXX refers to. The values of these enums
370 /// have no fixed relation to the LLVM IR enum values. Changing these will
371 /// break compatibility with old files.
374 };
375 
376 /// BinaryOpcodes - These are values used in the bitcode files to encode which
377 /// binop a CST_CODE_CE_BINOP or a XXX refers to. The values of these enums
378 /// have no fixed relation to the LLVM IR enum values. Changing these will
379 /// break compatibility with old files.
385  BINOP_SDIV = 4, // overloaded for FP
387  BINOP_SREM = 6, // overloaded for FP
391  BINOP_AND = 10,
392  BINOP_OR = 11,
394 };
395 
396 /// These are values used in the bitcode files to encode AtomicRMW operations.
397 /// The values of these enums have no fixed relation to the LLVM IR enum
398 /// values. Changing these will break compatibility with old files.
400  RMW_XCHG = 0,
401  RMW_ADD = 1,
402  RMW_SUB = 2,
403  RMW_AND = 3,
404  RMW_NAND = 4,
405  RMW_OR = 5,
406  RMW_XOR = 6,
407  RMW_MAX = 7,
408  RMW_MIN = 8,
409  RMW_UMAX = 9,
410  RMW_UMIN = 10
411 };
412 
413 /// OverflowingBinaryOperatorOptionalFlags - Flags for serializing
414 /// OverflowingBinaryOperator's SubclassOptionalData contents.
418 };
419 
420 /// FastMath Flags
421 /// This is a fixed layout derived from the bitcode emitted by LLVM 5.0
422 /// intended to decouple the in-memory representation from the serialization.
424  UnsafeAlgebra = (1 << 0), // Legacy
425  NoNaNs = (1 << 1),
426  NoInfs = (1 << 2),
427  NoSignedZeros = (1 << 3),
428  AllowReciprocal = (1 << 4),
429  AllowContract = (1 << 5),
430  ApproxFunc = (1 << 6),
431  AllowReassoc = (1 << 7)
432 };
433 
434 /// PossiblyExactOperatorOptionalFlags - Flags for serializing
435 /// PossiblyExactOperator's SubclassOptionalData contents.
437 
438 /// Encoded AtomicOrdering values.
447 };
448 
449 /// Markers and flags for call instruction.
456  CALL_FMF = 17 // Call has optional fast-math-flags.
457 };
458 
459 // The function body block (FUNCTION_BLOCK_ID) describes function bodies. It
460 // can contain a constant block (CONSTANTS_BLOCK_ID).
462  FUNC_CODE_DECLAREBLOCKS = 1, // DECLAREBLOCKS: [n]
463 
464  FUNC_CODE_INST_BINOP = 2, // BINOP: [opcode, ty, opval, opval]
465  FUNC_CODE_INST_CAST = 3, // CAST: [opcode, ty, opty, opval]
466  FUNC_CODE_INST_GEP_OLD = 4, // GEP: [n x operands]
467  FUNC_CODE_INST_SELECT = 5, // SELECT: [ty, opval, opval, opval]
468  FUNC_CODE_INST_EXTRACTELT = 6, // EXTRACTELT: [opty, opval, opval]
469  FUNC_CODE_INST_INSERTELT = 7, // INSERTELT: [ty, opval, opval, opval]
470  FUNC_CODE_INST_SHUFFLEVEC = 8, // SHUFFLEVEC: [ty, opval, opval, opval]
471  FUNC_CODE_INST_CMP = 9, // CMP: [opty, opval, opval, pred]
472 
473  FUNC_CODE_INST_RET = 10, // RET: [opty,opval<both optional>]
474  FUNC_CODE_INST_BR = 11, // BR: [bb#, bb#, cond] or [bb#]
475  FUNC_CODE_INST_SWITCH = 12, // SWITCH: [opty, op0, op1, ...]
476  FUNC_CODE_INST_INVOKE = 13, // INVOKE: [attr, fnty, op0,op1, ...]
477  // 14 is unused.
478  FUNC_CODE_INST_UNREACHABLE = 15, // UNREACHABLE
479 
480  FUNC_CODE_INST_PHI = 16, // PHI: [ty, val0,bb0, ...]
481  // 17 is unused.
482  // 18 is unused.
483  FUNC_CODE_INST_ALLOCA = 19, // ALLOCA: [instty, opty, op, align]
484  FUNC_CODE_INST_LOAD = 20, // LOAD: [opty, op, align, vol]
485  // 21 is unused.
486  // 22 is unused.
487  FUNC_CODE_INST_VAARG = 23, // VAARG: [valistty, valist, instty]
488  // This store code encodes the pointer type, rather than the value type
489  // this is so information only available in the pointer type (e.g. address
490  // spaces) is retained.
491  FUNC_CODE_INST_STORE_OLD = 24, // STORE: [ptrty,ptr,val, align, vol]
492  // 25 is unused.
493  FUNC_CODE_INST_EXTRACTVAL = 26, // EXTRACTVAL: [n x operands]
494  FUNC_CODE_INST_INSERTVAL = 27, // INSERTVAL: [n x operands]
495  // fcmp/icmp returning Int1TY or vector of Int1Ty. Same as CMP, exists to
496  // support legacy vicmp/vfcmp instructions.
497  FUNC_CODE_INST_CMP2 = 28, // CMP2: [opty, opval, opval, pred]
498  // new select on i1 or [N x i1]
499  FUNC_CODE_INST_VSELECT = 29, // VSELECT: [ty,opval,opval,predty,pred]
500  FUNC_CODE_INST_INBOUNDS_GEP_OLD = 30, // INBOUNDS_GEP: [n x operands]
501  FUNC_CODE_INST_INDIRECTBR = 31, // INDIRECTBR: [opty, op0, op1, ...]
502  // 32 is unused.
503  FUNC_CODE_DEBUG_LOC_AGAIN = 33, // DEBUG_LOC_AGAIN
504 
505  FUNC_CODE_INST_CALL = 34, // CALL: [attr, cc, fnty, fnid, args...]
506 
507  FUNC_CODE_DEBUG_LOC = 35, // DEBUG_LOC: [Line,Col,ScopeVal, IAVal]
508  FUNC_CODE_INST_FENCE = 36, // FENCE: [ordering, synchscope]
509  FUNC_CODE_INST_CMPXCHG_OLD = 37, // CMPXCHG: [ptrty,ptr,cmp,new, align, vol,
510  // ordering, synchscope]
511  FUNC_CODE_INST_ATOMICRMW = 38, // ATOMICRMW: [ptrty,ptr,val, operation,
512  // align, vol,
513  // ordering, synchscope]
514  FUNC_CODE_INST_RESUME = 39, // RESUME: [opval]
516  40, // LANDINGPAD: [ty,val,val,num,id0,val0...]
517  FUNC_CODE_INST_LOADATOMIC = 41, // LOAD: [opty, op, align, vol,
518  // ordering, synchscope]
519  FUNC_CODE_INST_STOREATOMIC_OLD = 42, // STORE: [ptrty,ptr,val, align, vol
520  // ordering, synchscope]
521  FUNC_CODE_INST_GEP = 43, // GEP: [inbounds, n x operands]
522  FUNC_CODE_INST_STORE = 44, // STORE: [ptrty,ptr,valty,val, align, vol]
523  FUNC_CODE_INST_STOREATOMIC = 45, // STORE: [ptrty,ptr,val, align, vol
524  FUNC_CODE_INST_CMPXCHG = 46, // CMPXCHG: [ptrty,ptr,valty,cmp,new, align,
525  // vol,ordering,synchscope]
526  FUNC_CODE_INST_LANDINGPAD = 47, // LANDINGPAD: [ty,val,num,id0,val0...]
527  FUNC_CODE_INST_CLEANUPRET = 48, // CLEANUPRET: [val] or [val,bb#]
528  FUNC_CODE_INST_CATCHRET = 49, // CATCHRET: [val,bb#]
529  FUNC_CODE_INST_CATCHPAD = 50, // CATCHPAD: [bb#,bb#,num,args...]
530  FUNC_CODE_INST_CLEANUPPAD = 51, // CLEANUPPAD: [num,args...]
532  52, // CATCHSWITCH: [num,args...] or [num,args...,bb]
533  // 53 is unused.
534  // 54 is unused.
535  FUNC_CODE_OPERAND_BUNDLE = 55, // OPERAND_BUNDLE: [tag#, value...]
536  FUNC_CODE_INST_UNOP = 56, // UNOP: [opcode, ty, opval]
537 };
538 
540  USELIST_CODE_DEFAULT = 1, // DEFAULT: [index..., value-id]
541  USELIST_CODE_BB = 2 // BB: [index..., bb-id]
542 };
543 
545  // = 0 is unused
605 };
606 
613 };
614 
617 };
618 
621 };
622 
623 } // End bitc namespace
624 } // End llvm namespace
625 
626 #endif
PossiblyExactOperatorOptionalFlags
PossiblyExactOperatorOptionalFlags - Flags for serializing PossiblyExactOperator&#39;s SubclassOptionalDa...
Definition: LLVMBitCodes.h:436
This class represents lattice values for constants.
Definition: AllocatorList.h:24
CastOpcodes
CastOpcodes - These are values used in the bitcode files to encode which cast a CST_CODE_CE_CAST or a...
Definition: LLVMBitCodes.h:352
UnaryOpcodes
UnaryOpcodes - These are values used in the bitcode files to encode which unop a CST_CODE_CE_UNOP or ...
Definition: LLVMBitCodes.h:372
GlobalValueSummarySymtabCodes
Definition: LLVMBitCodes.h:198
CallMarkersFlags
Markers and flags for call instruction.
Definition: LLVMBitCodes.h:450
BinaryOpcodes
BinaryOpcodes - These are values used in the bitcode files to encode which binop a CST_CODE_CE_BINOP ...
Definition: LLVMBitCodes.h:380
AttributeCodes
PARAMATTR blocks have code for defining a parameter attribute set.
Definition: LLVMBitCodes.h:124
ComdatSelectionKindCodes
Definition: LLVMBitCodes.h:607
OverflowingBinaryOperatorOptionalFlags
OverflowingBinaryOperatorOptionalFlags - Flags for serializing OverflowingBinaryOperator&#39;s SubclassOp...
Definition: LLVMBitCodes.h:415
FastMathMap
FastMath Flags This is a fixed layout derived from the bitcode emitted by LLVM 5.0 intended to decoup...
Definition: LLVMBitCodes.h:423
IdentificationCodes
Identification block contains a string that describes the producer details, and an epoch that defines...
Definition: LLVMBitCodes.h:68
ModuleCodes
MODULE blocks have a number of optional fields and subblocks.
Definition: LLVMBitCodes.h:82
AtomicOrderingCodes
Encoded AtomicOrdering values.
Definition: LLVMBitCodes.h:439
TypeCodes
TYPE blocks have codes for each type primitive they use.
Definition: LLVMBitCodes.h:133
RMWOperations
These are values used in the bitcode files to encode AtomicRMW operations.
Definition: LLVMBitCodes.h:399