[−][src]Trait rustc_mir::dataflow::ResultsVisitor
Associated Types
Loading content...Provided methods
pub fn visit_block_start(
&mut self,
_state: &Self::FlowState,
_block_data: &'mir BasicBlockData<'tcx>,
_block: BasicBlock
)[src]
&mut self,
_state: &Self::FlowState,
_block_data: &'mir BasicBlockData<'tcx>,
_block: BasicBlock
)
pub fn visit_statement_before_primary_effect(
&mut self,
_state: &Self::FlowState,
_statement: &'mir Statement<'tcx>,
_location: Location
)[src]
&mut self,
_state: &Self::FlowState,
_statement: &'mir Statement<'tcx>,
_location: Location
)
Called with the before_statement_effect of the given statement applied to state but not
its statement_effect.
pub fn visit_statement_after_primary_effect(
&mut self,
_state: &Self::FlowState,
_statement: &'mir Statement<'tcx>,
_location: Location
)[src]
&mut self,
_state: &Self::FlowState,
_statement: &'mir Statement<'tcx>,
_location: Location
)
Called with both the before_statement_effect and the statement_effect of the given
statement applied to state.
pub fn visit_terminator_before_primary_effect(
&mut self,
_state: &Self::FlowState,
_terminator: &'mir Terminator<'tcx>,
_location: Location
)[src]
&mut self,
_state: &Self::FlowState,
_terminator: &'mir Terminator<'tcx>,
_location: Location
)
Called with the before_terminator_effect of the given terminator applied to state but not
its terminator_effect.
pub fn visit_terminator_after_primary_effect(
&mut self,
_state: &Self::FlowState,
_terminator: &'mir Terminator<'tcx>,
_location: Location
)[src]
&mut self,
_state: &Self::FlowState,
_terminator: &'mir Terminator<'tcx>,
_location: Location
)
Called with both the before_terminator_effect and the terminator_effect of the given
terminator applied to state.
The call_return_effect (if one exists) will not be applied to state.
pub fn visit_block_end(
&mut self,
_state: &Self::FlowState,
_block_data: &'mir BasicBlockData<'tcx>,
_block: BasicBlock
)[src]
&mut self,
_state: &Self::FlowState,
_block_data: &'mir BasicBlockData<'tcx>,
_block: BasicBlock
)
Implementors
impl<'cx, 'tcx> ResultsVisitor<'cx, 'tcx> for MirBorrowckCtxt<'cx, 'tcx>[src]
type FlowState = Flows<'cx, 'tcx>
pub fn visit_statement_before_primary_effect(
&mut self,
flow_state: &Flows<'cx, 'tcx>,
stmt: &'cx Statement<'tcx>,
location: Location
)[src]
&mut self,
flow_state: &Flows<'cx, 'tcx>,
stmt: &'cx Statement<'tcx>,
location: Location
)
pub fn visit_terminator_before_primary_effect(
&mut self,
flow_state: &Flows<'cx, 'tcx>,
term: &'cx Terminator<'tcx>,
loc: Location
)[src]
&mut self,
flow_state: &Flows<'cx, 'tcx>,
term: &'cx Terminator<'tcx>,
loc: Location
)
pub fn visit_terminator_after_primary_effect(
&mut self,
flow_state: &Flows<'cx, 'tcx>,
term: &'cx Terminator<'tcx>,
loc: Location
)[src]
&mut self,
flow_state: &Flows<'cx, 'tcx>,
term: &'cx Terminator<'tcx>,
loc: Location
)
impl<'mir, 'tcx, '_> ResultsVisitor<'mir, 'tcx> for StorageConflictVisitor<'mir, 'tcx, '_>[src]
type FlowState = BitSet<Local>
pub fn visit_statement_before_primary_effect(
&mut self,
state: &Self::FlowState,
_statement: &'mir Statement<'tcx>,
loc: Location
)[src]
&mut self,
state: &Self::FlowState,
_statement: &'mir Statement<'tcx>,
loc: Location
)
pub fn visit_terminator_before_primary_effect(
&mut self,
state: &Self::FlowState,
_terminator: &'mir Terminator<'tcx>,
loc: Location
)[src]
&mut self,
state: &Self::FlowState,
_terminator: &'mir Terminator<'tcx>,
loc: Location
)
impl<A, 'tcx, 'a> ResultsVisitor<'a, 'tcx> for StateDiffCollector<'a, 'tcx, A> where
A: Analysis<'tcx>,
A::Domain: DebugWithContext<A>, [src]
A: Analysis<'tcx>,
A::Domain: DebugWithContext<A>,
type FlowState = A::Domain
pub fn visit_block_start<'mir>(
&mut self,
state: &Self::FlowState,
_block_data: &'mir BasicBlockData<'tcx>,
_block: BasicBlock
)[src]
&mut self,
state: &Self::FlowState,
_block_data: &'mir BasicBlockData<'tcx>,
_block: BasicBlock
)
pub fn visit_block_end<'mir>(
&mut self,
state: &Self::FlowState,
_block_data: &'mir BasicBlockData<'tcx>,
_block: BasicBlock
)[src]
&mut self,
state: &Self::FlowState,
_block_data: &'mir BasicBlockData<'tcx>,
_block: BasicBlock
)
pub fn visit_statement_before_primary_effect<'mir>(
&mut self,
state: &Self::FlowState,
_statement: &'mir Statement<'tcx>,
_location: Location
)[src]
&mut self,
state: &Self::FlowState,
_statement: &'mir Statement<'tcx>,
_location: Location
)
pub fn visit_statement_after_primary_effect<'mir>(
&mut self,
state: &Self::FlowState,
_statement: &'mir Statement<'tcx>,
_location: Location
)[src]
&mut self,
state: &Self::FlowState,
_statement: &'mir Statement<'tcx>,
_location: Location
)
pub fn visit_terminator_before_primary_effect<'mir>(
&mut self,
state: &Self::FlowState,
_terminator: &'mir Terminator<'tcx>,
_location: Location
)[src]
&mut self,
state: &Self::FlowState,
_terminator: &'mir Terminator<'tcx>,
_location: Location
)
pub fn visit_terminator_after_primary_effect<'mir>(
&mut self,
state: &Self::FlowState,
_terminator: &'mir Terminator<'tcx>,
_location: Location
)[src]
&mut self,
state: &Self::FlowState,
_terminator: &'mir Terminator<'tcx>,
_location: Location
)