Crate llvm [−] [src]
This library provides wrappers for LLVM that are memory-safe and follow Rust idioms.
The original LLVM reference is available here but take note that this isn't as thorough as this documentation.
An alias to another global value.
An argument that is passed to a function.
A container of instructions that execute sequentially.
This provides a uniform API for creating instructions and inserting them into a basic block.
A wrapper for pointers made by C that are now completely owned by Rust, so they are not limited by any lifetimes.
A wrapper for pointers made by C that are now partially owned in Rust.
Contains all the LLVM entities - mainly modules.
A function is a kind of value that can be called and contains blocks of code.
A function signature type.
An iterator through the functions contained in a module.
A wrapped value that can be passed to an interpreted function or returned from one
A value with global scope (eg: Function, Alias, Global variable)
A global variable
The interpreter backend
The MCJIT backend, which compiles functions and values into machine code.
The options to pass to the MCJIT backend.
Represents a single compilation unit of code.
An external object file that has been parsed by LLVM.
A structure type, such as a tuple or struct.
Represents an LLVM Target
Defines how a value should be laid out in memory.
A typed value that can be used as an operand in instructions.
These indicate how you want arguments / functions to be handled.
A way of indicating to LLVM how you want a global to interact during linkage.
Comparative operations on values.
A type that can be represented as a constant in LLVM IR.
An abstract interface for implementation execution of LLVM modules.
A value that can be cast into a
Implemented by everything that is owned by a context.
Indicates that this structure is a substructure of another.