Struct lovm2::prelude::HirLoweringRuntime [−][src]
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]
meta: ModuleMeta,
options: CompileOptions
) -> HirLoweringRuntime<'lir>
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]
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,
pub 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.
pub 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>,