Module cranelift_codegen_meta::gen_inst
source · Expand description
Generate instruction data (including opcodes, formats, builders, etc.).
Enums
- Which ISLE target are we generating code for?
Constants
Functions
- Generate a Builder trait with methods for all instructions.
- Emit a method for creating and inserting an instruction format.
- Generate an instruction format enumeration.
- Emit a method for generating the instruction
inst
. - Generate the InstructionData enum.
- Generate the boring parts of the InstructionData implementation.
- Generate an
enum
immediate in ISLE. - Emit member initializers for an instruction format.
- Generate value type constraints for all instructions.
- Generate the table of ValueTypeSets described by type_sets.
- generate 🔒
- Get the value type constraint for an SSA value operand, where
ctrl_typevar
is the controlling type variable.