LLVM  6.0.0svn
Namespaces | Enumerations
LLVMBitCodes.h File Reference
#include "llvm/Bitcode/BitCodes.h"
Include dependency graph for LLVMBitCodes.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 llvm
 Compute iterated dominance frontiers using a linear time algorithm.
 
 llvm::bitc
 

Enumerations

enum  llvm::bitc::BlockIDs {
  llvm::bitc::MODULE_BLOCK_ID = FIRST_APPLICATION_BLOCKID, llvm::bitc::PARAMATTR_BLOCK_ID, llvm::bitc::PARAMATTR_GROUP_BLOCK_ID, llvm::bitc::CONSTANTS_BLOCK_ID,
  llvm::bitc::FUNCTION_BLOCK_ID, llvm::bitc::IDENTIFICATION_BLOCK_ID, llvm::bitc::VALUE_SYMTAB_BLOCK_ID, llvm::bitc::METADATA_BLOCK_ID,
  llvm::bitc::METADATA_ATTACHMENT_ID, llvm::bitc::TYPE_BLOCK_ID_NEW, llvm::bitc::USELIST_BLOCK_ID, llvm::bitc::MODULE_STRTAB_BLOCK_ID,
  llvm::bitc::GLOBALVAL_SUMMARY_BLOCK_ID, llvm::bitc::OPERAND_BUNDLE_TAGS_BLOCK_ID, llvm::bitc::METADATA_KIND_BLOCK_ID, llvm::bitc::STRTAB_BLOCK_ID,
  llvm::bitc::FULL_LTO_GLOBALVAL_SUMMARY_BLOCK_ID, llvm::bitc::SYMTAB_BLOCK_ID, llvm::bitc::SYNC_SCOPE_NAMES_BLOCK_ID
}
 
enum  llvm::bitc::IdentificationCodes { llvm::bitc::IDENTIFICATION_CODE_STRING = 1, llvm::bitc::IDENTIFICATION_CODE_EPOCH = 2 }
 Identification block contains a string that describes the producer details, and an epoch that defines the auto-upgrade capability. More...
 
enum  { llvm::bitc::BITCODE_CURRENT_EPOCH = 0 }
 The epoch that defines the auto-upgrade compatibility for the bitcode. More...
 
enum  llvm::bitc::ModuleCodes {
  llvm::bitc::MODULE_CODE_VERSION = 1, llvm::bitc::MODULE_CODE_TRIPLE = 2, llvm::bitc::MODULE_CODE_DATALAYOUT = 3, llvm::bitc::MODULE_CODE_ASM = 4,
  llvm::bitc::MODULE_CODE_SECTIONNAME = 5, llvm::bitc::MODULE_CODE_DEPLIB = 6, llvm::bitc::MODULE_CODE_GLOBALVAR = 7, llvm::bitc::MODULE_CODE_FUNCTION = 8,
  llvm::bitc::MODULE_CODE_ALIAS_OLD = 9, llvm::bitc::MODULE_CODE_GCNAME = 11, llvm::bitc::MODULE_CODE_COMDAT = 12, llvm::bitc::MODULE_CODE_VSTOFFSET = 13,
  llvm::bitc::MODULE_CODE_ALIAS = 14, llvm::bitc::MODULE_CODE_METADATA_VALUES_UNUSED = 15, llvm::bitc::MODULE_CODE_SOURCE_FILENAME = 16, llvm::bitc::MODULE_CODE_HASH = 17,
  llvm::bitc::MODULE_CODE_IFUNC = 18
}
 MODULE blocks have a number of optional fields and subblocks. More...
 
enum  llvm::bitc::AttributeCodes { llvm::bitc::PARAMATTR_CODE_ENTRY_OLD = 1, llvm::bitc::PARAMATTR_CODE_ENTRY = 2, llvm::bitc::PARAMATTR_GRP_CODE_ENTRY = 3 }
 PARAMATTR blocks have code for defining a parameter attribute set. More...
 
