Expand description
llvm-constants
contains numeric and enum constants for interacting with LLVM
bitstreams and IR.
Enums§
- Abbrev
OpEnc - Codes for each operand encoding type supported by
DEFINE_ABBREV
. - Attribute
Code - Codes for each record in
PARAMATTR_BLOCK
orPARAMATTR_GROUP_BLOCK
. - Block
Info Code - Codes for each
UNABBREV_RECORD
inBLOCKINFO
. - Calling
Convention - Calling conventions supported by LLVM.
- Identification
Code - Codes for each record in
IDENTIFICATION_BLOCK
. - IrBlock
Id - Block IDs that are used by LLVM for bitcode (i.e., IR bitstreams).
See:
enum BlockIDs
inBitcode/LLVMBitCodes.h
, - Module
Code - Codes for each record in
MODULE_BLOCK
. - Reserved
Abbrev Id - Abbreviation IDs that are reserved by LLVM.
- Reserved
Block Id - Block IDs that are reserved by LLVM.
- Strtab
Code - Codes for each record in
STRTAB_BLOCK
. - Symtab
Code - Codes for each record in
SYMTAB_BLOCK
. - Type
Code - 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.