cranelift_codegen_meta

Module gen_inst

Source
Expand description

Generate instruction data (including opcodes, formats, builders, etc.).

Constantsยง

TYPESET_LIMIT ๐Ÿ”’

Functionsยง

gen_arguments_method ๐Ÿ”’
gen_bitset ๐Ÿ”’
gen_bool_accessor ๐Ÿ”’
gen_builder ๐Ÿ”’
Generate a Builder trait with methods for all instructions.
gen_format_constructor ๐Ÿ”’
Emit a method for creating and inserting an instruction format.
gen_formats ๐Ÿ”’
Generate an instruction format enumeration.
gen_inst_builder ๐Ÿ”’
Emit a method for generating the instruction inst.
gen_instruction_data ๐Ÿ”’
Generate the InstructionData enum.
gen_instruction_data_impl ๐Ÿ”’
Generate the boring parts of the InstructionData implementation.
gen_member_inits ๐Ÿ”’
Emit member initializers for an instruction format.
gen_opcodes ๐Ÿ”’
gen_type_constraints ๐Ÿ”’
Generate value type constraints for all instructions.
gen_typesets_table ๐Ÿ”’
Generate the table of ValueTypeSets described by type_sets.
generate ๐Ÿ”’
get_constraint ๐Ÿ”’
Get the value type constraint for an SSA value operand, where ctrl_typevar is the controlling type variable.
iterable_to_string ๐Ÿ”’
typeset_to_string ๐Ÿ”’