Expand description
Public API for isel.
Machine IR types and instruction-selection backend trait.
The machine IR (MachineFunction, MInstr, …) is target-independent.
Target backends implement IselBackend to lower LLVM IR to machine IR.
Structs§
- Debug
Loc - Source-level debug location carried with machine instructions.
- MInstr
- A single machine instruction.
- MOpcode
- Opaque machine opcode (each target provides its own constants).
- Machine
Block - A sequence of machine instructions corresponding to one IR basic block.
- Machine
Function - Machine-level representation of a function, ready for register allocation and code emission.
- PReg
- Physical register (target-specific numbering).
- VReg
- Virtual register (unlimited supply, created during instruction selection).
Enums§
- MOperand
- An operand in a machine instruction.
Traits§
- Isel
Backend - Implemented by each target to lower LLVM IR functions to machine IR.