Crate llvm_support

Source
Expand description

llvm-support provides support types to the other mollusc crates, in furtherance of the general task of parsing LLVM’s bitcode.

Re-exports§

pub use self::align::*;
pub use self::attribute::*;
pub use self::ty::*;

Modules§

align
A typesafe representation of alignment states and operations that preserves LLVM’s alignment invariants.
attribute
Support code for LLVM attributes.
bitcodes
Enum constants for llvm-constants.
ty
Structures for managing LLVM types.

Structs§

StrtabRef
An (offset, size) reference to a string within some string table.

Enums§

CallingConvention
Calling conventions supported by LLVM.
DllStorageClass
DLL storage classes.
Endian
An exact endianness.
InexactEndian
An “inexact” endianness, i.e. one supports an unspecified system endianness.
Linkage
Global value linkage types.
Mangling
Symbol mangling styles supported by LLVM.
RuntimePreemption
The runtime preemption specifier.
ThreadLocalMode
Thread local storage modes.
UnnamedAddr
The unnamed_addr specifier.
Visibility
Valid visibility styles.

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.