[−][src]Function cranelift_codegen_meta::gen_inst::gen_instruction_data_impl
fn gen_instruction_data_impl(
formats: &[&InstructionFormat],
fmt: &mut Formatter
)
Generate the boring parts of the InstructionData implementation.
These methods in impl InstructionData
can be generated automatically from the instruction
formats:
pub fn opcode(&self) -> Opcode
pub fn arguments(&self, &pool) -> &[Value]
pub fn arguments_mut(&mut self, &pool) -> &mut [Value]
pub fn take_value_list(&mut self) -> Option<ir::ValueList>
pub fn put_value_list(&mut self, args: ir::ValueList>
pub fn eq(&self, &other: Self, &pool) -> bool
pub fn hash<H: Hasher>(&self, state: &mut H, &pool)