cranelift

Module prelude

source
Expand description

A prelude providing convenient access to commonly-used cranelift features. Use as use cranelift::prelude::*.

Re-exports§

  • pub use crate::codegen;

Modules§

  • Instruction Set Architectures.
  • Shared settings module.
  • Common types for the Cranelift code generator.

Structs§

  • Function parameter or return value descriptor.
  • An opaque reference to a basic block in a Function.
  • An external function.
  • Temporary object used to build a single Cranelift IR [Function].
  • Structure used for translating a series of functions into Cranelift IR.
  • An IEEE binary32 immediate floating point value, represented as a u32 containing the bit pattern.
  • An IEEE binary64 immediate floating point value, represented as a u64 containing the bit pattern.
  • 64-bit immediate signed integer operand.
  • Contents of a jump table.
  • Flags for memory operations like load/store.
  • Function signature.
  • Contents of a stack slot.
  • A trap code describing the reason for a trap.
  • The type of an SSA value.
  • 64-bit immediate unsigned integer operand.
  • An opaque reference to an SSA value.
  • An opaque reference to a variable.

Enums§

  • The name of an external is either a reference to a user-defined symbol table, or a short sequence of ascii bytes so that test cases do not have to keep track of a symbol table.
  • Condition code for comparing floating point numbers.
  • Information about a global value declaration.
  • Condition code for comparing integers.
  • The kind of a stack slot.

Traits§

  • A string-based configurator for settings groups.
  • A type wrapping a small integer index should implement EntityRef so it can be used as the key of an SecondaryMap or SparseMap.
  • Convenience methods for building instructions.