[][src]Module regalloc::interface

This is the top level interface for the regalloc library.

Structs

InstRegUses
MyRange
RealReg
RealRegUniverse
Reg
RegAllocResult

The result of register allocation. Note that allocation can fail!

Set
TypedIxVec
VirtualReg

Enums

BlockIx
InstIx
RegAllocAlgorithm

A choice of register allocation algorithm to run.

RegClass
SpillSlot

Constants

NUM_REG_CLASSES

The number of register classes that exist. N.B.: must be <= 7 (fit into 3 bits) for 32-bit VReg/RReg packed format!

Traits

Function

A trait defined by the regalloc client to provide access to its machine-instruction / CFG representation.

Functions

allocate_registers

Allocate registers for a function's code, given a universe of real registers that we are allowed to use.

Type Definitions

Map