LLVM API Documentation

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

namespace  llvm
 

List of target independent CodeGen pass IDs.


namespace  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::UNUSED_ID1, 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
}
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 = 9, llvm::bitc::MODULE_CODE_PURGEVALS = 10, llvm::bitc::MODULE_CODE_GCNAME = 11, llvm::bitc::MODULE_CODE_COMDAT = 12
}
 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
}
 TYPE blocks have codes for each type primitive they use. More...
enum  llvm::bitc::TypeSymtabCodes { llvm::bitc::TST_CODE_ENTRY = 1 }
enum  llvm::bitc::ValueSymtabCodes { llvm::bitc::VST_CODE_ENTRY = 1, llvm::bitc::VST_CODE_BBENTRY = 2 }
enum  llvm::bitc::MetadataCodes {
  llvm::bitc::METADATA_STRING = 1, llvm::bitc::METADATA_NAME = 4, llvm::bitc::METADATA_KIND = 6, llvm::bitc::METADATA_NODE = 8,
  llvm::bitc::METADATA_FN_NODE = 9, llvm::bitc::METADATA_NAMED_NODE = 10, llvm::bitc::METADATA_ATTACHMENT = 11
}
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
}
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
}
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
}
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
}
enum  llvm::bitc::OverflowingBinaryOperatorOptionalFlags { llvm::bitc::OBO_NO_UNSIGNED_WRAP = 0, llvm::bitc::OBO_NO_SIGNED_WRAP = 1 }
enum  llvm::bitc::PossiblyExactOperatorOptionalFlags { llvm::bitc::PEO_EXACT = 0 }
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::AtomicSynchScopeCodes { llvm::bitc::SYNCHSCOPE_SINGLETHREAD = 0, llvm::bitc::SYNCHSCOPE_CROSSTHREAD = 1 }
 Encoded SynchronizationScope values. 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 = 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 = 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 = 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 = 37, llvm::bitc::FUNC_CODE_INST_ATOMICRMW = 38, llvm::bitc::FUNC_CODE_INST_RESUME = 39,
  llvm::bitc::FUNC_CODE_INST_LANDINGPAD = 40, llvm::bitc::FUNC_CODE_INST_LOADATOMIC = 41, llvm::bitc::FUNC_CODE_INST_STOREATOMIC = 42
}
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
}
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
}