Skip to main content

Module isel

Module isel 

Source
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§

DebugLoc
Source-level debug location carried with machine instructions.
MInstr
A single machine instruction.
MOpcode
Opaque machine opcode (each target provides its own constants).
MachineBlock
A sequence of machine instructions corresponding to one IR basic block.
MachineFunction
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§

IselBackend
Implemented by each target to lower LLVM IR functions to machine IR.