Crate llvm_support[][src]

Expand description

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

Structs

An invariant-preserving newtype for representing the address space of a pointer type.

A size efficient, opaque representation of bytewise alignment.

An invariant-preserving newtype for representing the bitwidth of an alignable type.

Represents a pointer width (in bits), along with its ABI-mandated and preferred alignments (which may differ).

Represents a sorted collection of PointerAlignSpecs.

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

Represents an alignable type, along with its ABI-mandated and preferred alignments (which may differ).

Represents a sorted collection of TypeAlignSpecs.

Enums

Errors that can occur when constructing an AddressSpace

Errors that can occur when constructing an Align

Errors that can occur when constructing a TypeAlignSpec or PointerAlignSpec.

An enumeration of alignable non-pointer types.

Errors that can occur when constructing an AlignedTypeWidth

An exact endianness.

A model for function pointer alignment behavior.

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

Symbol mangling styles supported by LLVM.