Struct cranelift_codegen::write::PlainWriter
source · pub struct PlainWriter;
Expand description
A PlainWriter
that doesn’t decorate the function.
Trait Implementations§
source§impl FuncWriter for PlainWriter
impl FuncWriter for PlainWriter
source§fn write_instruction(
&mut self,
w: &mut dyn Write,
func: &Function,
aliases: &SecondaryMap<Value, Vec<Value>>,
isa: Option<&dyn TargetIsa>,
inst: Inst,
indent: usize
) -> Result
fn write_instruction(
&mut self,
w: &mut dyn Write,
func: &Function,
aliases: &SecondaryMap<Value, Vec<Value>>,
isa: Option<&dyn TargetIsa>,
inst: Inst,
indent: usize
) -> Result
Write the given
inst
to w
.source§fn write_ebb_header(
&mut self,
w: &mut dyn Write,
func: &Function,
isa: Option<&dyn TargetIsa>,
ebb: Ebb,
indent: usize
) -> Result
fn write_ebb_header(
&mut self,
w: &mut dyn Write,
func: &Function,
isa: Option<&dyn TargetIsa>,
ebb: Ebb,
indent: usize
) -> Result
Write the extended basic block header for the current function.