Struct rustc_const_eval::transform::check_consts::resolver::FlowSensitiveAnalysis[][src]

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

Updates the current dataflow state with the effect of evaluating a statement.

Updates the current dataflow state with the effect of evaluating a terminator. Read more

Updates the current dataflow state with the effect of a successful return from a Call terminator. Read more

Updates the current dataflow state with an effect that occurs immediately before the given statement. Read more

Updates the current dataflow state with an effect that occurs immediately before the given terminator. Read more

Updates the current dataflow state with the effect of resuming from a Yield terminator. Read more

Updates the current dataflow state with the effect of taking a particular branch in a SwitchInt terminator. Read more

Creates an Engine to find the fixpoint for this dataflow problem. Read more

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

A descriptive name for this analysis. Used only for debugging. Read more

The initial value of the dataflow state upon entry to each basic block.

Mutates the initial value of the dataflow state upon entry to the START_BLOCK. Read more

The direction of this analysis. Either Forward or Backward.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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