Skip to main content

Module ghost_statements

Module ghost_statements 

Source
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ยง

GhostStatements ๐Ÿ”’
StatementsAt ๐Ÿ”’

Enumsยง

CheckerId
A type to indicate who the ghost statements are for: either a regular DefId (including closures) a promoted body.
GhostStatement ๐Ÿ”’
Point ๐Ÿ”’
A point in the control flow graph where ghost statements can be inserted.

Functionsยง

all_nested_bodies ๐Ÿ”’
compute_ghost_statements ๐Ÿ”’

Type Aliasesยง

EdgeMap ๐Ÿ”’
LocationMap ๐Ÿ”’