Module visitor

Module visitor 

Source
Expand description

Backward path visitor โ€” walks a finite path backward from a checkpoint and keeps only MIR items that can affect the required property.

The def-use layer lives in super::super::def_use; this module focuses on the path-level control flow decisions: calls, SCC exits, and path-condition branches.

Structsยง

BackwardSlicer
Entry point for backward path visiting.

Functionsยง

collect_statement_uses ๐Ÿ”’
Collect all place-uses for a statement from dataflow edges and operands.
statement_can_refine ๐Ÿ”’
statement_invalidates_relevant ๐Ÿ”’
statement_keep_reason ๐Ÿ”’
terminator_definition_reason ๐Ÿ”’
terminator_is_path_condition ๐Ÿ”’
terminator_may_havoc ๐Ÿ”’
terminator_use_reason ๐Ÿ”’