pub(super) struct FlowSensitiveAnalysis<'a, 'mir, 'tcx, Q> {
ccx: &'a ConstCx<'mir, 'tcx>,
_qualif: PhantomData<Q>,
}Expand description
The dataflow analysis used to propagate qualifs on arbitrary CFGs.
Fields
ccx: &'a ConstCx<'mir, 'tcx>_qualif: PhantomData<Q>Implementations
Trait Implementations
fn apply_statement_effect(
&self,
state: &mut Self::Domain,
statement: &Statement<'tcx>,
location: Location
)
fn apply_statement_effect(
&self,
state: &mut Self::Domain,
statement: &Statement<'tcx>,
location: Location
)
Updates the current dataflow state with the effect of evaluating a statement.
fn apply_terminator_effect(
&self,
state: &mut Self::Domain,
terminator: &Terminator<'tcx>,
location: Location
)
fn apply_terminator_effect(
&self,
state: &mut Self::Domain,
terminator: &Terminator<'tcx>,
location: Location
)
Updates the current dataflow state with the effect of evaluating a terminator. Read more
fn apply_call_return_effect(
&self,
state: &mut Self::Domain,
block: BasicBlock,
return_places: CallReturnPlaces<'_, 'tcx>
)
fn apply_call_return_effect(
&self,
state: &mut Self::Domain,
block: BasicBlock,
return_places: CallReturnPlaces<'_, 'tcx>
)
Updates the current dataflow state with the effect of a successful return from a Call
terminator. Read more
fn apply_before_statement_effect(
&self,
_state: &mut Self::Domain,
_statement: &Statement,
_location: Location
)
fn apply_before_statement_effect(
&self,
_state: &mut Self::Domain,
_statement: &Statement,
_location: Location
)
Updates the current dataflow state with an effect that occurs immediately before the given statement. Read more
fn apply_before_terminator_effect(
&self,
_state: &mut Self::Domain,
_terminator: &Terminator,
_location: Location
)
fn apply_before_terminator_effect(
&self,
_state: &mut Self::Domain,
_terminator: &Terminator,
_location: Location
)
Updates the current dataflow state with an effect that occurs immediately before the given terminator. Read more
fn apply_yield_resume_effect(
&self,
_state: &mut Self::Domain,
_resume_block: BasicBlock,
_resume_place: Place
)
fn apply_yield_resume_effect(
&self,
_state: &mut Self::Domain,
_resume_block: BasicBlock,
_resume_place: Place
)
Updates the current dataflow state with the effect of resuming from a Yield terminator. Read more
fn apply_switch_int_edge_effects(
&self,
_block: BasicBlock,
_discr: &Operand,
_apply_edge_effects: &mut impl SwitchIntEdgeEffects<Self::Domain>
)
fn apply_switch_int_edge_effects(
&self,
_block: BasicBlock,
_discr: &Operand,
_apply_edge_effects: &mut impl SwitchIntEdgeEffects<Self::Domain>
)
Updates the current dataflow state with the effect of taking a particular branch in a
SwitchInt terminator. Read more
impl<'tcx, Q> AnalysisDomain<'tcx> for FlowSensitiveAnalysis<'_, '_, 'tcx, Q> where
Q: Qualif,
impl<'tcx, Q> AnalysisDomain<'tcx> for FlowSensitiveAnalysis<'_, '_, 'tcx, Q> where
Q: Qualif,
Auto Trait Implementations
impl<'a, 'mir, 'tcx, Q> !RefUnwindSafe for FlowSensitiveAnalysis<Q>
impl<'a, 'mir, 'tcx, Q> !Send for FlowSensitiveAnalysis<Q>
impl<'a, 'mir, 'tcx, Q> !Sync for FlowSensitiveAnalysis<Q>
impl<'a, 'mir, 'tcx, Q> Unpin for FlowSensitiveAnalysis<Q> where
Q: Unpin,
'mir: 'a,
'tcx: 'a,
impl<'a, 'mir, 'tcx, Q> !UnwindSafe for FlowSensitiveAnalysis<Q>
Blanket Implementations
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 8 bytes