[−][src]Struct rustc_mir::dataflow::framework::engine::Results
A dataflow analysis that has converged to fixpoint.
Fields
analysis: Aentry_sets: IndexVec<BasicBlock, A::Domain>Implementations
impl<A, 'tcx> Results<'tcx, A> where
A: Analysis<'tcx>, [src]
A: Analysis<'tcx>,
pub fn into_results_cursor<'mir>(
self,
body: &'mir Body<'tcx>
) -> ResultsCursor<'mir, 'tcx, A>[src]
self,
body: &'mir Body<'tcx>
) -> ResultsCursor<'mir, 'tcx, A>
Creates a ResultsCursor that can inspect these Results.
pub fn entry_set_for_block(&self, block: BasicBlock) -> &A::Domain[src]
Gets the dataflow state for the given block.
pub fn visit_with<'mir>(
&self,
body: &'mir Body<'tcx>,
blocks: impl IntoIterator<Item = BasicBlock>,
vis: &mut impl ResultsVisitor<'mir, 'tcx, FlowState = A::Domain>
)[src]
&self,
body: &'mir Body<'tcx>,
blocks: impl IntoIterator<Item = BasicBlock>,
vis: &mut impl ResultsVisitor<'mir, 'tcx, FlowState = A::Domain>
)
pub fn visit_reachable_with<'mir>(
&self,
body: &'mir Body<'tcx>,
vis: &mut impl ResultsVisitor<'mir, 'tcx, FlowState = A::Domain>
)[src]
&self,
body: &'mir Body<'tcx>,
vis: &mut impl ResultsVisitor<'mir, 'tcx, FlowState = A::Domain>
)
Trait Implementations
impl<'tcx, A> ResultsVisitable<'tcx> for Results<'tcx, A> where
A: Analysis<'tcx>, [src]
A: Analysis<'tcx>,
type FlowState = A::Domain
type Direction = A::Direction
pub fn new_flow_state(&self, body: &Body<'tcx>) -> Self::FlowState[src]
pub fn reset_to_block_entry(
&self,
state: &mut Self::FlowState,
block: BasicBlock
)[src]
&self,
state: &mut Self::FlowState,
block: BasicBlock
)
pub fn reconstruct_before_statement_effect(
&self,
state: &mut Self::FlowState,
stmt: &Statement<'tcx>,
loc: Location
)[src]
&self,
state: &mut Self::FlowState,
stmt: &Statement<'tcx>,
loc: Location
)
pub fn reconstruct_statement_effect(
&self,
state: &mut Self::FlowState,
stmt: &Statement<'tcx>,
loc: Location
)[src]
&self,
state: &mut Self::FlowState,
stmt: &Statement<'tcx>,
loc: Location
)
pub fn reconstruct_before_terminator_effect(
&self,
state: &mut Self::FlowState,
term: &Terminator<'tcx>,
loc: Location
)[src]
&self,
state: &mut Self::FlowState,
term: &Terminator<'tcx>,
loc: Location
)
pub fn reconstruct_terminator_effect(
&self,
state: &mut Self::FlowState,
term: &Terminator<'tcx>,
loc: Location
)[src]
&self,
state: &mut Self::FlowState,
term: &Terminator<'tcx>,
loc: Location
)
Auto Trait Implementations
impl<'tcx, A> RefUnwindSafe for Results<'tcx, A> where
A: RefUnwindSafe,
<A as AnalysisDomain<'tcx>>::Domain: RefUnwindSafe,
A: RefUnwindSafe,
<A as AnalysisDomain<'tcx>>::Domain: RefUnwindSafe,
impl<'tcx, A> Send for Results<'tcx, A> where
A: Send,
<A as AnalysisDomain<'tcx>>::Domain: Send,
A: Send,
<A as AnalysisDomain<'tcx>>::Domain: Send,
impl<'tcx, A> Sync for Results<'tcx, A> where
A: Sync,
<A as AnalysisDomain<'tcx>>::Domain: Sync,
A: Sync,
<A as AnalysisDomain<'tcx>>::Domain: Sync,
impl<'tcx, A> Unpin for Results<'tcx, A> where
A: Unpin,
<A as AnalysisDomain<'tcx>>::Domain: Unpin,
A: Unpin,
<A as AnalysisDomain<'tcx>>::Domain: Unpin,
impl<'tcx, A> UnwindSafe for Results<'tcx, A> where
A: UnwindSafe,
<A as AnalysisDomain<'tcx>>::Domain: UnwindSafe,
A: UnwindSafe,
<A as AnalysisDomain<'tcx>>::Domain: UnwindSafe,
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.