1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
//! Numeric constants for `llvm-constants`. /// The 32-bit magic that indicates a raw LLVM IR bitcode stream. pub const LLVM_IR_MAGIC: u32 = 0xdec04342; /// The 32-bit magic that indicates a bitcode wrapper, which in /// turn points to the start of the actual bitcode stream. pub const BITCODE_WRAPPER_MAGIC: u32 = 0x0b17c0de; /// The initial abbreviation ID width in a bitstream. pub const INITIAL_ABBREV_ID_WIDTH: u64 = 2; /// All abbreviation IDs before this are defined by the bitstream format, /// rather than the stream itself. pub const FIRST_APPLICATION_ABBREV_ID: usize = 4;