enum  llvm::bitc::TypeCodes {
  llvm::bitc::TYPE_CODE_NUMENTRY = 1, llvm::bitc::TYPE_CODE_VOID = 2, llvm::bitc::TYPE_CODE_FLOAT = 3, llvm::bitc::TYPE_CODE_DOUBLE = 4,
  llvm::bitc::TYPE_CODE_LABEL = 5, llvm::bitc::TYPE_CODE_OPAQUE = 6, llvm::bitc::TYPE_CODE_INTEGER = 7, llvm::bitc::TYPE_CODE_POINTER = 8,
  llvm::bitc::TYPE_CODE_FUNCTION_OLD = 9, llvm::bitc::TYPE_CODE_HALF = 10, llvm::bitc::TYPE_CODE_ARRAY = 11, llvm::bitc::TYPE_CODE_VECTOR = 12,
  llvm::bitc::TYPE_CODE_X86_FP80 = 13, llvm::bitc::TYPE_CODE_FP128 = 14, llvm::bitc::TYPE_CODE_PPC_FP128 = 15, llvm::bitc::TYPE_CODE_METADATA = 16,
  llvm::bitc::TYPE_CODE_X86_MMX = 17, llvm::bitc::TYPE_CODE_STRUCT_ANON = 18, llvm::bitc::TYPE_CODE_STRUCT_NAME = 19, llvm::bitc::TYPE_CODE_STRUCT_NAMED = 20,
  llvm::bitc::TYPE_CODE_FUNCTION = 21, llvm::bitc::TYPE_CODE_TOKEN = 22
}
 TYPE blocks have codes for each type primitive they use. More...
 
enum  llvm::bitc::OperandBundleTagCode { llvm::bitc::OPERAND_BUNDLE_TAG = 1 }
 
enum  llvm::bitc::SyncScopeNameCode { llvm::bitc::SYNC_SCOPE_NAME = 1 }
 
enum  llvm::bitc::ValueSymtabCodes { llvm::bitc::VST_CODE_ENTRY = 1, llvm::bitc::VST_CODE_BBENTRY = 2, llvm::bitc::VST_CODE_FNENTRY = 3, llvm::bitc::VST_CODE_COMBINED_ENTRY = 5 }
 
enum  llvm::bitc::ModulePathSymtabCodes { llvm::bitc::MST_CODE_ENTRY = 1, llvm::bitc::MST_CODE_HASH = 2 }
 
enum  llvm::bitc::GlobalValueSummarySymtabCodes {
  llvm::bitc::FS_PERMODULE = 1, llvm::bitc::FS_PERMODULE_PROFILE = 2, llvm::bitc::FS_PERMODULE_GLOBALVAR_INIT_REFS = 3, llvm::bitc::FS_COMBINED = 4,
  llvm::bitc::FS_COMBINED_PROFILE = 5, llvm::bitc::FS_COMBINED_GLOBALVAR_INIT_REFS = 6, llvm::bitc::FS_ALIAS = 7, llvm::bitc::FS_COMBINED_ALIAS = 8,
  llvm::bitc::FS_COMBINED_ORIGINAL_NAME = 9, llvm::bitc::FS_VERSION = 10, llvm::bitc::FS_TYPE_TESTS = 11, llvm::bitc::FS_TYPE_TEST_ASSUME_VCALLS = 12,
  llvm::bitc::FS_TYPE_CHECKED_LOAD_VCALLS = 13, llvm::bitc::FS_TYPE_TEST_ASSUME_CONST_VCALL = 14, llvm::bitc::FS_TYPE_CHECKED_LOAD_CONST_VCALL = 15, llvm::bitc::FS_VALUE_GUID = 16,
  llvm::bitc::FS_CFI_FUNCTION_DEFS = 17, llvm::bitc::FS_CFI_FUNCTION_DECLS = 18
}
 
