Skip to main content

terminator_use_def

Function terminator_use_def 

Source
pub fn terminator_use_def<'tcx>(terminator: &Terminator<'tcx>) -> DefUse
Expand description

Collect definitions and uses for one MIR terminator.

Ordinary calls are handled by the slicer’s call visitor. Tail calls also expose their return place and operand uses here for generic consumers.