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§
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§
- Strtab
Ref - An
(offset, size)
reference to a string within some string table.
Enums§
- Calling
Convention - Calling conventions supported by LLVM.
- DllStorage
Class - DLL storage classes.
- Endian
- An exact endianness.
- Inexact
Endian - An “inexact” endianness, i.e. one supports an unspecified system endianness.
- Linkage
- Global value linkage types.
- Mangling
- Symbol mangling styles supported by LLVM.
- Runtime
Preemption - The runtime preemption specifier.
- Thread
Local Mode - Thread local storage modes.
- Unnamed
Addr - 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.