enum  llvm::bitc::MetadataCodes {
  llvm::bitc::METADATA_STRING_OLD = 1, llvm::bitc::METADATA_VALUE = 2, llvm::bitc::METADATA_NODE = 3, llvm::bitc::METADATA_NAME = 4,
  llvm::bitc::METADATA_DISTINCT_NODE = 5, llvm::bitc::METADATA_KIND = 6, llvm::bitc::METADATA_LOCATION = 7, llvm::bitc::METADATA_OLD_NODE = 8,
  llvm::bitc::METADATA_OLD_FN_NODE = 9, llvm::bitc::METADATA_NAMED_NODE = 10, llvm::bitc::METADATA_ATTACHMENT = 11, llvm::bitc::METADATA_GENERIC_DEBUG = 12,
  llvm::bitc::METADATA_SUBRANGE = 13, llvm::bitc::METADATA_ENUMERATOR = 14, llvm::bitc::METADATA_BASIC_TYPE = 15, llvm::bitc::METADATA_FILE = 16,
  llvm::bitc::METADATA_DERIVED_TYPE = 17, llvm::bitc::METADATA_COMPOSITE_TYPE = 18, llvm::bitc::METADATA_SUBROUTINE_TYPE = 19, llvm::bitc::METADATA_COMPILE_UNIT = 20,
  llvm::bitc::METADATA_SUBPROGRAM = 21, llvm::bitc::METADATA_LEXICAL_BLOCK = 22, llvm::bitc::METADATA_LEXICAL_BLOCK_FILE = 23, llvm::bitc::METADATA_NAMESPACE = 24,
  llvm::bitc::METADATA_TEMPLATE_TYPE = 25, llvm::bitc::METADATA_TEMPLATE_VALUE = 26, llvm::bitc::METADATA_GLOBAL_VAR = 27, llvm::bitc::METADATA_LOCAL_VAR = 28,
  llvm::bitc::METADATA_EXPRESSION = 29, llvm::bitc::METADATA_OBJC_PROPERTY = 30, llvm::bitc::METADATA_IMPORTED_ENTITY = 31, llvm::bitc::METADATA_MODULE = 32,
  llvm::bitc::METADATA_MACRO = 33, llvm::bitc::METADATA_MACRO_FILE = 34, llvm::bitc::METADATA_STRINGS = 35, llvm::bitc::METADATA_GLOBAL_DECL_ATTACHMENT = 36,
  llvm::bitc::METADATA_GLOBAL_VAR_EXPR = 37, llvm::bitc::METADATA_INDEX_OFFSET = 38, llvm::bitc::METADATA_INDEX = 39
}
 
enum  llvm::bitc::ConstantsCodes {
  llvm::bitc::CST_CODE_SETTYPE = 1, llvm::bitc::CST_CODE_NULL = 2, llvm::bitc::CST_CODE_UNDEF = 3, llvm::bitc::CST_CODE_INTEGER = 4,
  llvm::bitc::CST_CODE_WIDE_INTEGER = 5, llvm::bitc::CST_CODE_FLOAT = 6, llvm::bitc::CST_CODE_AGGREGATE = 7, llvm::bitc::CST_CODE_STRING = 8,
  llvm::bitc::CST_CODE_CSTRING = 9, llvm::bitc::CST_CODE_CE_BINOP = 10, llvm::bitc::CST_CODE_CE_CAST = 11, llvm::bitc::CST_CODE_CE_GEP = 12,
  llvm::bitc::CST_CODE_CE_SELECT = 13, llvm::bitc::CST_CODE_CE_EXTRACTELT = 14, llvm::bitc::CST_CODE_CE_INSERTELT = 15, llvm::bitc::CST_CODE_CE_SHUFFLEVEC = 16,
  llvm::bitc::CST_CODE_CE_CMP = 17, llvm::bitc::CST_CODE_INLINEASM_OLD = 18, llvm::bitc::CST_CODE_CE_SHUFVEC_EX = 19, llvm::bitc::CST_CODE_CE_INBOUNDS_GEP = 20,
  llvm::bitc::CST_CODE_BLOCKADDRESS = 21, llvm::bitc::CST_CODE_DATA = 22, llvm::bitc::CST_CODE_INLINEASM = 23, llvm::bitc::CST_CODE_CE_GEP_WITH_INRANGE_INDEX = 24
}
 
