Expand description
Inkwell documentation is a work in progress.
This crate is a fork of Inkwell.
If you have any LLVM knowledge that could be used to improve these docs, we would greatly appreciate you opening an issue and/or a pull request on our GitHub page.
Due to a rustdoc issue, this documentation represents only the latest supported LLVM version. We hope that this issue will be resolved in the future so that multiple versions can be documented side by side.
§Library Wide Notes
- Most functions which take a string slice as input may possibly panic in the unlikely event that a c style string cannot be created based on it. (IE if your slice already has a null byte in it)
Re-exports§
pub extern crate llvm_sys_150 as llvm_sys;
Modules§
- attributes
Attributes are optional modifiers to functions, function parameters, and return types.- basic_
block - A
BasicBlockis a container of instructions. - builder
- A
Builderenables you to build instructions. - comdat
- A
Comdathelps resolve linker errors for duplicate sections. - context
- A
Contextis an opaque owner and manager of core global data. - data_
layout - debug_
info - Debug symbols -
DebugInfoBuilderinterface - execution_
engine - intrinsics
- memory_
buffer - module
- A
Modulerepresets a single code compilation unit. - object_
file - passes
- support
- targets
- types
- A type is a classification which determines how data is used.
- values
- A value is an instance of a type.
Structs§
- Address
Space - Defines the address space in which a global will be inserted.
Enums§
- Atomic
Ordering - AtomicRMW
BinOp - DLLStorage
Class - Float
Predicate - Defines how to compare a
leftandrightFloatValue. - Global
Visibility - Inline
AsmDialect - IntPredicate
- This enum defines how to compare a
leftandrightIntValue. - Optimization
Level - Defines the optimization level used to compile a
Module. - Thread
Local Mode