Expand description
Copies of the relevant MIR types. MIR represents a rust (function) body as a CFG. It’s a
semantically rich representation that contains no high-level control-flow operations like loops
or patterns; instead the control flow is entirely described by gotos and switches on integer
values.
Re-exports§
pub use mir_kinds::IsMirKind;
Modules§
- mir_
kinds - Enumerates the kinds of Mir bodies. TODO: use const generics instead of an open list of types.
Structs§
- Const
Operand - The contents of
Operand::Const. - Field
Idx - The source-order index of a field in a variant.
Enums§
Functions§
- get_
promoted_ mir - Retrieve the MIR for a promoted body.
- name_
of_ local - translate_
mir_ 🔒const - Translate a MIR constant.