[−][src]Struct rustc_codegen_ssa::mir::analyze::LocalAnalyzer

pub(in mir::analyze) struct LocalAnalyzer<'mir, 'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> {
    fx: &'mir FunctionCx<'a, 'tcx, Bx>,
    dominators: Dominators<BasicBlock>,
    non_ssa_locals: BitSet<Local>,
    first_assignment: IndexVec<Local, Location>,
}

Fields

fx: &'mir FunctionCx<'a, 'tcx, Bx>dominators: Dominators<BasicBlock>non_ssa_locals: BitSet<Local>first_assignment: IndexVec<Local, Location>

Implementations

impl<Bx: BuilderMethods<'a, 'tcx>, 'a, 'tcx, 'mir> LocalAnalyzer<'mir, 'a, 'tcx, Bx>[src]

pub(in mir::analyze) fn new(
    fx: &'mir FunctionCx<'a, 'tcx, Bx>
) -> Self
[src]

pub(in mir::analyze) fn first_assignment(
    &self,
    local: Local
) -> Option<Location>
[src]

pub(in mir::analyze) fn not_ssa(
    &mut self,
    local: Local
)
[src]

pub(in mir::analyze) fn assign(
    &mut self,
    local: Local,
    location: Location
)
[src]

pub(in mir::analyze) fn process_place(
    &mut self,
    place_ref: &PlaceRef<'tcx>,
    context: PlaceContext,
    location: Location
)
[src]

Trait Implementations

impl<'mir, 'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> Visitor<'tcx> for LocalAnalyzer<'mir, 'a, 'tcx, Bx>[src]

Auto Trait Implementations

impl<'mir, 'a, 'tcx, Bx> !RefUnwindSafe for LocalAnalyzer<'mir, 'a, 'tcx, Bx>

impl<'mir, 'a, 'tcx, Bx> !Send for LocalAnalyzer<'mir, 'a, 'tcx, Bx>

impl<'mir, 'a, 'tcx, Bx> !Sync for LocalAnalyzer<'mir, 'a, 'tcx, Bx>

impl<'mir, 'a, 'tcx, Bx> Unpin for LocalAnalyzer<'mir, 'a, 'tcx, Bx> where
    'a: 'mir,
    'tcx: 'mir, 

impl<'mir, 'a, 'tcx, Bx> !UnwindSafe for LocalAnalyzer<'mir, 'a, 'tcx, Bx>

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.