enum  llvm::bitc::CastOpcodes {
  llvm::bitc::CAST_TRUNC = 0, llvm::bitc::CAST_ZEXT = 1, llvm::bitc::CAST_SEXT = 2, llvm::bitc::CAST_FPTOUI = 3,
  llvm::bitc::CAST_FPTOSI = 4, llvm::bitc::CAST_UITOFP = 5, llvm::bitc::CAST_SITOFP = 6, llvm::bitc::CAST_FPTRUNC = 7,
  llvm::bitc::CAST_FPEXT = 8, llvm::bitc::CAST_PTRTOINT = 9, llvm::bitc::CAST_INTTOPTR = 10, llvm::bitc::CAST_BITCAST = 11,
  llvm::bitc::CAST_ADDRSPACECAST = 12
}
 CastOpcodes - These are values used in the bitcode files to encode which cast a CST_CODE_CE_CAST or a XXX refers to. More...
 
enum  llvm::bitc::BinaryOpcodes {
  llvm::bitc::BINOP_ADD = 0, llvm::bitc::BINOP_SUB = 1, llvm::bitc::BINOP_MUL = 2, llvm::bitc::BINOP_UDIV = 3,
  llvm::bitc::BINOP_SDIV = 4, llvm::bitc::BINOP_UREM = 5, llvm::bitc::BINOP_SREM = 6, llvm::bitc::BINOP_SHL = 7,
  llvm::bitc::BINOP_LSHR = 8, llvm::bitc::BINOP_ASHR = 9, llvm::bitc::BINOP_AND = 10, llvm::bitc::BINOP_OR = 11,
  llvm::bitc::BINOP_XOR = 12
}
 BinaryOpcodes - These are values used in the bitcode files to encode which binop a CST_CODE_CE_BINOP or a XXX refers to. More...
 
enum  llvm::bitc::RMWOperations {
  llvm::bitc::RMW_XCHG = 0, llvm::bitc::RMW_ADD = 1, llvm::bitc::RMW_SUB = 2, llvm::bitc::RMW_AND = 3,
  llvm::bitc::RMW_NAND = 4, llvm::bitc::RMW_OR = 5, llvm::bitc::RMW_XOR = 6, llvm::bitc::RMW_MAX = 7,
  llvm::bitc::RMW_MIN = 8, llvm::bitc::RMW_UMAX = 9, llvm::bitc::RMW_UMIN = 10
}
 These are values used in the bitcode files to encode AtomicRMW operations. More...
 
enum  llvm::bitc::OverflowingBinaryOperatorOptionalFlags { llvm::bitc::OBO_NO_UNSIGNED_WRAP = 0, llvm::bitc::OBO_NO_SIGNED_WRAP = 1 }
 OverflowingBinaryOperatorOptionalFlags - Flags for serializing OverflowingBinaryOperator's SubclassOptionalData contents. More...
 
enum  llvm::bitc::PossiblyExactOperatorOptionalFlags { llvm::bitc::PEO_EXACT = 0 }
 PossiblyExactOperatorOptionalFlags - Flags for serializing PossiblyExactOperator's SubclassOptionalData contents. More...
 
enum  llvm::bitc::AtomicOrderingCodes {
  llvm::bitc::ORDERING_NOTATOMIC = 0, llvm::bitc::ORDERING_UNORDERED = 1, llvm::bitc::ORDERING_MONOTONIC = 2, llvm::bitc::ORDERING_ACQUIRE = 3,
  llvm::bitc::ORDERING_RELEASE = 4, llvm::bitc::ORDERING_ACQREL = 5, llvm::bitc::ORDERING_SEQCST = 6
}
 Encoded AtomicOrdering values. More...
 
enum  llvm::bitc::CallMarkersFlags {
  llvm::bitc::CALL_TAIL = 0, llvm::bitc::CALL_CCONV = 1, llvm::bitc::CALL_MUSTTAIL = 14, llvm::bitc::CALL_EXPLICIT_TYPE = 15,
  llvm::bitc::CALL_NOTAIL = 16, llvm::bitc::CALL_FMF = 17
}
 Markers and flags for call instruction. More...
 
