[−][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]
impl<'twr> Writer<'twr>
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]
impl<'twr> Visitor for Writer<'twr>
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, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
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]
impl<T> Borrow for T where
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId | [src] |
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error> | [src] |
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T | [src] |