Expand description
Generate CLIF instruction data (including opcodes, formats, builders, etc.).
Constantsยง
- TYPESET_
LIMIT ๐
Functionsยง
- gen_
arguments_ ๐method - gen_
bitset ๐ - gen_
bitwise_ ๐not_ builders - Emit the
band_not,bor_not, andbxor_notInstBuilderbackwards-compat/convenience methods. - 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_
imm_ ๐inst_ builder - Emit the
{name}_imm_s,{name}_imm_u, and (deprecated){name}_immconvenience methods forinst, requested via.inst_builder_imm_method(true). - 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_
one_ ๐imm_ inst_ builder - Emit a single immediate convenience method for
instwith the given method namesuffix(e.g."_imm_s").signedselects sign- vs zero-extension of the materialized immediate, anddeprecation, if set, marks the method#[deprecated]with the given note. - gen_
opcodes ๐ - gen_
stack_ ๐access_ builders - Emit the
stack_load,stack_store,dynamic_stack_load, anddynamic_stack_storeInstBuilderbackwards-compat/convenience methods. - 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_typevaris the controlling type variable. - iterable_
to_ ๐string - typeset_
to_ ๐string