enum  llvm::bitc::FunctionCodes {
  llvm::bitc::FUNC_CODE_DECLAREBLOCKS = 1, llvm::bitc::FUNC_CODE_INST_BINOP = 2, llvm::bitc::FUNC_CODE_INST_CAST = 3, llvm::bitc::FUNC_CODE_INST_GEP_OLD = 4,
  llvm::bitc::FUNC_CODE_INST_SELECT = 5, llvm::bitc::FUNC_CODE_INST_EXTRACTELT = 6, llvm::bitc::FUNC_CODE_INST_INSERTELT = 7, llvm::bitc::FUNC_CODE_INST_SHUFFLEVEC = 8,
  llvm::bitc::FUNC_CODE_INST_CMP = 9, llvm::bitc::FUNC_CODE_INST_RET = 10, llvm::bitc::FUNC_CODE_INST_BR = 11, llvm::bitc::FUNC_CODE_INST_SWITCH = 12,
  llvm::bitc::FUNC_CODE_INST_INVOKE = 13, llvm::bitc::FUNC_CODE_INST_UNREACHABLE = 15, llvm::bitc::FUNC_CODE_INST_PHI = 16, llvm::bitc::FUNC_CODE_INST_ALLOCA = 19,
  llvm::bitc::FUNC_CODE_INST_LOAD = 20, llvm::bitc::FUNC_CODE_INST_VAARG = 23, llvm::bitc::FUNC_CODE_INST_STORE_OLD = 24, llvm::bitc::FUNC_CODE_INST_EXTRACTVAL = 26,
  llvm::bitc::FUNC_CODE_INST_INSERTVAL = 27, llvm::bitc::FUNC_CODE_INST_CMP2 = 28, llvm::bitc::FUNC_CODE_INST_VSELECT = 29, llvm::bitc::FUNC_CODE_INST_INBOUNDS_GEP_OLD = 30,
  llvm::bitc::FUNC_CODE_INST_INDIRECTBR = 31, llvm::bitc::FUNC_CODE_DEBUG_LOC_AGAIN = 33, llvm::bitc::FUNC_CODE_INST_CALL = 34, llvm::bitc::FUNC_CODE_DEBUG_LOC = 35,
  llvm::bitc::FUNC_CODE_INST_FENCE = 36, llvm::bitc::FUNC_CODE_INST_CMPXCHG_OLD = 37, llvm::bitc::FUNC_CODE_INST_ATOMICRMW = 38, llvm::bitc::FUNC_CODE_INST_RESUME = 39,
  llvm::bitc::FUNC_CODE_INST_LANDINGPAD_OLD, llvm::bitc::FUNC_CODE_INST_LOADATOMIC = 41, llvm::bitc::FUNC_CODE_INST_STOREATOMIC_OLD = 42, llvm::bitc::FUNC_CODE_INST_GEP = 43,
  llvm::bitc::FUNC_CODE_INST_STORE = 44, llvm::bitc::FUNC_CODE_INST_STOREATOMIC = 45, llvm::bitc::FUNC_CODE_INST_CMPXCHG = 46, llvm::bitc::FUNC_CODE_INST_LANDINGPAD = 47,
  llvm::bitc::FUNC_CODE_INST_CLEANUPRET = 48, llvm::bitc::FUNC_CODE_INST_CATCHRET = 49, llvm::bitc::FUNC_CODE_INST_CATCHPAD = 50, llvm::bitc::FUNC_CODE_INST_CLEANUPPAD = 51,
  llvm::bitc::FUNC_CODE_INST_CATCHSWITCH, llvm::bitc::FUNC_CODE_OPERAND_BUNDLE = 55
}
 
enum  llvm::bitc::UseListCodes { llvm::bitc::USELIST_CODE_DEFAULT = 1, llvm::bitc::USELIST_CODE_BB = 2 }
 
