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

A typesafe representation of alignment states and operations that preserves LLVM’s alignment invariants.

Support code for LLVM attributes.

Enum constants for llvm-constants.

Structures for managing LLVM types.

Structs

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

Enums

Calling conventions supported by LLVM.

DLL storage classes.

An exact endianness.

An “inexact” endianness, i.e. one supports an unspecified system endianness.

Global value linkage types.

Symbol mangling styles supported by LLVM.

The runtime preemption specifier.

Thread local storage modes.

The unnamed_addr specifier.

Valid visibility styles.

Constants

The 32-bit magic that indicates a bitcode wrapper, which in turn points to the start of the actual bitcode stream.

The lookup alphabet for the Char6 operand encoding.

All abbreviation IDs before this are defined by the bitstream format, rather than the stream itself.

All block IDs before this have their semantics defined by the bitstream format, rather than the stream itself.

The initial abbreviation ID width in a bitstream.

The 32-bit magic that indicates a raw LLVM IR bitcode stream.

The current toolchain’s target triple.