[−][src]Struct rustc_mir::transform::check_consts::resolver::FlowSensitiveAnalysis
The dataflow analysis used to propagate qualifs on arbitrary CFGs.
Fields
ccx: &'a ConstCx<'mir, 'tcx>_qualif: PhantomData<Q>Implementations
impl<'a, 'mir, 'tcx, Q> FlowSensitiveAnalysis<'a, 'mir, 'tcx, Q> where
Q: Qualif, [src]
Q: Qualif,
pub(in transform::check_consts) fn new(
_: Q,
ccx: &'a ConstCx<'mir, 'tcx>
) -> Self[src]
_: Q,
ccx: &'a ConstCx<'mir, 'tcx>
) -> Self
pub(in transform::check_consts::resolver) fn transfer_function(
&self,
state: &'a mut BitSet<Local>
) -> TransferFunction<'a, 'mir, 'tcx, Q>[src]
&self,
state: &'a mut BitSet<Local>
) -> TransferFunction<'a, 'mir, 'tcx, Q>
Trait Implementations
impl<Q, 'tcx, '_, '_> Analysis<'tcx> for FlowSensitiveAnalysis<'_, '_, 'tcx, Q> where
Q: Qualif, [src]
Q: Qualif,
pub fn apply_statement_effect(
&self,
state: &mut Self::Domain,
statement: &Statement<'tcx>,
location: Location
)[src]
&self,
state: &mut Self::Domain,
statement: &Statement<'tcx>,
location: Location
)
pub fn apply_terminator_effect(
&self,
state: &mut Self::Domain,
terminator: &Terminator<'tcx>,
location: Location
)[src]
&self,
state: &mut Self::Domain,
terminator: &Terminator<'tcx>,
location: Location
)
pub fn apply_call_return_effect(
&self,
state: &mut Self::Domain,
block: BasicBlock,
func: &Operand<'tcx>,
args: &[Operand<'tcx>],
return_place: Place<'tcx>
)[src]
&self,
state: &mut Self::Domain,
block: BasicBlock,
func: &Operand<'tcx>,
args: &[Operand<'tcx>],
return_place: Place<'tcx>
)
pub fn apply_before_statement_effect(
&self,
_state: &mut Self::Domain,
_statement: &Statement<'tcx>,
_location: Location
)[src]
&self,
_state: &mut Self::Domain,
_statement: &Statement<'tcx>,
_location: Location
)
pub fn apply_before_terminator_effect(
&self,
_state: &mut Self::Domain,
_terminator: &Terminator<'tcx>,
_location: Location
)[src]
&self,
_state: &mut Self::Domain,
_terminator: &Terminator<'tcx>,
_location: Location
)
pub fn apply_yield_resume_effect(
&self,
_state: &mut Self::Domain,
_resume_block: BasicBlock,
_resume_place: Place<'tcx>
)[src]
&self,
_state: &mut Self::Domain,
_resume_block: BasicBlock,
_resume_place: Place<'tcx>
)
pub fn apply_switch_int_edge_effects(
&self,
_block: BasicBlock,
_discr: &Operand<'tcx>,
_apply_edge_effects: &mut impl SwitchIntEdgeEffects<Self::Domain>
)[src]
&self,
_block: BasicBlock,
_discr: &Operand<'tcx>,
_apply_edge_effects: &mut impl SwitchIntEdgeEffects<Self::Domain>
)
pub fn into_engine<'mir>(
self,
tcx: TyCtxt<'tcx>,
body: &'mir Body<'tcx>
) -> Engine<'mir, 'tcx, Self> where
Self: Sized, [src]
self,
tcx: TyCtxt<'tcx>,
body: &'mir Body<'tcx>
) -> Engine<'mir, 'tcx, Self> where
Self: Sized,
impl<Q, 'tcx, '_, '_> AnalysisDomain<'tcx> for FlowSensitiveAnalysis<'_, '_, 'tcx, Q> where
Q: Qualif, [src]
Q: Qualif,
type Domain = BitSet<Local>
The type that holds the dataflow state at any given point in the program.
pub const NAME: &'static str[src]
pub fn bottom_value(&self, body: &Body<'tcx>) -> Self::Domain[src]
pub fn initialize_start_block(
&self,
_body: &Body<'tcx>,
state: &mut Self::Domain
)[src]
&self,
_body: &Body<'tcx>,
state: &mut Self::Domain
)
type Direction: Direction = Forward
Auto Trait Implementations
impl<'a, 'mir, 'tcx, Q> !RefUnwindSafe for FlowSensitiveAnalysis<'a, 'mir, 'tcx, Q>
impl<'a, 'mir, 'tcx, Q> !Send for FlowSensitiveAnalysis<'a, 'mir, 'tcx, Q>
impl<'a, 'mir, 'tcx, Q> !Sync for FlowSensitiveAnalysis<'a, 'mir, 'tcx, Q>
impl<'a, 'mir, 'tcx, Q> Unpin for FlowSensitiveAnalysis<'a, 'mir, 'tcx, Q> where
Q: Unpin,
'mir: 'a,
'tcx: 'a,
Q: Unpin,
'mir: 'a,
'tcx: 'a,
impl<'a, 'mir, 'tcx, Q> !UnwindSafe for FlowSensitiveAnalysis<'a, 'mir, 'tcx, Q>
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.