Crate cretonne_module [] [src]

Top-level lib.rs for cretonne_module.

Structs

DataContext

This is to data objects what cretonne_codegen::Context is to functions.

DataDescription

A description of a data object.

DataId

A data object identifier for use in the Module interface.

FuncId

A function identifier for use in the Module interface.

Module

A Module is a utility for collecting functions and data objects, and linking them together.

ModuleNamespace

This provides a view to the state of a module which allows ir::ExternalNames to be translated into FunctionDeclarations and DataDeclarations.

Enums

Init

This specifies how data is to be initialized.

Linkage

Linkage refers to where an entity is defined and who can see it.

Writability

A flag specifying whether data is readonly or may be written to.

Traits

Backend

A Backend implements the functionality needed to support a Module.