[−][src]Struct rustc_mir::dataflow::framework::direction::Forward
Dataflow that runs from the entry of a block (the first statement), to its exit (terminator).
Trait Implementations
impl Direction for Forward
[src]
pub fn is_forward() -> bool
[src]
pub fn apply_effects_in_block<A, 'tcx>(
analysis: &A,
state: &mut A::Domain,
block: BasicBlock,
block_data: &BasicBlockData<'tcx>
) where
A: Analysis<'tcx>,
[src]
analysis: &A,
state: &mut A::Domain,
block: BasicBlock,
block_data: &BasicBlockData<'tcx>
) where
A: Analysis<'tcx>,
pub fn gen_kill_effects_in_block<A, 'tcx>(
analysis: &A,
trans: &mut GenKillSet<A::Idx>,
block: BasicBlock,
block_data: &BasicBlockData<'tcx>
) where
A: GenKillAnalysis<'tcx>,
[src]
analysis: &A,
trans: &mut GenKillSet<A::Idx>,
block: BasicBlock,
block_data: &BasicBlockData<'tcx>
) where
A: GenKillAnalysis<'tcx>,
pub fn apply_effects_in_range<A, 'tcx>(
analysis: &A,
state: &mut A::Domain,
block: BasicBlock,
block_data: &BasicBlockData<'tcx>,
effects: RangeInclusive<EffectIndex>
) where
A: Analysis<'tcx>,
[src]
analysis: &A,
state: &mut A::Domain,
block: BasicBlock,
block_data: &BasicBlockData<'tcx>,
effects: RangeInclusive<EffectIndex>
) where
A: Analysis<'tcx>,
pub fn visit_results_in_block<F, R, 'tcx, 'mir>(
state: &mut F,
block: BasicBlock,
block_data: &'mir BasicBlockData<'tcx>,
results: &R,
vis: &mut impl ResultsVisitor<'mir, 'tcx, FlowState = F>
) where
R: ResultsVisitable<'tcx, FlowState = F>,
[src]
state: &mut F,
block: BasicBlock,
block_data: &'mir BasicBlockData<'tcx>,
results: &R,
vis: &mut impl ResultsVisitor<'mir, 'tcx, FlowState = F>
) where
R: ResultsVisitable<'tcx, FlowState = F>,
pub fn join_state_into_successors_of<A, 'tcx>(
analysis: &A,
_tcx: TyCtxt<'tcx>,
_body: &Body<'tcx>,
dead_unwinds: Option<&BitSet<BasicBlock>>,
exit_state: &mut A::Domain,
(bb, bb_data): (BasicBlock, &BasicBlockData<'tcx>),
mut propagate: impl FnMut(BasicBlock, &A::Domain)
) where
A: Analysis<'tcx>,
[src]
analysis: &A,
_tcx: TyCtxt<'tcx>,
_body: &Body<'tcx>,
dead_unwinds: Option<&BitSet<BasicBlock>>,
exit_state: &mut A::Domain,
(bb, bb_data): (BasicBlock, &BasicBlockData<'tcx>),
mut propagate: impl FnMut(BasicBlock, &A::Domain)
) where
A: Analysis<'tcx>,
pub fn is_backward() -> bool
[src]
Auto Trait Implementations
impl RefUnwindSafe for Forward
[src]
impl Send for Forward
[src]
impl Sync for Forward
[src]
impl Unpin for Forward
[src]
impl UnwindSafe for Forward
[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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.