Expand description
Top-level lib.rs for cranelift_module
.
Structs§
- This is to data objects what cranelift_codegen::Context is to functions.
- A description of a data object.
- A data object identifier for use in the
Module
interface. - A function identifier for use in the
Module
interface. - A
Module
is a utility for collecting functions and data objects, and linking them together. - A function belonging to a
Module
. - This provides a view to the state of a module which allows
ir::ExternalName
s to be translated intoFunctionDeclaration
s andDataDeclaration
s.
Enums§
- A declared name may refer to either a function or data declaration
- This specifies how data is to be initialized.
- Linkage refers to where an entity is defined and who can see it.
- Error messages for all
Module
andBackend
methods
Constants§
- Version number of this crate.
Traits§
- A
Backend
implements the functionality needed to support aModule
.
Functions§
- Default names for
ir::LibCall
s. A function by this name is imported into the object as part of the translation of air::ExternalName::LibCall
variant.
Type Aliases§
- A convenient alias for a
Result
that usesModuleError
as the error type.