[−][src]Struct rustc_mir::transform::check_consts::resolver::FlowSensitiveAnalysis

pub(in transform::check_consts) struct FlowSensitiveAnalysis<'a, 'mir, 'tcx, Q> {
    ccx: &'a ConstCx<'mir, 'tcx>,
    _qualif: PhantomData<Q>,
}

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]

pub(in transform::check_consts) fn new(
    _: Q,
    ccx: &'a ConstCx<'mir, 'tcx>
) -> Self
[src]

pub(in transform::check_consts::resolver) fn transfer_function(
    &self,
    state: &'a mut BitSet<Local>
) -> TransferFunction<'a, 'mir, 'tcx, Q>
[src]

Trait Implementations

impl<Q, 'tcx, '_, '_> Analysis<'tcx> for FlowSensitiveAnalysis<'_, '_, 'tcx, Q> where
    Q: Qualif, 
[src]

impl<Q, 'tcx, '_, '_> AnalysisDomain<'tcx> for FlowSensitiveAnalysis<'_, '_, 'tcx, Q> where
    Q: Qualif, 
[src]

type Domain = BitSet<Local>

The type that holds the dataflow state at any given point in the program.

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, 

impl<'a, 'mir, 'tcx, Q> !UnwindSafe for FlowSensitiveAnalysis<'a, 'mir, 'tcx, Q>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized, 
[src]

impl<T> Borrow<T> for T where
    T: ?Sized, 
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> WithConstness for T[src]