Expand description
Generate the Cranelift-specific integration of the x64 assembler.
EnumsΒ§
- Isle
Constructor π - Different kinds of ISLE constructors generated for a particular instruction.
ConstantsΒ§
- ASM π
- This factors out use of the assembler crate name.
FunctionsΒ§
- generate_
isle - Generate the ISLE definitions that match the
isle_assembler_methods!
macro above. - generate_
isle_ πinst_ decls - Generate a βrawβ constructor that simply constructs, but does not emit the assembly instruction:
- generate_
macro_ πinst_ fn fn x64_<inst>(&mut self, <params>) -> Inst<R> { ... }
- generate_
rust_ macro - Generate the
isle_assembler_methods!
macro. - include_
inst π - is_
raw_ πoperand_ param - Returns whether
o
is included in the*_raw
constructor generated in ISLE/Rust. - isle_
constructors π - Returns the ISLE constructors that are going to be used when generating this instruction.
- isle_
param_ πfor_ ctor - Returns the parameter type used for the
IsleConstructor
variant provided. - isle_
param_ πraw - Returns the type of this operand in ISLE as a part of the ISLE βrawβ constructors.
- rust_
convert_ πisle_ to_ assembler - Returns the conversion function, if any, when converting the ISLE type for
this parameter to the assembler type for this parameter. Effectively
converts
self.rust_param_raw()
to the assembler type. - rust_
param_ πraw - Returns the Rust type used for the
IsleConstructorRaw
variants.