Struct rustc_mir_dataflow::impls::storage_liveness::MaybeStorageLive [−][src]
pub struct MaybeStorageLive {
always_live_locals: AlwaysLiveLocals,
}
Fields
always_live_locals: AlwaysLiveLocals
Implementations
Trait Implementations
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
See Analysis::apply_statement_effect
.
fn terminator_effect(
&self,
_trans: &mut impl GenKill<Self::Idx>,
_: &Terminator<'tcx>,
_: Location
)
fn terminator_effect(
&self,
_trans: &mut impl GenKill<Self::Idx>,
_: &Terminator<'tcx>,
_: Location
)
See Analysis::apply_terminator_effect
.
fn call_return_effect(
&self,
_trans: &mut impl GenKill<Self::Idx>,
_block: BasicBlock,
_func: &Operand<'tcx>,
_args: &[Operand<'tcx>],
_return_place: Place<'tcx>
)
fn call_return_effect(
&self,
_trans: &mut impl GenKill<Self::Idx>,
_block: BasicBlock,
_func: &Operand<'tcx>,
_args: &[Operand<'tcx>],
_return_place: Place<'tcx>
)
See Analysis::apply_call_return_effect
.
See Analysis::apply_before_statement_effect
.
fn before_terminator_effect(
&self,
_trans: &mut impl GenKill<Self::Idx>,
_terminator: &Terminator<'tcx>,
_location: Location
)
fn before_terminator_effect(
&self,
_trans: &mut impl GenKill<Self::Idx>,
_terminator: &Terminator<'tcx>,
_location: Location
)
See Analysis::apply_before_terminator_effect
.
fn yield_resume_effect(
&self,
_trans: &mut impl GenKill<Self::Idx>,
_resume_block: BasicBlock,
_resume_place: Place<'tcx>
)
fn yield_resume_effect(
&self,
_trans: &mut impl GenKill<Self::Idx>,
_resume_block: BasicBlock,
_resume_place: Place<'tcx>
)
See Analysis::apply_yield_resume_effect
.
fn switch_int_edge_effects<G: GenKill<Self::Idx>>(
&self,
_block: BasicBlock,
_discr: &Operand<'tcx>,
_edge_effects: &mut impl SwitchIntEdgeEffects<G>
)
fn switch_int_edge_effects<G: GenKill<Self::Idx>>(
&self,
_block: BasicBlock,
_discr: &Operand<'tcx>,
_edge_effects: &mut impl SwitchIntEdgeEffects<G>
)
See Analysis::apply_switch_int_edge_effects
.
Auto Trait Implementations
impl RefUnwindSafe for MaybeStorageLive
impl Send for MaybeStorageLive
impl Sync for MaybeStorageLive
impl Unpin for MaybeStorageLive
impl UnwindSafe for MaybeStorageLive
Blanket Implementations
Mutably borrows from an owned value. Read more
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: 32 bytes