Skip to main content

Module value_analysis

Module value_analysis 

Source

Re-exportsยง

use std::debug_assert_matches; ๐Ÿ”’
use std::fmt::Debug; ๐Ÿ”’
use std::fmt::Debug; ๐Ÿ”’
use std::fmt::Formatter; ๐Ÿ”’
use std::ops::Range; ๐Ÿ”’
use rustc_abi::FieldIdx; ๐Ÿ”’
use rustc_abi::VariantIdx; ๐Ÿ”’
use rustc_data_structures::fx::FxHashMap; ๐Ÿ”’
use rustc_data_structures::fx::FxIndexSet; ๐Ÿ”’
use rustc_data_structures::fx::StdEntry; ๐Ÿ”’
use rustc_index::IndexVec; ๐Ÿ”’
use rustc_index::bit_set::GrowableBitSet; ๐Ÿ”’
use rustc_middle::mir::visit::PlaceContext; ๐Ÿ”’
use rustc_middle::mir::visit::Visitor; ๐Ÿ”’
use rustc_middle::ty; ๐Ÿ”’
use rustc_middle::ty::Ty; ๐Ÿ”’
use rustc_middle::ty::TyCtxt; ๐Ÿ”’
use rustc_middle::ty::Unnormalized; ๐Ÿ”’
use tracing::debug; ๐Ÿ”’
use crate::JoinSemiLattice; ๐Ÿ”’
use crate::lattice::HasBottom; ๐Ÿ”’
use crate::lattice::HasTop; ๐Ÿ”’
use rustc_middle::mir::*; ๐Ÿ”’

Structsยง

Children ๐Ÿ”’
Map
Partial mapping from Place to PlaceIndex, where some places also have a ValueIndex.
PlaceCollector ๐Ÿ”’
PlaceIndex
This index uniquely identifies a place.
PlaceInfo ๐Ÿ”’
This is the information tracked for every PlaceIndex and is stored by Map.
StateData
See State.
ValueIndex
This index uniquely identifies a tracked place and therefore a slot in State.

Enumsยง

PlaceCollectionMode
State
Dataflow state.
TrackElem
The set of projection elements that can be used by a tracked place.
ValueOrPlace
Used as the result of an operand or r-value.

Functionsยง

debug_with_context
debug_with_context_rec ๐Ÿ”’
excluded_locals
Returns all locals with projections that have their reference or address taken.
iter_fields
Invokes f on all direct fields of ty.