Struct cranelift_codegen::write::PlainWriter [−][src]
pub struct PlainWriter;
Expand description
A PlainWriter
that doesn’t decorate the function.
Trait Implementations
impl FuncWriter for PlainWriter
[src]
impl FuncWriter for PlainWriter
[src]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
[src]
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
[src]Write the given inst
to w
.
fn write_block_header(
&mut self,
w: &mut dyn Write,
func: &Function,
isa: Option<&dyn TargetIsa>,
block: Block,
indent: usize
) -> Result
[src]
fn write_block_header(
&mut self,
w: &mut dyn Write,
func: &Function,
isa: Option<&dyn TargetIsa>,
block: Block,
indent: usize
) -> Result
[src]Write the basic block header for the current function.
fn write_preamble(
&mut self,
w: &mut dyn Write,
func: &Function,
regs: Option<&RegInfo>
) -> Result<bool, Error>
[src]
fn write_preamble(
&mut self,
w: &mut dyn Write,
func: &Function,
regs: Option<&RegInfo>
) -> Result<bool, Error>
[src]Write the preamble to w
. By default, this uses write_entity_definition
.
fn super_preamble(
&mut self,
w: &mut dyn Write,
func: &Function,
regs: Option<&RegInfo>
) -> Result<bool, Error>
[src]
fn super_preamble(
&mut self,
w: &mut dyn Write,
func: &Function,
regs: Option<&RegInfo>
) -> Result<bool, Error>
[src]Default impl of write_preamble