Expand description
Ghost statements are statements that are not part of the original mir, but are added from information extracted from the compiler or some additional analysis.
Re-exportsยง
use std::fmt;๐use std::iter;๐use flux_common::bug;๐use flux_common::bug;๐use flux_middle::global_env::GlobalEnv;๐use flux_middle::queries::QueryResult;๐use flux_rustc_bridge::lowering;๐use flux_rustc_bridge::mir::BasicBlock;๐use flux_rustc_bridge::mir::Body;๐use flux_rustc_bridge::mir::BodyRoot;๐use flux_rustc_bridge::mir::Place;๐use rustc_data_structures::unord::UnordMap;๐use rustc_hash::FxHashMap;๐use rustc_hash::FxHashSet;๐use rustc_hir::def::DefKind;๐use rustc_hir::def_id::LocalDefId;๐use rustc_middle::mir::BorrowKind;๐use rustc_middle::mir::Location;๐use rustc_middle::mir::Promoted;๐use rustc_middle::mir::START_BLOCK;๐use rustc_middle::ty::TyCtxt;๐
Modulesยง
- fold_
unfold ๐ - points_
to ๐ - This module implements a points-to analysis for mutable references.
Structsยง
- Ghost
Statements ๐ - Statements
At ๐
Enumsยง
- Checker
Id - A type to indicate who the ghost statements are for: either a regular
DefId(including closures) a promoted body. - Ghost
Statement ๐ - Point ๐
- A point in the control flow graph where ghost statements can be inserted.
Functionsยง
- all_
nested_ ๐bodies - compute_
ghost_ ๐statements
Type Aliasesยง
- EdgeMap ๐
- Location
Map ๐