[−][src]Struct llhd::assembly::Writer
Emits a module as human-readable assembly code that can be parsed again later.
Methods
impl<'twr> Writer<'twr>
[src]
pub fn new(sink: &mut dyn Write) -> Writer
[src]
Create a new assembly writer that will emit code into the provided sink.
Trait Implementations
impl<'twr> Visitor for Writer<'twr>
[src]
fn visit_module(&mut self, module: &Module)
[src]
fn visit_function(&mut self, ctx: &ModuleContext, func: &Function)
[src]
fn visit_process(&mut self, ctx: &ModuleContext, prok: &Process)
[src]
fn visit_entity(&mut self, ctx: &ModuleContext, entity: &Entity)
[src]
fn visit_arguments(&mut self, args: &[Argument])
[src]
fn visit_argument(&mut self, arg: &Argument)
[src]
fn visit_block(&mut self, ctx: &dyn SequentialContext, block: &Block)
[src]
fn visit_inst(&mut self, ctx: &dyn UnitContext, inst: &Inst)
[src]
fn visit_module_value(&mut self, ctx: &ModuleContext, value: &ValueRef)
[src]
fn walk_module(&mut self, module: &Module)
[src]
fn walk_function(&mut self, ctx: &ModuleContext, func: &Function)
[src]
fn walk_process(&mut self, ctx: &ModuleContext, prok: &Process)
[src]
fn walk_entity(&mut self, ctx: &ModuleContext, entity: &Entity)
[src]
fn walk_arguments(&mut self, args: &[Argument])
[src]
fn walk_block(&mut self, ctx: &dyn SequentialContext, block: &Block)
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,