[−][src]Struct llhd::pass::vtpp::VarToPhiPromotion
Var to Phi Promotion
This pass tries to replace var
, ld
, and st
instructions with phi
nodes as far as possible.
Trait Implementations
impl Pass for VarToPhiPromotion
[src]
fn run_on_cfg(_ctx: &PassContext, unit: &mut impl UnitBuilder) -> bool
[src]
fn run_on_module(ctx: &PassContext, module: &mut Module) -> bool
[src]
fn run_on_function(ctx: &PassContext, func: &mut FunctionBuilder) -> bool
[src]
fn run_on_process(ctx: &PassContext, prok: &mut ProcessBuilder) -> bool
[src]
fn run_on_entity(ctx: &PassContext, entity: &mut EntityBuilder) -> bool
[src]
fn run_on_inst(
ctx: &PassContext,
inst: Inst,
unit: &mut impl UnitBuilder
) -> bool
[src]
ctx: &PassContext,
inst: Inst,
unit: &mut impl UnitBuilder
) -> bool
Auto Trait Implementations
impl RefUnwindSafe for VarToPhiPromotion
impl Send for VarToPhiPromotion
impl Sync for VarToPhiPromotion
impl Unpin for VarToPhiPromotion
impl UnwindSafe for VarToPhiPromotion
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>,