enum  llvm::bitc::AttributeKindCodes {
  llvm::bitc::ATTR_KIND_ALIGNMENT = 1, llvm::bitc::ATTR_KIND_ALWAYS_INLINE = 2, llvm::bitc::ATTR_KIND_BY_VAL = 3, llvm::bitc::ATTR_KIND_INLINE_HINT = 4,
  llvm::bitc::ATTR_KIND_IN_REG = 5, llvm::bitc::ATTR_KIND_MIN_SIZE = 6, llvm::bitc::ATTR_KIND_NAKED = 7, llvm::bitc::ATTR_KIND_NEST = 8,
  llvm::bitc::ATTR_KIND_NO_ALIAS = 9, llvm::bitc::ATTR_KIND_NO_BUILTIN = 10, llvm::bitc::ATTR_KIND_NO_CAPTURE = 11, llvm::bitc::ATTR_KIND_NO_DUPLICATE = 12,
  llvm::bitc::ATTR_KIND_NO_IMPLICIT_FLOAT = 13, llvm::bitc::ATTR_KIND_NO_INLINE = 14, llvm::bitc::ATTR_KIND_NON_LAZY_BIND = 15, llvm::bitc::ATTR_KIND_NO_RED_ZONE = 16,
  llvm::bitc::ATTR_KIND_NO_RETURN = 17, llvm::bitc::ATTR_KIND_NO_UNWIND = 18, llvm::bitc::ATTR_KIND_OPTIMIZE_FOR_SIZE = 19, llvm::bitc::ATTR_KIND_READ_NONE = 20,
  llvm::bitc::ATTR_KIND_READ_ONLY = 21, llvm::bitc::ATTR_KIND_RETURNED = 22, llvm::bitc::ATTR_KIND_RETURNS_TWICE = 23, llvm::bitc::ATTR_KIND_S_EXT = 24,
  llvm::bitc::ATTR_KIND_STACK_ALIGNMENT = 25, llvm::bitc::ATTR_KIND_STACK_PROTECT = 26, llvm::bitc::ATTR_KIND_STACK_PROTECT_REQ = 27, llvm::bitc::ATTR_KIND_STACK_PROTECT_STRONG = 28,
  llvm::bitc::ATTR_KIND_STRUCT_RET = 29, llvm::bitc::ATTR_KIND_SANITIZE_ADDRESS = 30, llvm::bitc::ATTR_KIND_SANITIZE_THREAD = 31, llvm::bitc::ATTR_KIND_SANITIZE_MEMORY = 32,
  llvm::bitc::ATTR_KIND_UW_TABLE = 33, llvm::bitc::ATTR_KIND_Z_EXT = 34, llvm::bitc::ATTR_KIND_BUILTIN = 35, llvm::bitc::ATTR_KIND_COLD = 36,
  llvm::bitc::ATTR_KIND_OPTIMIZE_NONE = 37, llvm::bitc::ATTR_KIND_IN_ALLOCA = 38, llvm::bitc::ATTR_KIND_NON_NULL = 39, llvm::bitc::ATTR_KIND_JUMP_TABLE = 40,
  llvm::bitc::ATTR_KIND_DEREFERENCEABLE = 41, llvm::bitc::ATTR_KIND_DEREFERENCEABLE_OR_NULL = 42, llvm::bitc::ATTR_KIND_CONVERGENT = 43, llvm::bitc::ATTR_KIND_SAFESTACK = 44,
  llvm::bitc::ATTR_KIND_ARGMEMONLY = 45, llvm::bitc::ATTR_KIND_SWIFT_SELF = 46, llvm::bitc::ATTR_KIND_SWIFT_ERROR = 47, llvm::bitc::ATTR_KIND_NO_RECURSE = 48,
  llvm::bitc::ATTR_KIND_INACCESSIBLEMEM_ONLY = 49, llvm::bitc::ATTR_KIND_INACCESSIBLEMEM_OR_ARGMEMONLY = 50, llvm::bitc::ATTR_KIND_ALLOC_SIZE = 51, llvm::bitc::ATTR_KIND_WRITEONLY = 52,
  llvm::bitc::ATTR_KIND_SPECULATABLE = 53, llvm::bitc::ATTR_KIND_STRICT_FP = 54
}
 
enum  llvm::bitc::ComdatSelectionKindCodes {
  llvm::bitc::COMDAT_SELECTION_KIND_ANY = 1, llvm::bitc::COMDAT_SELECTION_KIND_EXACT_MATCH = 2, llvm::bitc::COMDAT_SELECTION_KIND_LARGEST = 3, llvm::bitc::COMDAT_SELECTION_KIND_NO_DUPLICATES = 4,
  llvm::bitc::COMDAT_SELECTION_KIND_SAME_SIZE = 5
}
 
enum  llvm::bitc::StrtabCodes { llvm::bitc::STRTAB_BLOB = 1 }
 
enum  llvm::bitc::SymtabCodes { llvm::bitc::SYMTAB_BLOB = 1 }