Trait cranelift_codegen::machinst::MachInstEmit [−][src]
A trait describing the ability to encode a MachInst into binary machine code.
Associated Types
type State: MachInstEmitState<Self>
[src][−]
Persistent state carried across emit
invocations.
type Info: MachInstEmitInfo
[src][−]
Constant information used in emit
invocations.
type UnwindInfo: UnwindInfoGenerator<Self>
[src][−]
Unwind info generator.
Required methods
fn emit(
&self,
code: &mut MachBuffer<Self>,
info: &Self::Info,
state: &mut Self::State
)
[src][−]
&self,
code: &mut MachBuffer<Self>,
info: &Self::Info,
state: &mut Self::State
)
Emit the instruction.
fn pretty_print(
&self,
mb_rru: Option<&RealRegUniverse>,
state: &mut Self::State
) -> String
[src][−]
&self,
mb_rru: Option<&RealRegUniverse>,
state: &mut Self::State
) -> String
Pretty-print the instruction.