Struct lovm2::prelude::HirLoweringRuntime[][src]

pub struct HirLoweringRuntime<'lir> { /* fields omitted */ }

Information for the process of lowering HIR to LIR

Implementations

impl<'lir> HirLoweringRuntime<'lir>[src]

pub fn new(
    meta: ModuleMeta,
    options: CompileOptions
) -> HirLoweringRuntime<'lir>
[src]

pub fn create_new_label(&mut self) -> Label[src]

pub fn add_hir(&mut self, hir: &'lir Hir) -> Result<(), Lovm2CompileError>[src]

pub fn complete(self) -> Result<CodeObject, Lovm2CompileError>[src]

pub fn emit(&mut self, elem: LirElement<'lir>)[src]

pub fn has_local(&self, var: &Variable) -> bool[src]

pub fn loop_mut(&mut self) -> Option<&mut HirLoweringRepeat>[src]

pub fn push_loop(&mut self) -> &HirLoweringRepeat[src]

pub fn pop_loop(&mut self) -> Option<HirLoweringRepeat>[src]

pub fn branch_mut(&mut self) -> Option<&mut HirLoweringBranch>[src]

pub fn push_branch(&mut self) -> &HirLoweringBranch[src]

pub fn pop_branch(&mut self) -> Option<HirLoweringBranch>[src]

Auto Trait Implementations

impl<'lir> !RefUnwindSafe for HirLoweringRuntime<'lir>[src]

impl<'lir> !Send for HirLoweringRuntime<'lir>[src]

impl<'lir> !Sync for HirLoweringRuntime<'lir>[src]

impl<'lir> Unpin for HirLoweringRuntime<'lir>[src]

impl<'lir> !UnwindSafe for HirLoweringRuntime<'lir>[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.