Crate llvm_constants

Source
Expand description

llvm-constants contains numeric and enum constants for interacting with LLVM bitstreams and IR.

Enums§

AbbrevOpEnc
Codes for each operand encoding type supported by DEFINE_ABBREV.
AttributeCode
Codes for each record in PARAMATTR_BLOCK or PARAMATTR_GROUP_BLOCK.
BlockInfoCode
Codes for each UNABBREV_RECORD in BLOCKINFO.
CallingConvention
Calling conventions supported by LLVM.
IdentificationCode
Codes for each record in IDENTIFICATION_BLOCK.
IrBlockId
Block IDs that are used by LLVM for bitcode (i.e., IR bitstreams). See: enum BlockIDs in Bitcode/LLVMBitCodes.h,
ModuleCode
Codes for each record in MODULE_BLOCK.
ReservedAbbrevId
Abbreviation IDs that are reserved by LLVM.
ReservedBlockId
Block IDs that are reserved by LLVM.
StrtabCode
Codes for each record in STRTAB_BLOCK.
SymtabCode
Codes for each record in SYMTAB_BLOCK.
TypeCode
Codes for each record in TYPE_BLOCK (i.e., TYPE_BLOCK_ID_NEW).

Constants§

BITCODE_WRAPPER_MAGIC
The 32-bit magic that indicates a bitcode wrapper, which in turn points to the start of the actual bitcode stream.
CHAR6_ALPHABET
The lookup alphabet for the Char6 operand encoding.
FIRST_APPLICATION_ABBREV_ID
All abbreviation IDs before this are defined by the bitstream format, rather than the stream itself.
FIRST_APPLICATION_BLOCK_ID
All block IDs before this have their semantics defined by the bitstream format, rather than the stream itself.
INITIAL_ABBREV_ID_WIDTH
The initial abbreviation ID width in a bitstream.
LLVM_IR_MAGIC
The 32-bit magic that indicates a raw LLVM IR bitcode stream.
TARGET_TRIPLE
The current toolchain’s target triple.