[−][src]Struct llhd::ir::ProcessBuilder
Temporary object used to build a single Process
.
Fields
prok: &'u mut Process
The function currently being built.
Methods
impl<'u> ProcessBuilder<'u>
[src]
Trait Implementations
impl<'_> UnitBuilder for ProcessBuilder<'_>
[src]
type Unit = Process
The type returned by unit()
and unit_mut()
.
fn unit(&self) -> &Process
[src]
fn unit_mut(&mut self) -> &mut Process
[src]
fn build_inst(&mut self, data: InstData, ty: Type) -> Inst
[src]
fn remove_inst(&mut self, inst: Inst)
[src]
fn block(&mut self) -> Block
[src]
fn remove_block(&mut self, bb: Block)
[src]
fn insert_at_end(&mut self)
[src]
fn insert_at_beginning(&mut self)
[src]
fn append_to(&mut self, bb: Block)
[src]
fn prepend_to(&mut self, bb: Block)
[src]
fn insert_after(&mut self, inst: Inst)
[src]
fn insert_before(&mut self, inst: Inst)
[src]
fn ins(&mut self) -> InstBuilder<&mut Self>
[src]
fn named_block(&mut self, name: impl Into<String>) -> Block
[src]
fn dfg(&self) -> &DataFlowGraph
[src]
fn dfg_mut(&mut self) -> &mut DataFlowGraph
[src]
fn cfg(&self) -> &ControlFlowGraph
[src]
fn cfg_mut(&mut self) -> &mut ControlFlowGraph
[src]
fn try_cfg(&self) -> Option<&ControlFlowGraph>
[src]
fn try_cfg_mut(&mut self) -> Option<&mut ControlFlowGraph>
[src]
fn func_layout(&self) -> &FunctionLayout
[src]
fn func_layout_mut(&mut self) -> &mut FunctionLayout
[src]
fn inst_layout(&self) -> &InstLayout
[src]
fn inst_layout_mut(&mut self) -> &mut InstLayout
[src]
fn add_extern(&mut self, name: UnitName, sig: Signature) -> ExtUnit
[src]
fn prune_if_unused(&mut self, inst: Inst) -> bool
[src]
Auto Trait Implementations
impl<'u> RefUnwindSafe for ProcessBuilder<'u>
impl<'u> Send for ProcessBuilder<'u>
impl<'u> Sync for ProcessBuilder<'u>
impl<'u> Unpin for ProcessBuilder<'u>
impl<'u> !UnwindSafe for ProcessBuilder<'u>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
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, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,